Index: branches/RC/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r10859 -r10870 --- branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 10859) +++ branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 10870) @@ -1408,6 +1408,20 @@ return $ret; } + /** + * Checks, that grid has icons defined and they should be shown + * + * @param Array $params + * @return bool + */ + function UseItemIcons($params) + { + $object =& $this->getObject($params); + + $grids = $this->Application->getUnitOption($this->Prefix, 'Grids'); + return array_key_exists('Icons', $grids[ $params['grid'] ]); + } + function ItemIcon($params) { $object =& $this->getObject($params);