+
-
-
-
- {foreach from=$form->fields item=field}
+
+
+
+ {foreach from=$form->fields item=field}
{if ($field->type==='title')}
-
+
| {$field->field} |
-
+
{elseif ($field->type==='subtitle')}
|
@@ -21,21 +21,21 @@
{if (isset($field->showHide) && $field->showHide)}
Hide
{/if}
- |
-
+
+
{elseif ($field->type==='button') || ($field->type==='submit') || ($field->type==='reset')}
-
+
| {$field->field} |
-
+
{elseif ($field->type==='grid')}
-
+
| {$field->field} |
-
+
{elseif ($field->type==='checkbox') && ($field->labelOnRight)}
-
+
|
{$field->field} |
-
+
{elseif ($field->type==='phpvariable')}
{elseif ($field->type==='private')}
{elseif ($field->type==='javascript')}
@@ -43,135 +43,131 @@
{elseif ($field->type==='hidden')}
| {$field->field} |
-
+
{elseif ($field->type==='')}
{elseif ($field->withoutLabel)}
| {$field->field} |
-
+
{elseif (isset($field->withoutValue) && $field->withoutValue)}
{$field->label} |
-
+
{else}
-
+
| {if (isset($field->required)&&$field->required&&$field->mode==='edit')}* {/if}{$field->label} |
-
- width y=$form->labelWidth}" *}>{$field->field} |
-
+ width y=$form->labelWidth}" *}>{$field->field} |
+
{/if}
- {/foreach}
-
+ {/foreach}
+
|
{if $hasRequiredFields}
* {php}echo (G::LoadTranslation('ID_REQUIRED_FIELD'));{/php}
{/if}
-