Index: branches/5.0.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -r12389 -r12495 --- branches/5.0.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 12389) +++ branches/5.0.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 12495) @@ -1,6 +1,6 @@ getObject($params); - if ($object->GetDBField('IsMenu')) { - $status = $object->GetDBField('Status'); - if ($status == 1) { - $ret = $object->GetDBField('IsNew') ? 'icon16_cat_new.gif' : 'icon16_folder.gif'; - } - else { - $ret = $status ? 'icon16_cat_pending.gif' : 'icon16_cat_disabled.gif'; - } + if ($object->GetDBField('IsSystem')) { + return 'icon16_section_system.png'; } - else { - $ret = 'icon16_folder-red.gif'; + + $status = $object->GetDBField('Status'); + if (!$status) { + return 'icon16_section_disabled.png'; } - return $ret; + if (!$object->GetDBField('IsMenu')) { + return 'icon16_section_menuhidden.png'; + } + + if ($status == 2) { + return 'icon16_section_pending.png'; + } + + if ($object->GetDBField('IsNew')) { + return 'icon16_section_new.png'; + } + + return 'icon16_section.png'; } function ItemCount($params) @@ -1167,7 +1175,7 @@
- +
' . $this->Application->Phrase('la_btn_EditContent', false) . ' '.(defined('DEBUG_MODE') && DEBUG_MODE ? " - #{$num}" : '').'
@@ -1447,7 +1455,7 @@ $edit_btn .= '
- +
' . $this->Application->Phrase('la_btn_SectionProperties', false) . '
' . "\n"; @@ -1486,7 +1494,7 @@
- +
' . $this->Application->Phrase('la_btn_SectionTemplate', false) . '
' . "\n";