From 5dc2d77f6d3b50471a194f9b6e78be945cdd1d14 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 27 Sep 2012 09:56:05 +0000 Subject: [PATCH] [-] FO : fixed bug #PSCFV-4414 --- themes/default/category.tpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/themes/default/category.tpl b/themes/default/category.tpl index 87b9eca7d..85b11d2a0 100644 --- a/themes/default/category.tpl +++ b/themes/default/category.tpl @@ -58,8 +58,13 @@ {if $category->description}
+ {if strlen($category->description) > 120} +

{$category->description|truncate:120}

+ + {l s='More'} + {else}

{$category->description}

- {l s='More'} + {/if}
{/if} @@ -113,4 +118,4 @@ {elseif $category->id}

{l s='This category is currently unavailable.'}

{/if} -{/if} \ No newline at end of file +{/if}