{foreach from=$form->fields item=field}
{if (strcasecmp($field->colAlign,'left')===0) || ($field->colAlign==='')}
{if ($field->type==='javascript')}
{elseif ($field->type==='phpvariable')}
{elseif ($field->type==='private')}
{elseif ($field->type==='')}
{else}
{* elseif ($field->type==='link') || ($field->type==='menu') *}
{/if}
{/if}
{/foreach}
|
{foreach from=$form->fields item=field}
{if (strcasecmp($field->colAlign,'center')===0)}
{if ($field->type==='javascript')}
{$field->field}
{elseif ($field->type==='phpvariable')}
{elseif ($field->type==='private')}
{elseif ($field->type==='')}
{else}
{* elseif ($field->type==='link') || ($field->type==='menu') *}
{/if}
{/if}
{/foreach}
|
{foreach from=$form->fields item=field}
{if (strcasecmp($field->colAlign,'right')===0)}
{if ($field->type==='javascript')}
{$field->field}
{elseif ($field->type==='phpvariable')}
{elseif ($field->type==='private')}
{elseif ($field->type==='')}
{else}
{* elseif ($field->type==='link') || ($field->type==='menu') *}
{/if}
{/if}
{/foreach}
|