Changeset 1035:e5c9bc267f69 for admin/posts_actions.php
- Timestamp:
- 11/25/12 15:24:29 (13 years ago)
- Branch:
- default
- Children:
- 1036:4374df1baa97, 1041:ffd8fd14003c
- File:
-
- 1 edited
-
admin/posts_actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
admin/posts_actions.php
r1030 r1035 163 163 /* DISPLAY 164 164 -------------------------------------------------------- */ 165 // Get current users list 166 $usersList = ''; 167 if ($action == 'author' && $core->auth->check('admin',$core->blog->id)) { 168 $params = array( 169 'limit' => 100, 170 'order' => 'nb_post DESC' 171 ); 172 $rs = $core->getUsers($params); 173 while ($rs->fetch()) 174 { 175 $usersList .= ($usersList != '' ? ',' : '').'"'.$rs->user_id.'"'; 176 } 177 } 165 178 dcPage::open( 166 179 __('Entries'), 180 '<script type="text/javascript">'."\n". 181 "//<![CDATA[\n". 182 'usersList = ['.$usersList.']'."\n". 183 "\n//]]>\n". 184 "</script>\n". 185 dcPage::jsLoad('js/jquery/jquery.autocomplete.js'). 186 dcPage::jsLoad('js/_posts_actions.js'). 167 187 dcPage::jsMetaEditor(). 168 188 # --BEHAVIOR-- adminBeforePostDelete
Note: See TracChangeset
for help on using the changeset viewer.
