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

39 lines
986 B
HTML
Executable File

{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>
{php}$this->assign('cols', 0);{/php}
{foreach from=$form->fields item=field index=abc}
{if ($field->type!='private')}
<td>
{if ($field->type==='javascript')}
{elseif ($field->type==='phpvariable')}
{elseif ($field->type==='')}
{else}
{* elseif ($field->type==='link') || ($field->type==='menu') *}{$field->field}{/if}
</td>
{/if}
{/foreach}
{php}
//This will add registered HTML toolbar options from plugins
$oPluginRegistry =& PMPluginRegistry::getSingleton();
$oPluginRegistry->getToolbarOptions("NORMAL");
{/php}
</tr>
</table>
</td>
</tr>
</table>
{foreach from=$form->fields item=field}
{if ($field->type==='javascript')}
<script type="text/javascript">
{$field->field}
</script>
{/if}
{/foreach}
{/if}