Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -r1617 -r1633 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 1617) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 1633) @@ -971,6 +971,12 @@ return isset($icons[$value]) ? $icons[$value] : $icons['default']; } + /** + * Generates bluebar title + initializes prefixes used on page + * + * @param Array $params + * @return string + */ function SectionTitle($params) { $title_presets = $this->Application->getUnitOption($this->Prefix,'TitlePresets'); @@ -1034,6 +1040,9 @@ } } + $cut_first = getArrayValue($params,'cut_first'); + if( $cut_first && strlen($title) > $cut_first ) $title = substr($title, 0, $cut_first).' ...'; + return $title; }