Dotclear

Changeset 2138:73902254112c


Ignore:
Timestamp:
09/28/13 17:21:54 (12 years ago)
Author:
Lepeltier kévin <kevin@…>
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.
Message:

Fusion avec default

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2126 r2138  
    12991299     color: #000; 
    13001300     } 
     1301a.form-control.open { 
     1302     background: url(../images/hide.png) no-repeat 4px center; 
     1303     } 
    13011304#filters-form { 
    13021305     border: 1px dashed #999; 
  • admin/style/default.css

    r2134 r2138  
    12181218     } 
    12191219th.first img { 
    1220      padding-right: 24px; 
     1220     padding-right: 34px; 
    12211221     } 
    12221222tr.line img.expand, th img.expand { 
     
    13701370     box-sizing: border-box;  
    13711371     } 
    1372      #login-screen input.login { 
     1372     #login-screen input.login, #login-screen input.login:focus { 
    13731373          padding-top: 6px; 
    13741374          padding-bottom: 6px; 
     
    14951495          .db-items li, .db-contents li { 
    14961496               margin: 0.25em 0 0 0; 
    1497                color: #676e78; 
    14981497               } 
    14991498     #news dt { 
     
    16771676          padding: .66em 1em; 
    16781677          border: 1px solid #bbb; 
    1679           border-left: 6px solid #bbb; 
    16801678          border-radius: 3px; 
    16811679          } 
     1680          .cat-line label { 
     1681               margin-right: .25em; 
     1682               } 
    16821683          .cat-line label a { 
    16831684               font-weight: bold; 
     
    16861687               margin: 0; 
    16871688               display: inline-block; 
     1689               } 
     1690          p.cat-title { 
     1691               margin-right: 1em; 
     1692               } 
     1693          .cat-nb-posts a { 
     1694               color: #333; 
    16881695               } 
    16891696          .cat-url { 
     
    17031710     margin-right: .25em; 
    17041711     } 
    1705 .cat-line label { 
    1706      margin-right: .25em; 
    1707      } 
    17081712.cat-buttons .reset { 
    17091713     padding-left: 4px; 
     
    17161720.cat-line .cat-line { 
    17171721     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     } 
    17261723.cat-actions { 
    17271724     line-height: 2; 
     
    19811978     float: left; 
    19821979     width: 100%; 
    1983      margin-right: -18em; 
     1980     margin-right: -16em; 
    19841981     } 
    19851982#entry-content { 
    1986      margin-right: 20em; 
     1983     margin-right: 18em; 
    19871984     margin-left: 0; 
    19881985     } 
     
    19971994          } 
    19981995#entry-sidebar { 
    1999      width: 18em; 
     1996     width: 16em; 
    20001997     float: right; 
    20011998     } 
     1999     #entry-sidebar h4 { 
     2000          font-size: 13px; 
     2001          font-size: 1.3rem; 
     2002          margin-top: .3em; 
     2003          } 
    20022004     #entry-sidebar select { 
    20032005          width: 100%; 
     
    25672569 .colorEndValidatorMsg { 
    25682570     color: #ffcc00; 
    2569      }     
     2571     } 
  • inc/admin/lib.pager.php

    r2127 r2138  
    151151class adminPostList extends adminGenericList 
    152152{ 
    153      public function display($page,$nb_per_page,$enclose_block='') 
     153     public function display($page,$nb_per_page,$enclose_block='',$filter=false) 
    154154     { 
    155155          if ($this->rs->isEmpty()) 
    156156          { 
    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               } 
    158162          } 
    159163          else 
     
    168172               $html_block = 
    169173               '<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>'. 
    171183               '<th colspan="2" class="first">'.__('Title').'</th>'. 
    172184               '<th scope="col">'.__('Date').'</th>'. 
     
    362374class adminCommentList extends adminGenericList 
    363375{ 
    364      public function display($page,$nb_per_page,$enclose_block='') 
     376     public function display($page,$nb_per_page,$enclose_block='',$filter=false) 
    365377     { 
    366378          if ($this->rs->isEmpty()) 
    367379          { 
    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               } 
    369385          } 
    370386          else 
     
    380396               $html_block = 
    381397               '<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>'. 
    383407               '<th colspan="2" scope="col" abbr="comm" class="first">'.__('Type').'</th>'. 
    384408               '<th scope="col">'.__('Author').'</th>'. 
     
    477501class adminUserList extends adminGenericList 
    478502{ 
    479      public function display($page,$nb_per_page,$enclose_block='') 
     503     public function display($page,$nb_per_page,$enclose_block='',$filter=false) 
    480504     { 
    481505          if ($this->rs->isEmpty()) 
    482506          { 
    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               } 
    484512          } 
    485513          else 
     
    489517               $html_block = 
    490518               '<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>'. 
    492528               '<th colspan="2" scope="col" class="first">'.__('Username').'</th>'. 
    493529               '<th scope="col">'.__('First Name').'</th>'. 
  • inc/admin/lib.pager.php

    r2135 r2138  
    185185               '<th scope="col">'.__('Category').'</th>'. 
    186186               '<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>'. 
    189189               '<th scope="col">'.__('Status').'</th>'. 
    190190               '</tr>%s</table></div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map