Dotclear


Ignore:
Timestamp:
08/20/13 16:32:39 (12 years ago)
Author:
Dsls
Branch:
twig
Message:

formfilters improvement, added applied filters features

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/posts.php

    r1492 r1498  
    158158               'multiple' => true))) 
    159159     ->addFilter(new dcFilterRichCombo( 
    160           'category',__('Category'), __('Category'), 'cat_id', $categories_combo)) 
     160          'category',__('Category'), __('Category'), 'cat_id', $categories_combo,array( 
     161               'multiple' => true))) 
    161162     ->addFilter(new dcFilterRichCombo( 
    162163          'post_status',__('Status'), __('Status'), 'post_status', $status_combo)) 
     
    172173 
    173174$lfetcher = new PostsFetcher($core); 
    174 $lposts = new dcItemList ($core,array('lposts','form-entries'),$filterSet,$lfetcher,'posts_actions.php'); 
     175$lposts = new dcItemList ($core,array('lposts','form-entries'),$lfetcher,'posts_actions.php'); 
     176$lposts->setFilterSet($filterSet); 
    175177$lposts->addTemplate('posts_cols.html.twig'); 
    176178 
Note: See TracChangeset for help on using the changeset viewer.

Sites map