Changeset 764:1f013109b32f for admin
- Timestamp:
- 11/14/11 16:09:59 (14 years ago)
- Branch:
- formfilters
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comments.php
r756 r764 47 47 48 48 # - Limit, sortby and order filter 49 $params = $comment_list->applyFilters($params);50 49 51 50 # Actions combo box … … 80 79 81 80 $core->callBehavior('adminCommentsFilters',$filterSet); 81 $filterSet->setExtra($comment_list); 82 82 83 83 $filterSet->setup($_GET,$_POST); … … 105 105 $core->error->add($e->getMessage()); 106 106 } 107 $filterSet->setExtraData($comment_list->getColumnsForm());108 107 109 108 /* DISPLAY … … 150 149 form::hidden(array('status'),$status). 151 150 form::hidden(array('ip'),preg_replace('/%/','%%',$ip)). 152 $comment_list->getFormFieldsAsHidden().153 151 '</div>'. 154 152 -
admin/posts.php
r756 r764 123 123 $params = new ArrayObject(); 124 124 $params['no_content'] = true; 125 126 # - Limit, sortby and order filter127 $params = $post_list->applyFilters($params);128 125 129 126 $filterSet = new dcFilterSet('posts','posts.php'); … … 152 149 153 150 $core->callBehavior('adminPostsFilters',$filterSet); 151 $filterSet->setExtra($post_list); 154 152 155 153 $filterSet->setup($_GET,$_POST); … … 174 172 } 175 173 176 $filterSet->setExtraData($post_list->getColumnsForm());177 174 178 175 /* DISPLAY … … 191 188 192 189 $filterSet->display(); 193 194 190 # Show posts 195 191 $post_list->display('<form action="posts_actions.php" method="post" id="form-entries">'. … … 204 200 '<input type="submit" value="'.__('ok').'" /></p>'. 205 201 $filterSet->getFormFieldsAsHidden(). 206 $post_list->getFormFieldsAsHidden().207 202 $core->formNonce(). 208 203 '</div>'. 209 204 '</form>' 210 205 ); 211 } 206 207 208 } 209 212 210 213 211 dcPage::helpBlock('core_posts');
Note: See TracChangeset
for help on using the changeset viewer.