Changeset 1035:e5c9bc267f69 for admin
- Timestamp:
- 11/25/12 15:24:29 (13 years ago)
- Branch:
- default
- Children:
- 1036:4374df1baa97, 1041:ffd8fd14003c
- Location:
- admin
- Files:
-
- 3 added
- 2 edited
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 -
admin/style/default.css
r1021 r1035 1384 1384 background-color: #2373A8; 1385 1385 } 1386 1387 /* jQuery Autocomplete plugin */ 1388 .ac_results { 1389 padding: 0px; 1390 border: 1px dotted #f90; 1391 background-color: white; 1392 overflow: hidden; 1393 z-index: 99999; 1394 } 1395 .ac_results ul { 1396 width: 100%; 1397 list-style-position: outside; 1398 list-style: none; 1399 padding: 0; 1400 margin: 0; 1401 } 1402 .ac_results li { 1403 margin: 0px; 1404 padding: 2px 5px; 1405 cursor: default; 1406 display: block; 1407 font: menu; 1408 font-size: 1em; 1409 line-height: 16px; 1410 overflow: hidden; 1411 } 1412 .ac_loading { 1413 background: transparent url('loader.gif') right center no-repeat; 1414 } 1415 .ac_over { 1416 background-color: #06c; 1417 color: white; 1418 }
Note: See TracChangeset
for help on using the changeset viewer.