diff --git a/application/default/views/scripts/index/index.phtml b/application/default/views/scripts/index/index.phtml index 72b16ab6..0c9cc2fb 100755 --- a/application/default/views/scripts/index/index.phtml +++ b/application/default/views/scripts/index/index.phtml @@ -124,7 +124,14 @@
-
list_news[$i]['title'] ?>
+
list_news[$i]['title'])>40) + { + echo mb_substr($this->list_news[$i]['title'],0,40,'utf-8').'...'; + }else{ + echo $this->list_news[$i]['title']; + } + ?>