Index: trunk/themes/default2007/platform/designs/categories.tpl =================================================================== diff -u -N -r8496 -r8506 --- trunk/themes/default2007/platform/designs/categories.tpl (.../categories.tpl) (revision 8496) +++ trunk/themes/default2007/platform/designs/categories.tpl (.../categories.tpl) (revision 8506) @@ -1,6 +1,6 @@ - +
@@ -12,19 +12,14 @@ " class="text-title"> (: ) - - img/icon_hot.gif" alt=""/> + img/icon_new.gif" alt=""/> - img/icon_popular.gif" alt=""/> img/icon_pick.gif" alt=""/> - img/icon_favorite.gif" alt=""/> - +
img/s.gif" width="1" height="4" alt="" />
- - - The deadline for the Zend/PHP Conference & Expo 2005 Call For Papers is ending soon, interested speakers should submit session proposals between now - + +
Index: trunk/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r8481 -r8506 --- trunk/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 8481) +++ trunk/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 8506) @@ -19,18 +19,28 @@ function IsNew($params) { - $object =& $this->Application->recallObject($this->getPrefixSpecial(), $this->Prefix, $params); - $ret = $object->GetDBField('IsNew') ? 1 : 0; - return $ret; + $object =& $this->getObject($params); + return $object->GetDBField('IsNew') ? 1 : 0; } function IsPick($params) { - $object =& $this->Application->recallObject($this->getPrefixSpecial(), $this->Prefix, $params); - $ret = $object->GetDBField('EditorsPick') ? 1 : 0; - return $ret; + return $this->IsEditorsPick($params); } + /** + * Returns item's editors pick status (using not formatted value) + * + * @param Array $params + * @return bool + */ + function IsEditorsPick($params) + { + $object =& $this->getObject($params); + + return $object->GetDBField('EditorsPick') == 1; + } + function ItemIcon($params) { // only for categories, not structure