[-] BO : fixed sav display message in hard coded html span #PSTEST-545

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12741 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-01-27 09:33:48 +00:00
parent c7aacb77b5
commit 35e6143f5b
3 changed files with 7 additions and 9 deletions
@@ -101,7 +101,11 @@
{elseif isset($tr.$key) && $key == 'color'}
<div style="float: left; width: 18px; height: 12px; border: 1px solid #996633; background-color: {$tr.$key}; margin-right: 4px;"></div>
{elseif isset($tr.$key)}
{$tr.$key|escape:'htmlall':'UTF-8'}
{if isset($params.maxlength) && Tools::strlen($tr.$key) > $params.maxlength}
<span title="{$tr.$key|escape:'htmlall':'UTF-8'}">{$tr.$key|truncate:$params.maxlength:'...'|escape:'htmlall':'UTF-8'}</span>
{else}
{$tr.$key|escape:'htmlall':'UTF-8'}
{/if}
{else}
--
{/if}