Index: branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php =================================================================== diff -u -r6755 -r6820 --- branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 6755) +++ branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 6820) @@ -105,11 +105,11 @@ $block_params['label'] = addslashes( $this->Application->Phrase($filter_params['label']) ); if (getArrayValue($view_filter,$filter_key)) { $submit = 0; - $status = $group_params['element_type'] == 'checkbox' ? 1 : 2; + $status = $group_params['element_type'] == 'checkbox' ? '[\'img/check_on.gif\']' : '[\'img/menu_dot.gif\']'; } else { $submit = 1; - $status = 0; + $status = 'null'; } $block_params['filter_action'] = 'set_filter("'.$prefix_special.'","'.$filter_key.'","'.$submit.'",'.$params['ajax'].');'; $block_params['filter_status'] = $status; // 1 - checkbox, 2 - radio, 0 - no image @@ -743,10 +743,10 @@ $object =& $this->getObject($params); $field = $params['field']; $saved_value = $object->GetDBField($field); - + $object->SetDBField($field, $this->SearchField($params)); $custom_filter = $this->Application->RecallVar($this->getPrefixSpecial().'_custom_filter'); - + $ret = $this->PredefinedOptions($params); $object->SetDBField($field, $saved_value); return $ret; @@ -1416,11 +1416,11 @@ $field = $this->SelectParam($params, 'field,name'); $ret = 'custom_filters['.$this->getPrefixSpecial().']['.$params['grid'].']['.$field.']['.$params['filter_type'].']'; - + if (isset($params['type'])) { $ret .= '['.$params['type'].']'; } - + return $ret; } @@ -1444,7 +1444,7 @@ } return $ret; } - + return ''; }