function cat_id($field, $value, $fieldinfo) { if(!$value) $value = $this->cat_id; $publish_str = ''; $string = '