diff --git a/admin-dev/themes/default/template/controllers/products/attachments.tpl b/admin-dev/themes/default/template/controllers/products/attachments.tpl index ce41ff831..50d8ae4bd 100644 --- a/admin-dev/themes/default/template/controllers/products/attachments.tpl +++ b/admin-dev/themes/default/template/controllers/products/attachments.tpl @@ -35,7 +35,7 @@ {l s='Filename:'} -
+
{include file="controllers/products/input_text_lang.tpl" languages=$languages input_value=$attachment_name @@ -43,7 +43,7 @@ }
- +
diff --git a/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl b/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl index 3ff9ebfe0..766cf612c 100644 --- a/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl +++ b/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl @@ -24,10 +24,11 @@ *} {foreach from=$languages item=language} -
- - {if isset($maxlength)} - {$maxlength} +
+
+ {if isset($maxchar)} +
+ {$maxchar} {/if} -
- - + {if isset($maxchar)} data-maxchar="{$maxchar}"{/if} + {if isset($maxlength)} maxlength="{$maxlength}"{/if}> + {if isset($maxchar)}
- + {/if} +
+
+ + +
{/foreach} -{if isset($maxlength)} +{if isset($maxchar)} - {/literal} - {/if} - {if isset($input.maxlength)} - {$input.maxlength} - {/if} - -
+ + {/literal} + {/if} + {if isset($input.maxchar)} +
+ {$input.maxchar} + {/if} + + {if isset($input.maxchar)} +
+ {/if} +
+
{/foreach} - {if isset($input.maxlength)} + {if isset($input.maxchar)}