Changeset 2138:73902254112c
- Timestamp:
- 09/28/13 17:21:54 (12 years ago)
- Branch:
- Ticket #1548
- Children:
- 2139:abcd1153037c, 2140:28741fc22072
- Parents:
- 2137:bb5fa2846e7d (diff), 2127:0bdb7068c050 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 4 edited
-
admin/style/default.css (modified) (1 diff)
-
admin/style/default.css (modified) (10 diffs)
-
inc/admin/lib.pager.php (modified) (6 diffs)
-
inc/admin/lib.pager.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r2126 r2138 1299 1299 color: #000; 1300 1300 } 1301 a.form-control.open { 1302 background: url(../images/hide.png) no-repeat 4px center; 1303 } 1301 1304 #filters-form { 1302 1305 border: 1px dashed #999; -
admin/style/default.css
r2134 r2138 1218 1218 } 1219 1219 th.first img { 1220 padding-right: 24px;1220 padding-right: 34px; 1221 1221 } 1222 1222 tr.line img.expand, th img.expand { … … 1370 1370 box-sizing: border-box; 1371 1371 } 1372 #login-screen input.login {1372 #login-screen input.login, #login-screen input.login:focus { 1373 1373 padding-top: 6px; 1374 1374 padding-bottom: 6px; … … 1495 1495 .db-items li, .db-contents li { 1496 1496 margin: 0.25em 0 0 0; 1497 color: #676e78;1498 1497 } 1499 1498 #news dt { … … 1677 1676 padding: .66em 1em; 1678 1677 border: 1px solid #bbb; 1679 border-left: 6px solid #bbb;1680 1678 border-radius: 3px; 1681 1679 } 1680 .cat-line label { 1681 margin-right: .25em; 1682 } 1682 1683 .cat-line label a { 1683 1684 font-weight: bold; … … 1686 1687 margin: 0; 1687 1688 display: inline-block; 1689 } 1690 p.cat-title { 1691 margin-right: 1em; 1692 } 1693 .cat-nb-posts a { 1694 color: #333; 1688 1695 } 1689 1696 .cat-url { … … 1703 1710 margin-right: .25em; 1704 1711 } 1705 .cat-line label {1706 margin-right: .25em;1707 }1708 1712 .cat-buttons .reset { 1709 1713 padding-left: 4px; … … 1716 1720 .cat-line .cat-line { 1717 1721 border: 1px solid #dfdfdf; 1718 border-left-width: 3px; 1719 } 1720 #categories h4 { 1721 margin: 0; 1722 } 1723 #categories h4 span { 1724 font-weight: normal; 1725 } 1722 } 1726 1723 .cat-actions { 1727 1724 line-height: 2; … … 1981 1978 float: left; 1982 1979 width: 100%; 1983 margin-right: -1 8em;1980 margin-right: -16em; 1984 1981 } 1985 1982 #entry-content { 1986 margin-right: 20em;1983 margin-right: 18em; 1987 1984 margin-left: 0; 1988 1985 } … … 1997 1994 } 1998 1995 #entry-sidebar { 1999 width: 1 8em;1996 width: 16em; 2000 1997 float: right; 2001 1998 } 1999 #entry-sidebar h4 { 2000 font-size: 13px; 2001 font-size: 1.3rem; 2002 margin-top: .3em; 2003 } 2002 2004 #entry-sidebar select { 2003 2005 width: 100%; … … 2567 2569 .colorEndValidatorMsg { 2568 2570 color: #ffcc00; 2569 } 2571 } -
inc/admin/lib.pager.php
r2127 r2138 151 151 class adminPostList extends adminGenericList 152 152 { 153 public function display($page,$nb_per_page,$enclose_block='' )153 public function display($page,$nb_per_page,$enclose_block='',$filter=false) 154 154 { 155 155 if ($this->rs->isEmpty()) 156 156 { 157 echo '<p><strong>'.__('No entry').'</strong></p>'; 157 if( $filter ) { 158 echo '<p><strong>'.__('No entry matches the filter').'</strong></p>'; 159 } else { 160 echo '<p><strong>'.__('No entry').'</strong></p>'; 161 } 158 162 } 159 163 else … … 168 172 $html_block = 169 173 '<div class="table-outer">'. 170 '<table><caption class="hidden">'.__('Entries list').'</caption><tr>'. 174 '<table>'; 175 176 if( $filter ) { 177 $html_block .= '<caption>'.sprintf(__('List of %s entries match the filter.'), $this->rs_count).'</caption>'; 178 } else { 179 $html_block .= '<caption class="hidden">'.__('Entries list').'</caption>'; 180 } 181 182 $html_block .= '<tr>'. 171 183 '<th colspan="2" class="first">'.__('Title').'</th>'. 172 184 '<th scope="col">'.__('Date').'</th>'. … … 362 374 class adminCommentList extends adminGenericList 363 375 { 364 public function display($page,$nb_per_page,$enclose_block='' )376 public function display($page,$nb_per_page,$enclose_block='',$filter=false) 365 377 { 366 378 if ($this->rs->isEmpty()) 367 379 { 368 echo '<p><strong>'.__('No comment').'</strong></p>'; 380 if( $filter ) { 381 echo '<p><strong>'.__('No comments or trackbacks matches the filter').'</strong></p>'; 382 } else { 383 echo '<p><strong>'.__('No comment').'</strong></p>'; 384 } 369 385 } 370 386 else … … 380 396 $html_block = 381 397 '<div class="table-outer">'. 382 '<table><caption class="hidden">'.__('Comments and trackbacks list').'</caption><tr>'. 398 '<table>'; 399 400 if( $filter ) { 401 $html_block .= '<caption>'.sprintf(__('List of %s Comments or trackbacks match the filter.'), $this->rs_count).'</caption>'; 402 } else { 403 $html_block .= '<caption class="hidden">'.__('Comments and trackbacks list').'</caption>'; 404 } 405 406 $html_block .= '<tr>'. 383 407 '<th colspan="2" scope="col" abbr="comm" class="first">'.__('Type').'</th>'. 384 408 '<th scope="col">'.__('Author').'</th>'. … … 477 501 class adminUserList extends adminGenericList 478 502 { 479 public function display($page,$nb_per_page,$enclose_block='' )503 public function display($page,$nb_per_page,$enclose_block='',$filter=false) 480 504 { 481 505 if ($this->rs->isEmpty()) 482 506 { 483 echo '<p><strong>'.__('No user').'</strong></p>'; 507 if( $filter ) { 508 echo '<p><strong>'.__('No user matches the filter').'</strong></p>'; 509 } else { 510 echo '<p><strong>'.__('No user').'</strong></p>'; 511 } 484 512 } 485 513 else … … 489 517 $html_block = 490 518 '<div class="table-outer clear">'. 491 '<table><caption class="hidden">'.__('Users list').'</caption><tr>'. 519 '<table>'; 520 521 if( $filter ) { 522 $html_block .= '<caption>'.sprintf(__('List of %s users match the filter.'), $this->rs_count).'</caption>'; 523 } else { 524 $html_block .= '<caption class="hidden">'.__('Users list').'</caption>'; 525 } 526 527 $html_block .= '<tr>'. 492 528 '<th colspan="2" scope="col" class="first">'.__('Username').'</th>'. 493 529 '<th scope="col">'.__('First Name').'</th>'. -
inc/admin/lib.pager.php
r2135 r2138 185 185 '<th scope="col">'.__('Category').'</th>'. 186 186 '<th scope="col">'.__('Author').'</th>'. 187 '<th scope="col"> '.__('Comments').'</th>'.188 '<th scope="col"> '.__('Trackbacks').'</th>'.187 '<th scope="col"><img src="images/comments.png" alt="" title="'.__('Comments').'" /><span class="hidden">'.__('Comments').'</span></th>'. 188 '<th scope="col"><img src="images/trackbacks.png" alt="" title="'.__('Trackbacks').'" /><span class="hidden">'.__('Trackbacks').'</span></th>'. 189 189 '<th scope="col">'.__('Status').'</th>'. 190 190 '</tr>%s</table></div>';
Note: See TracChangeset
for help on using the changeset viewer.
