function catid($field, $value, $fieldinfo) { if(!$value) $value = $this->catid; $publish_str = ''; if(defined('IN_ADMIN') && ROUTE_A=='add') $publish_str = " siteid."','".L('publish_to_othor_category')."',1);return false;\" style='color:#B5BFBB'>[".L('publish_to_othor_category')."]"; return ''.$this->categorys[$value]['catname'].$publish_str; }