Changeset 1524:913f5a36bbb0 for inc/admin/class.dc.filter.php
- Timestamp:
- 08/22/13 16:37:27 (12 years ago)
- Branch:
- twig
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/class.dc.filter.php
r1517 r1524 136 136 array())) 137 137 ->addField ( 138 new dcFieldSubmit($p.'add',__('Add this filter'), 139 array())) 138 new dcFieldSubmit($p.'add',' + ', 139 array( 140 'attr' => array('title' => __('Add this filter'))))) 140 141 ->addField ( 141 142 new dcFieldSubmit($p.'clear_filters',__('Delete all filters'), … … 692 693 */ 693 694 public function appendFilterContext($ctx) { 694 foreach ($this->field->getValues() as $cur => $f) { 695 $cur=0; 696 foreach ($this->field->getValues() as $k => $f) { 695 697 /* 696 698 * each line of context has the following properties : … … 714 716 $this->appendContextLine($line,$cur); 715 717 $ctx[]=$line; 718 $cur++; 716 719 } 717 720 } … … 779 782 public function getFields() { 780 783 return $this->field; 784 } 785 786 public function getAppliedValues() { 787 return $this->avalues; 781 788 } 782 789 }
Note: See TracChangeset
for help on using the changeset viewer.