Тема: Новости (Движок DCMS-Social/Общие вопросы) Angelok0803 (30 Jul 2013 в 03:17) Заходишь в /sys/fnc/output_text.php Вставляешь туда function rez_text4( $text, $maxwords = 70, $maxchar = 250 ){ $sep=\' \'; $sep2=\' &raquo;\'; $words = explode($sep,$text); $char = iconv_strlen($text,\'utf-8\'); if (count($words) > $maxwords){ $text = join($sep, array_slice($words, 0, $maxwords)); } if ( $char > $maxchar ){ $text = iconv_substr( $text, 0, $maxchar, \'utf-8\' ); } return $text.$sep2; } Затем переходишь в /sys/inc/news_main.php И там пишешь Вместо echo output_text($news[\'msg\']).\'<br />\'; Вставляешь это echo rez_text4(output_text($news[\'msg\'])).\'<br />\'; Монстрик (30 Jul 2013 в 03:17) Поиск по форуму для чего http://dcms-social.ru/forum/13/16/6253/ Источник: http://www.dcms-social.ru/forum/13/34/6589/