diff --git a/admin-dev/themes/default/template/controllers/attributes_groups/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/attributes_groups/helpers/form/form.tpl index edc9df86f..35932ec44 100644 --- a/admin-dev/themes/default/template/controllers/attributes_groups/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/attributes_groups/helpers/form/form.tpl @@ -26,9 +26,9 @@ {extends file="helpers/form/form.tpl"} -{block name="end_field_block"} - - {if $input.name == 'public_name'} - {hook h="displayAttributeGroupForm" id_attribute_group=$form_id} - {/if} +{block name="field_block"} + {$smarty.block.parent} + {if $input.name == 'public_name'} + {hook h="displayAttributeGroupForm" id_attribute_group=$form_id} + {/if} {/block} diff --git a/admin-dev/themes/default/template/controllers/carriers/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/carriers/helpers/form/form.tpl index 2fab7894f..ed30d9b61 100644 --- a/admin-dev/themes/default/template/controllers/carriers/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/carriers/helpers/form/form.tpl @@ -38,14 +38,12 @@ {if $input.type == 'select' && $input.name == 'id_tax_rules_group'}
{/if} - {if isset($input.label)} - - {/if} + {$smarty.block.parent} {/block} -{block name="end_field_block"} +{block name="field_block"} + {$smarty.block.parent} {if $input.type == 'select' && $input.name == 'range_behavior'}
{/if} - {/block} diff --git a/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl index d30c38b4b..bdb7fec65 100644 --- a/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl @@ -25,7 +25,8 @@ *} {extends file="helpers/form/form.tpl"} -{block name="end_field_block"} +{block name="description_block"} + {$smarty.block.parent} {if ($input.name == 'groupBox')}

{$input.info_introduction}
@@ -33,5 +34,5 @@ {$input.guest}
{$input.customer}

- {/if} + {/if} {/block} \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/feature_value/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/feature_value/helpers/form/form.tpl index 654ec9221..2bdf11472 100644 --- a/admin-dev/themes/default/template/controllers/feature_value/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/feature_value/helpers/form/form.tpl @@ -25,8 +25,8 @@ *} {extends file="helpers/form/form.tpl"} -{block name="end_field_block"} - +{block name="field_block"} + {$smarty.block.parent} {if $input.name == 'id_feature'} {hook h="displayFeatureValueForm" id_feature_value=$feature_value->id} {/if} diff --git a/admin-dev/themes/default/template/controllers/features/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/features/helpers/form/form.tpl index 46d6a791a..0636bb1ee 100644 --- a/admin-dev/themes/default/template/controllers/features/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/features/helpers/form/form.tpl @@ -25,8 +25,8 @@ *} {extends file="helpers/form/form.tpl"} -{block name="end_field_block"} - +{block name="field_block"} + {$smarty.block.parent} {if $input.name == 'name'} {hook h="displayFeatureForm" id_feature=$form_id} {/if} diff --git a/admin-dev/themes/default/template/controllers/referrers/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/referrers/helpers/form/form.tpl index 4690080f1..15b112b6d 100644 --- a/admin-dev/themes/default/template/controllers/referrers/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/referrers/helpers/form/form.tpl @@ -101,13 +101,11 @@ {/block} -{block name="end_field_block"} - - +{block name="field_block"} + {$smarty.block.parent} {if $input.name == 'request_uri_regexp_not'} {/if} - {/block} {block name="script"} diff --git a/admin-dev/themes/default/template/controllers/scenes/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/scenes/helpers/form/form.tpl index 6d945c0fc..91db85440 100644 --- a/admin-dev/themes/default/template/controllers/scenes/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/scenes/helpers/form/form.tpl @@ -26,11 +26,12 @@ {extends file="helpers/form/form.tpl"} -{block name="end_field_block"} +{block name="input_block"} {if ($input.type == "description")}

{$input.text}

+ {else} + {$smarty.block.parent} {/if} - {/block} {block name="after"} diff --git a/admin-dev/themes/default/template/controllers/webservice/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/webservice/helpers/form/form.tpl index 600fd7838..6c4fada21 100644 --- a/admin-dev/themes/default/template/controllers/webservice/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/webservice/helpers/form/form.tpl @@ -25,53 +25,54 @@ *} {extends file="helpers/form/form.tpl"} -{block name="end_field_block"} +{block name="description_block"} + {$smarty.block.parent} {if $input.type == 'text' && $input.name == 'key'} {/if} - {/block} -{block name="start_field_block"} -
- {if $input.type == 'resources'} -

{l s='Set the resource permissions for this key:'}

- - +{block name="input_block"} + {if $input.type == 'resources'} +

{l s='Set the resource permissions for this key:'}

+
+ + + + + + + + + + + + + + + + + + + + + + {foreach $ressources as $resource_name => $resource} - - - - - - - + + + + + + + - - - - - - - - - - - - {foreach $ressources as $resource_name => $resource} - - - - - - - - - - {/foreach} - -
{l s='Resource'}{l s='View (GET)'}{l s='Modify (PUT)'}{l s='Add (POST)'}{l s='Delete (DELETE)'}{l s='Fast view (HEAD)'}
{l s='Resource'}{l s='View (GET)'}{l s='Modify (PUT)'}{l s='Add (POST)'}{l s='Delete (DELETE)'}{l s='Fast view (HEAD)'}{$resource_name}
{$resource_name}
- {/if} + {/foreach} + + + {else} + {$smarty.block.parent} + {/if} {/block} {block name="script"} diff --git a/admin-dev/themes/default/template/helpers/form/form.tpl b/admin-dev/themes/default/template/helpers/form/form.tpl index 033fc8556..6f5738f45 100644 --- a/admin-dev/themes/default/template/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/helpers/form/form.tpl @@ -68,9 +68,7 @@ {if isset($input.label)}{/if} {/block} {block name="field_block"} - {block name="start_field_block"} -
- {/block} +
{block name="input_block"} {if $input.type == 'text' || $input.type == 'tags'} {if isset($input.lang)} @@ -344,10 +342,8 @@ {/if} {/block} {if isset($input.lang) && isset($languages)}
{/if} - {block name="end_field_block"} -
-
- {/block} +
+
{/block} {if $input.name == 'id_state'}
diff --git a/modules/blockcms/views/templates/admin/_configure/helpers/form/form.tpl b/modules/blockcms/views/templates/admin/_configure/helpers/form/form.tpl index 56cd82f97..4b7a0d956 100644 --- a/modules/blockcms/views/templates/admin/_configure/helpers/form/form.tpl +++ b/modules/blockcms/views/templates/admin/_configure/helpers/form/form.tpl @@ -26,9 +26,7 @@ {extends file="helpers/form/form.tpl"} -{block name="start_field_block"} - -
+{block name="input_block"} {if $input.type == 'cms_blocks'} @@ -97,9 +95,7 @@
{/foreach} {/if} - {/if} - - {if $input.type == 'select_category'} + {elseif $input.type == 'select_category'} {function name=render_select level=0} {foreach $items as $item} @@ -126,10 +122,7 @@ {call render_select items=$categories} {/if} - - {/if} - - {if $input.type == 'cms_pages'} + {elseif $input.type == 'cms_pages'} {assign var=cms value=$input.values} {if isset($cms) && count($cms) > 0} @@ -174,6 +167,8 @@ {else}

{l s='No pages created'}

{/if} + {else} + {$smarty.block.parent} {/if} {/block}