Dotclear


Ignore:
Timestamp:
08/22/13 16:37:27 (12 years ago)
Author:
Dsls
Branch:
twig
Message:

columns selection is now functional in admin lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/class.dc.filter.php

    r1517 r1524  
    136136                         array())) 
    137137               ->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'))))) 
    140141               ->addField ( 
    141142                    new dcFieldSubmit($p.'clear_filters',__('Delete all filters'), 
     
    692693     */ 
    693694     public function appendFilterContext($ctx) { 
    694           foreach ($this->field->getValues() as $cur => $f) { 
     695          $cur=0; 
     696          foreach ($this->field->getValues() as $k => $f) { 
    695697               /* 
    696698               * each line of context has the following properties : 
     
    714716               $this->appendContextLine($line,$cur); 
    715717               $ctx[]=$line; 
     718               $cur++; 
    716719          } 
    717720     } 
     
    779782     public function getFields() { 
    780783          return $this->field; 
     784     } 
     785      
     786     public function getAppliedValues() { 
     787          return $this->avalues; 
    781788     } 
    782789} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map