[-] BO : fixed #PSFV-722
This commit is contained in:
+2
-4
@@ -68,13 +68,11 @@
|
||||
<td style="width:40%">{$key|stripslashes}</td>
|
||||
<td>= {*todo : md5 is already calculated in AdminTranslationsController*}
|
||||
{if $key|strlen < $textarea_sized}
|
||||
<input type="text"
|
||||
style="width: 450px"
|
||||
<input type="text" style="width: 450px{if empty($value)};background:#FBB{/if}"
|
||||
name="{if in_array($type, array('front', 'fields'))}{$k}_{$key|md5}{else}{$k}{$key|md5}{/if}"
|
||||
value="{$value|regex_replace:'/"/':'"'|stripslashes}" />
|
||||
{else}
|
||||
<textarea rows="{($key|strlen / $textarea_sized)|intval}"
|
||||
style="width: 450px"
|
||||
<textarea rows="{($key|strlen / $textarea_sized)|intval}" style="width: 450px{if empty($value)};background:#FBB{/if}"
|
||||
name="{if in_array($type, array('front', 'fields'))}{$k}_{$key|md5}{else}{$k}{$key|md5}{/if}"
|
||||
>{$value|regex_replace:'/"/':'"'|stripslashes}</textarea>
|
||||
{/if}
|
||||
|
||||
+2
-2
@@ -88,12 +88,12 @@
|
||||
{capture assign="name"}{strtolower($module_name)}_{strtolower($theme_name)}_{strtolower($template_name)}_{md5($key)}{/capture}
|
||||
{if $key|strlen < $textarea_sized}
|
||||
<input type="text"
|
||||
style="width: 450px"
|
||||
style="width: 450px{if empty($value)};background:#FBB{/if}"
|
||||
name="{$name|md5}"
|
||||
value="{$value|regex_replace:'#"#':'"'|stripslashes}" />
|
||||
{else}
|
||||
<textarea rows="{($key|strlen / $textarea_sized)|intval}"
|
||||
style="width: 450px"
|
||||
style="width: 450px{if empty($value)};background:#FBB{/if}"
|
||||
name="{$name|md5}">{$value|regex_replace:'#"#':'"'|stripslashes}</textarea>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user