Changeset 1420:82e0840594ac for admin
- Timestamp:
- 08/16/13 21:25:23 (12 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blogs.php
r1416 r1420 92 92 93 93 if (!$show_filters) { 94 echo '<p><a id="filter-control" class="form-control" href="#">'.__('Filter s').'</a></p>';94 echo '<p><a id="filter-control" class="form-control" href="#">'.__('Filter blogs list').'</a></p>'; 95 95 } 96 96 97 97 echo 98 98 '<form action="blogs.php" method="get" id="filters-form">'. 99 '< fieldset class="two-cols"><legend>'.__('Filters').'</legend>'.99 '<h3>'.__('Filter blogs list').'</h3>'. 100 100 101 '<div class="col">'. 102 '<p><label for="sortby">'.__('Order by:').' '. 103 form::combo('sortby',$sortby_combo,html::escapeHTML($sortby)). 104 '</label> '. 105 '<label for="order">'.__('Sort:').' '. 106 form::combo('order',$order_combo,html::escapeHTML($order)). 107 '</label></p>'. 101 '<div class="table">'. 102 '<div class="cell">'. 103 '<p><label for="q" class="ib">'.__('Search:').'</label> '. 104 form::field('q',20,255,html::escapeHTML($q)).'</p>'. 108 105 '</div>'. 109 106 110 '<div class="c ol">'.111 '<p><label for=" q">'.__('Search:').''.112 form:: field('q',20,255,html::escapeHTML($q)).113 '< /label></p>'.114 '<p><label for="nb" class="classic">'. form::field('nb',3,3,$nb_per_page).''.115 __('Blogs per page').'</label> '.116 '<input type="submit" value="'.__('Apply filters').'" /></p>'.107 '<div class="cell filters-options">'. 108 '<p><label for="sortby" class="ib">'.__('Order by:').'</label> '. 109 form::combo('sortby',$sortby_combo,html::escapeHTML($sortby)).'</p>'. 110 '<p><label for="order" class="ib">'.__('Sort:').'</label> '. 111 form::combo('order',$order_combo,html::escapeHTML($order)).'</p>'. 112 '<p><span class="label ib">Afficher</span> <label for="nb" class="classic">'. 113 form::field('nb',3,3,$nb_per_page).' '.__('blogs per page').'</label></p>'. 117 114 '</div>'. 115 '</div>'. 116 117 '<p class="no-margin"><input type="submit" value="'.__('Apply filters').'" /></p>'. 118 118 119 119 '<br class="clear" />'. //Opera sucks 120 '</fieldset>'.121 120 '</form>'; 122 121 -
admin/comments.php
r1358 r1420 183 183 unset($_SESSION['comments_del_spam']); 184 184 } 185 186 # Filters187 if (!$show_filters) {188 echo '<p><a id="filter-control" class="form-control" href="#">'.189 __('Filters').'</a></p>';190 }191 192 echo193 '<form action="comments.php" method="get" id="filters-form">'.194 '<fieldset><legend>'.__('Filters').'</legend>'.195 '<div class="three-cols">'.196 '<div class="col">'.197 '<label for="type">'.__('Type:').' '.198 form::combo('type',$type_combo,$type).199 '</label> '.200 '<label for="status">'.__('Status:').' '.201 form::combo('status',$status_combo,$status).202 '</label>'.203 '</div>'.204 205 '<div class="col">'.206 '<p><label for="sortby">'.__('Order by:').' '.207 form::combo('sortby',$sortby_combo,$sortby).208 '</label> '.209 '<label for="order">'.__('Sort:').' '.210 form::combo('order',$order_combo,$order).211 '</label></p>'.212 '<p><label for="nb" class="classic">'. form::field('nb',3,3,$nb_per_page).' '.213 __('Comments per page').'</label></p>'.214 '</div>'.215 216 '<div class="col">'.217 '<p><label for="author">'.__('Comment author:').' '.218 form::field('author',20,255,html::escapeHTML($author)).219 '</label>'.220 '<label for="ip">'.__('IP address:').' '.221 form::field('ip',20,39,html::escapeHTML($ip)).222 '</label></p>'.223 '<p><input type="submit" value="'.__('Apply filters').'" /></p>'.224 '</div>'.225 226 '</div>'.227 '<br class="clear" />'. //Opera sucks228 '</fieldset>'.229 '</form>';230 185 231 186 $spam_count = $core->blog->getComments(array('comment_status'=>-2),true)->f(0); … … 253 208 254 209 echo '</form>'; 210 211 # Filters 212 if (!$show_filters) { 213 echo '<p><a id="filter-control" class="form-control" href="#">'. 214 __('Filter comments and trackbacks list').'</a></p>'; 215 } 216 217 echo 218 '<form action="comments.php" method="get" id="filters-form">'. 219 '<h3>'.__('Filter comments and trackbacks list').'</h3>'. 220 '<div class="table">'. 221 222 '<div class="cell">'. 223 '<p><label for="type" class="ib">'.__('Type:').'</label> '. 224 form::combo('type',$type_combo,$type).'</p> '. 225 '<p><label for="status" class="ib">'.__('Status:').'</label> '. 226 form::combo('status',$status_combo,$status).'</p>'. 227 '</div>'. 228 229 '<div class="cell">'. 230 '<p><label for="author" class="ib">'.__('Author:').'</label> '. 231 form::field('author',20,255,html::escapeHTML($author)).'</p>'. 232 '<p><label for="ip" class="ib">'.__('IP address:').'</label> '. 233 form::field('ip',20,39,html::escapeHTML($ip)).'</p>'. 234 '</div>'. 235 236 '<div class="cell filters-options">'. 237 '<p><label for="sortby" class="ib">'.__('Order by:').'</label> '. 238 form::combo('sortby',$sortby_combo,$sortby).'</p>'. 239 '<p><label for="order" class="ib">'.__('Sort:').'</label> '. 240 form::combo('order',$order_combo,$order).'</p>'. 241 '<p><span class="label ib">Afficher</span> <label for="nb" class="classic">'. 242 form::field('nb',3,3,$nb_per_page).' '. 243 __('comments per page').'</label></p>'. 244 '</div>'. 245 246 '</div>'. 247 '<p class="no-margin"><input type="submit" value="'.__('Apply filters').'" /></p>'. 248 '<br class="clear" />'. //Opera sucks 249 '</form>'; 250 255 251 } 256 252 -
admin/posts.php
r1415 r1420 273 273 '<p><label for="cat_id" class="ib">'.__('Category:').'</label> '. 274 274 form::combo('cat_id',$categories_combo,$cat_id).'</p>'. 275 '<p><label for="status" class="ib">'.__('Status:').'</label> ' .275 '<p><label for="status" class="ib">'.__('Status:').'</label> ' . 276 276 form::combo('status',$status_combo,$status).'</p> '. 277 277 '</div>'. -
admin/style/default.css
r1415 r1420 744 744 } 745 745 #themes div.theme-details:hover { 746 background: # eee;746 background: #f0f0f0; 747 747 } 748 748 #themes div.theme-details div.theme-shot { … … 989 989 padding: .2rem 2rem; 990 990 border-radius: 1rem; 991 background-color: # eee;991 background-color: #f0f0f0; 992 992 } 993 993 a.back:before { … … 1364 1364 a.form-control { 1365 1365 display: none; 1366 font-weight: bold; 1367 background: url(../images/expand.png) no-repeat .6rem center; 1366 background: url(../images/expand.png) no-repeat .4rem center; 1368 1367 padding-left: 20px; 1369 1368 color: #000; … … 1549 1548 display: inline-block; 1550 1549 } 1550 #filters-form label.ibw, span.ibw { 1551 width: 9em; 1552 display: inline-block; 1553 } 1551 1554 #filters-form select { 1552 1555 width: 14em; … … 1555 1558 /* ---------------------------------------------------- Pagination */ 1556 1559 .pagination { 1557 height: 20px; 1558 line-height: 20px; 1560 height: 22px; 1561 margin-top: 1em; 1562 line-height: 22px; 1559 1563 padding: 0 1rem; 1560 border: 1px solid # ccc;1564 border: 1px solid #ddd; 1561 1565 overflow: hidden; 1562 1566 background: #e1e1e1;
Note: See TracChangeset
for help on using the changeset viewer.