// Rename tpl blocks

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14051 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-03-12 16:33:59 +00:00
parent ffeb21db50
commit 317e28d936
25 changed files with 31 additions and 31 deletions
@@ -44,7 +44,7 @@
{/if}
{/block}
{block name="field_block"}
{block name="field"}
{if $input.type == 'text_customer'}
{if isset($customer)}
<div class="margin-form"><a style="display: block; padding-top: 4px;" href="?tab=AdminCustomers&id_customer={$customer->id}&viewcustomer&token={$tokenCustomer}">{$customer->lastname} {$customer->firstname} ({$customer->email})</a></div>
@@ -33,7 +33,7 @@
{$smarty.block.parent}
{/block}
{block name="field_block"}
{block name="field"}
{if $input.name == 'current_texture'}
<div class="margin-form">
{if isset($imageTextureExists) && $imageTextureExists}
@@ -26,7 +26,7 @@
{extends file="helpers/form/form.tpl"}
{block name="field_block"}
{block name="field"}
{$smarty.block.parent}
{if $input.name == 'public_name'}
{hook h="displayAttributeGroupForm" id_attribute_group=$form_id}
@@ -41,7 +41,7 @@
{$smarty.block.parent}
{/block}
{block name="field_block"}
{block name="field"}
{$smarty.block.parent}
{if $input.type == 'select' && $input.name == 'range_behavior'}
</div>
@@ -25,7 +25,7 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="description_block"}
{block name="description"}
{$smarty.block.parent}
{if ($input.name == 'groupBox')}
<p class="hint" style="display:block; position:relative; display:inline-block;">
@@ -66,7 +66,7 @@
</div>
{/block}
{block name="input_block"}
{block name="input"}
{if $input.type == 'select_category'}
<select name="{$input.name}">
{$input.options.html}
@@ -26,7 +26,7 @@
{extends file="helpers/form/form.tpl"}
{block name="input_block"}
{block name="input"}
{if $input.type == 'select_category'}
<select name="id_parent">
{$input.options.html}
@@ -25,7 +25,7 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="field_block"}
{block name="field"}
{if $input.type == 'address_layout'}
<div class="margin-form">
<div style="float:left">
@@ -25,7 +25,7 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="input_block"}
{block name="input"}
{if $input.type == 'select_theme'}
<select name="{$input.name}" id="{$input.name}" {if isset($input.multiple)}multiple="multiple" {/if}{if isset($input.onchange)}onchange="{$input.onchange}"{/if}>
{foreach $input.options.query AS $option}
@@ -25,7 +25,7 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="field_block"}
{block name="field"}
{$smarty.block.parent}
{if $input.name == 'id_feature'}
{hook h="displayFeatureValueForm" id_feature_value=$feature_value->id}
@@ -25,7 +25,7 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="field_block"}
{block name="field"}
{$smarty.block.parent}
{if $input.name == 'name'}
{hook h="displayFeatureForm" id_feature=$form_id}
@@ -43,7 +43,7 @@
{/block}
{block name="field_block"}
{block name="field"}
{if $input['type'] == 'group_discount_category'}
<div style="{if !$form_id}display:none{/if}">
<script type="text/javascript">
@@ -61,7 +61,7 @@
{/block}
{block name="input_block"}
{block name="input"}
{if $input.type == 'checkboxStatuses'}
{foreach $input.values.query as $value}
{assign var=id_checkbox value=$input.name|cat:'_'|cat:intval($value[$input.values.id])}
@@ -25,7 +25,7 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="input_block"}
{block name="input"}
{if $input.type == 'special'}
<div id="#resultCheckLangPack">
<p id="lang_pack_loading" style="display:none"><img src="../img/admin/{$input.img}" alt="" /> {$input.text}</p>
@@ -34,7 +34,7 @@
{/if}
{/block}
{block name="input_block"}
{block name="input"}
{if $input.type == 'radio' && $input.name == 'combination' && $input.disabled}
<div class="warn">
{l s='This feature can\'t be disabled because this is currently in use.'}
@@ -43,7 +43,7 @@
{$smarty.block.parent}
{/block}
{block name="description_block"}
{block name="description"}
{$smarty.block.parent}
{if $input.type == 'radio' && $input.name == 'combination'}
<ul style="list-style-type:disc;margin:0 0 0 30px;">
@@ -60,7 +60,7 @@
{/if}
{/block}
{block name="field_block"}
{block name="field"}
{$smarty.block.parent}
{if $input.type == 'text' && $input.name == 'ps_cache_fs_directory_depth'}
</div>
@@ -101,7 +101,7 @@
{/block}
{block name="field_block"}
{block name="field"}
{$smarty.block.parent}
{if $input.name == 'request_uri_regexp_not'}
</div>
@@ -26,7 +26,7 @@
{extends file='helpers/form/form.tpl'}
{block name="input_block"}
{block name="input"}
{if $input.type == 'text_customer'}
{$customer->firstname} {$customer->lastname}
<p style="clear: both">
@@ -26,7 +26,7 @@
{extends file="helpers/form/form.tpl"}
{block name="input_block"}
{block name="input"}
{if ($input.type == "description")}
<p>{$input.text}</p>
{else}
@@ -32,7 +32,7 @@
{$smarty.block.parent}
{/block}
{block name="input_block"}
{block name="input"}
{if $input.type == 'theme'}
{foreach $input.values as $theme}
<div class="select_theme {if $theme->id == $fields_value.id_theme_checked}select_theme_choice{/if}" onclick="$(this).find('input').attr('checked', true); $('.select_theme').removeClass('select_theme_choice'); $(this).toggleClass('select_theme_choice');">
@@ -32,7 +32,7 @@
{$smarty.block.parent}
{/block}
{block name="input_block"}
{block name="input"}
{if $input.type == "select_template"}
<div class="translatable">
{foreach $languages as $language}
@@ -65,7 +65,7 @@
{/if}
{/block}
{block name="field_block"}
{block name="field"}
{$smarty.block.parent}
{if $input.type == "select_template"}
</div>
@@ -33,7 +33,7 @@
});
{/block}
{block name="input_block"}
{block name="input"}
{if $input.type == 'latitude'}
<input type="text"
{if isset($input.size)}size="{$input.size}"{/if}
@@ -25,14 +25,14 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="description_block"}
{block name="description"}
{$smarty.block.parent}
{if $input.type == 'text' && $input.name == 'key'}
<input type="button" value="{l s=' Generate! '}" class="button" onclick="gencode(32)" />
{/if}
{/block}
{block name="input_block"}
{block name="input"}
{if $input.type == 'resources'}
<p>{l s='Set the resource permissions for this key:'}</p>
<table border="0" cellspacing="0" cellpadding="0" class="table accesses">
@@ -67,9 +67,9 @@
{block name="label"}
{if isset($input.label)}<label>{$input.label} </label>{/if}
{/block}
{block name="field_block"}
{block name="field"}
<div class="margin-form">
{block name="input_block"}
{block name="input"}
{if $input.type == 'text' || $input.type == 'tags'}
{if isset($input.lang)}
<div class="translatable">
@@ -324,7 +324,7 @@
{/if}
{if isset($input.required) && $input.required && $input.type != 'radio'} <sup>*</sup>{/if}
{/block}{* end block input *}
{block name="description_block"}
{block name="description"}
{if isset($input.desc)}
<p class="preference_description">
{if is_array($input.desc)}
@@ -111,7 +111,7 @@
{$tr.$key|escape:'htmlall':'UTF-8'}
{/if}
{else}
{block name="default_field_block"}--{/block}
{block name="default_field"}--{/block}
{/if}
{if isset($params.suffix)}{$params.suffix}{/if}
{if isset($params.color) && isset($tr.color)}
@@ -26,7 +26,7 @@
{extends file="helpers/form/form.tpl"}
{block name="input_block"}
{block name="input"}
{if $input.type == 'cms_blocks'}