Changeset 1415:46f961cd2b91
- Timestamp:
- 08/16/13 18:32:16 (10 years ago)
- Branch:
- default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/posts.php
r1358 r1415 260 260 if (!$show_filters) { 261 261 echo '<p><a id="filter-control" class="form-control" href="#">'. 262 __('Filter s').'</a></p>';262 __('Filter posts list').'</a></p>'; 263 263 } 264 264 265 265 echo 266 266 '<form action="posts.php" method="get" id="filters-form">'. 267 '<fieldset><legend>'.__('Filters').'</legend>'. 268 '<div class="three-cols">'. 269 '<div class="col">'. 270 '<label for="user_id">'.__('Author:'). 271 form::combo('user_id',$users_combo,$user_id).'</label> '. 272 '<label for="cat_id">'.__('Category:'). 273 form::combo('cat_id',$categories_combo,$cat_id).'</label> '. 274 '<label for="status">'.__('Status:'). 275 form::combo('status',$status_combo,$status).'</label> '. 276 '</div>'. 277 278 '<div class="col">'. 279 '<label for="selected">'.__('Selected:'). 280 form::combo('selected',$selected_combo,$selected).'</label> '. 281 '<label for="month">'.__('Month:'). 282 form::combo('month',$dt_m_combo,$month).'</label> '. 283 '<label for="lang">'.__('Lang:'). 284 form::combo('lang',$lang_combo,$lang).'</label> '. 285 '</div>'. 286 287 '<div class="col">'. 288 '<p><label for="sortby">'.__('Order by:'). 289 form::combo('sortby',$sortby_combo,$sortby).'</label> '. 290 '<label for="order">'.__('Sort:'). 291 form::combo('order',$order_combo,$order).'</label></p>'. 292 '<p><label for="nb" class="classic">'. form::field('nb',3,3,$nb_per_page).' '. 293 __('Entries per page').'</label></p> '. 294 '<p><input type="submit" value="'.__('Apply filters').'" /></p>'. 295 '</div>'. 296 '</div>'. 267 '<h3>'.__('Filter posts list').'</h3>'. 268 269 '<div class="table">'. 270 '<div class="cell">'. 271 '<p><label for="user_id" class="ib">'.__('Author:').'</label> '. 272 form::combo('user_id',$users_combo,$user_id).'</p>'. 273 '<p><label for="cat_id" class="ib">'.__('Category:').'</label> '. 274 form::combo('cat_id',$categories_combo,$cat_id).'</p>'. 275 '<p><label for="status" class="ib">'.__('Status:').'</label>' . 276 form::combo('status',$status_combo,$status).'</p> '. 277 '</div>'. 278 279 '<div class="cell">'. 280 '<p><label for="selected" class="ib">'.__('Selected:').'</label> '. 281 form::combo('selected',$selected_combo,$selected).'</p>'. 282 '<p><label for="month" class="ib">'.__('Month:').'</label> '. 283 form::combo('month',$dt_m_combo,$month).'</p>'. 284 '<label for="lang" class="ib">'.__('Lang:').'</label> '. 285 form::combo('lang',$lang_combo,$lang).'</p> '. 286 '</div>'. 287 288 '<div class="cell filters-options">'. 289 '<p><label for="sortby" class="ib">'.__('Order by:').'</label> '. 290 form::combo('sortby',$sortby_combo,$sortby).'</p>'. 291 '<p><label for="order" class="ib">'.__('Sort:').'</label> '. 292 form::combo('order',$order_combo,$order).'</p>'. 293 '<p><span class="label ib">Afficher</span> <label for="nb" class="classic">'. form::field('nb',3,3,$nb_per_page).' '. 294 __('entries per page').'</label></p>'. 295 '</div>'. 296 '</div>'. 297 298 '<p class="no-margin"><input type="submit" value="'.__('Apply filters').'" /></p>'. 299 297 300 '<br class="clear" />'. //Opera sucks 298 '</fieldset>'.299 301 '</form>'; 300 302 -
admin/style/default.css
r1399 r1415 69 69 font-size: 1em; 70 70 color: #575859; 71 } 72 #entry-sidebar h5 { 73 font-weight: normal; 74 color: #333; 71 75 } 72 76 p, div.p { … … 1361 1365 display: none; 1362 1366 font-weight: bold; 1363 background: url(magnifier.png) no-repeat 0 0; 1364 color: green; 1367 background: url(../images/expand.png) no-repeat .6rem center; 1365 1368 padding-left: 20px; 1369 color: #000; 1366 1370 } 1367 1371 .constrained { … … 1518 1522 } 1519 1523 1524 /* ------------------------------------------------------- Filters */ 1525 #filters-form { 1526 border: 1px dashed #999; 1527 border-radius: .6rem; 1528 margin-bottom: 2em; 1529 padding: .5em 1em 0; 1530 } 1531 #filters-form .table { 1532 display: table; 1533 width: 100%; 1534 padding: 0; 1535 margin-bottom: 1em; 1536 margin-top: 1.5em; 1537 } 1538 #filters-form .cell { 1539 padding: 0 2em 0 0; 1540 display: table-cell; 1541 vertical-align: top; 1542 } 1543 #filters-form .filters-options { 1544 padding-left: 2em; 1545 border-left: 1px solid #ccc; 1546 } 1547 #filters-form label.ib, span.ib { 1548 width:7em; 1549 display: inline-block; 1550 } 1551 #filters-form select { 1552 width: 14em; 1553 } 1554 1555 /* ---------------------------------------------------- Pagination */ 1556 .pagination { 1557 height: 20px; 1558 line-height: 20px; 1559 padding: 0 1rem; 1560 border: 1px solid #ccc; 1561 overflow: hidden; 1562 background: #e1e1e1; 1563 background: -moz-linear-gradient(center top , #f2f2f2, #e1e1e1); 1564 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e1e1e1)); 1565 -moz-border-radius: 4px; 1566 -webkit-border-radius: 4px; 1567 border-radius: 4px; 1568 } 1569 .pagination a, .pagination strong { 1570 height: 20px; 1571 border: none; 1572 padding: 2px 6px; 1573 background-color : transparent; 1574 background-position : 50% 50%; 1575 background-repeat: no-repeat; 1576 } 1577 .pagination a:hover, .pagination strong { 1578 border-color : #ccc; 1579 background-color: #fff; 1580 } 1581 1520 1582 /* --------------------------------------------------------------------------- 1521 1583 Media queries vite fait en attendant la reprise complète du layout -
inc/admin/lib.pager.php
r1353 r1415 58 58 } 59 59 60 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';60 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 61 61 62 62 $blocks = explode('%s',$html_block); … … 71 71 echo $blocks[1]; 72 72 73 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';73 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 74 74 } 75 75 } … … 170 170 } 171 171 172 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';172 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 173 173 174 174 $blocks = explode('%s',$html_block); … … 183 183 echo $blocks[1]; 184 184 185 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';185 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 186 186 } 187 187 } … … 267 267 } 268 268 269 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';269 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 270 270 271 271 $blocks = explode('%s',$html_block); … … 280 280 echo $blocks[1]; 281 281 282 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';282 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 283 283 } 284 284 } … … 374 374 } 375 375 376 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';376 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 377 377 378 378 $blocks = explode('%s',$html_block); … … 387 387 echo $blocks[1]; 388 388 389 echo '<p >'.__('Page(s)').' : '.$pager->getLinks().'</p>';389 echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 390 390 } 391 391 } -
locales/fr/main.po
r1396 r1415 3015 3015 msgid "Ordering" 3016 3016 msgstr "Classement" 3017 3018 msgid "Filter posts list" 3019 msgstr "Filtrer la liste des billets" 3020 3021 msgid "entries per page" 3022 msgstr "billets par page" 3023 3024 msgid "Show" 3025 msgstr "Afficher"
Note: See TracChangeset
for help on using the changeset viewer.