{if $printTemplate} {* this is the xmlform template *} {* LEFT MENU *}
{php}$this->assign('cols', 0);{/php} {foreach from=$form->fields item=field index=abc} {if ($field->type!='private')} {/if} {/foreach} {php} //This will add registered HTML toolbar options from plugins $oPluginRegistry =& PMPluginRegistry::getSingleton(); $oPluginRegistry->getToolbarOptions("NORMAL"); {/php}
{if ($field->type==='javascript')} {elseif ($field->type==='phpvariable')} {elseif ($field->type==='')} {else} {* elseif ($field->type==='link') || ($field->type==='menu') *}{$field->field}{/if}
{foreach from=$form->fields item=field} {if ($field->type==='javascript')} {/if} {/foreach} {/if}