Files
luos/workflow/engine/templates/toolbar.html

39 lines
985 B
HTML
Raw Normal View History

2010-12-02 23:34:41 +00:00
{if $printTemplate}
{* this is the xmlform template *}
<table id="{$form->name}" class="toolbarBackground" width='{$form->width}' cellspacing="0" cellpadding="0">
<tr>
{* LEFT MENU *}
<td valign='top' class="pm__toolbar" width='{$form->width}'>
<table>
<tr>
2010-12-02 23:34:41 +00:00
{php}$this->assign('cols', 0);{/php}
{foreach from=$form->fields item=field index=abc}
{if ($field->type!='private')}
<td>
2010-12-02 23:34:41 +00:00
{if ($field->type==='javascript')}
{elseif ($field->type==='phpvariable')}
{elseif ($field->type==='')}
{else}
{* elseif ($field->type==='link') || ($field->type==='menu') *}{$field->field}{/if}
</td>
{/if}
2010-12-02 23:34:41 +00:00
{/foreach}
{php}
//This will add registered HTML toolbar options from plugins
2017-12-04 13:25:35 +00:00
$oPluginRegistry = PMPluginRegistry::getSingleton();
2010-12-02 23:34:41 +00:00
$oPluginRegistry->getToolbarOptions("NORMAL");
{/php}
</tr>
</table>
2010-12-02 23:34:41 +00:00
</td>
</tr>
</table>
{foreach from=$form->fields item=field}
{if ($field->type==='javascript')}
<script type="text/javascript">
{$field->field}
</script>
{/if}
{/foreach}
{/if}