{* System: .multi_actions, a.action *} {*$item->actionToolbar|@vdie*}
actionToolbar.attribs|@html_render_attribs}>
{if $item->actionToolbarIsForm}
{foreach from = $item->actionToolbar.formActions.form item = element} {php} $element = $this->_tpl_vars['element']; $element->setAttribs(array( 'id' => $element->getName() . '-' . $this->_tpl_vars['position'], 'class' => 'tool_' . $element->getName() )); $this->assign('element', $element); {/php}
    {if !($element instanceof Zend_Form_Element_Hidden)}
  • {$element|form_render_label}
  • {$element}
  • {/if}
{/foreach}
{else} {foreach from=$item->actionToolbar.actions item='actionOptions' key='actionName' name='actions'} {php} $attribs = array('href' => '#', 'onclick' => 'return false;', 'class' => 'action btn'); if (is_array($this->_tpl_vars['actionOptions']) && isset($this->_tpl_vars['actionOptions']['attribs'])) { $attribs = array_merge($attribs, (array) $this->_foreach['actions']['attribs']); } $this->assign('actionAttribs', $attribs); $title = (is_array($this->_tpl_vars['actionOptions']) && isset($this->_tpl_vars['actionOptions']['title'])) ? $this->_tpl_vars['actionOptions']['title'] : (string) $this->_tpl_vars['actionOptions']; $this->assign('actionTitle', $title); {/php} {$actionTitle|htmlspecialchars} {/foreach} {/if}