Dotclear

Changeset 1668:496eacb230d8 for admin


Ignore:
Timestamp:
08/31/13 12:39:15 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Lists enhancements (comments, blogs).
Minor typos.

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/blogs.php

    r1553 r1668  
    134134           
    135135          echo 
    136           '<table class="clear"><tr>'. 
    137           '<th>'.__('Blog name').'</th>'. 
    138           '<th class="nowrap">'.__('Last update').'</th>'. 
    139           '<th class="nowrap">'.__('Entries (all types)').'</th>'. 
    140           '<th class="nowrap">'.__('Blog ID').'</th>'. 
    141           '<th>&nbsp;</th>'. 
    142           '<th class="nowrap">'.__('Status').'</th>'. 
     136          '<table class="clear"><caption class="hidden">'.__('Blogs list').'</caption><tr>'. 
     137          '<th scope="col" class="nowrap">'.__('Blog id').'</th>'. 
     138          '<th scope="col">'.__('Blog name').'</th>'. 
     139          '<th scope="col" class="nowrap">'.__('Entries (all types)').'</th>'. 
     140          '<th scope="col" class="nowrap">'.__('Last update').'</th>'. 
     141          '<th scope="col" class="nowrap">'.__('Status').'</th>'. 
    143142          '</tr>'; 
    144143           
     
    164163     if ($GLOBALS['core']->auth->isSuperAdmin()) { 
    165164          $edit_link =  
    166           '<a href="blog.php?id='.$blog_id.'" '. 
    167           'title="'.sprintf(__('Edit blog %s'),$blog_id).'">'. 
    168           __('edit').'</a>'; 
     165          '<a href="blog.php?id='.$blog_id.'"  title="'.sprintf(__('Edit blog settings for %s'),$blog_id).'">'. 
     166          '<img src="images/edit-mini.png" alt="'.__('Edit blog settings').'" /> '.$blog_id.'</a> '; 
    169167     } 
    170168      
     
    177175     return 
    178176     '<tr class="line">'. 
     177     '<td class="nowrap">'.$edit_link.'</td>'. 
    179178     '<td class="maximal"><a href="index.php?switchblog='.$rs->blog_id.'" '. 
    180179     'title="'.sprintf(__('Switch to blog %s'),$rs->blog_id).'">'. 
    181180     html::escapeHTML($rs->blog_name).'</a></td>'. 
    182      '<td class="nowrap">'.$blog_upddt.'</td>'. 
    183      '<td class="nowrap">'.$core->countBlogPosts($rs->blog_id).'</td>'. 
    184      '<td class="nowrap">'.$blog_id.'</td>'. 
    185      '<td>'.$edit_link.'</td>'. 
     181     '<td class="nowrap count">'.$core->countBlogPosts($rs->blog_id).'</td>'. 
     182     '<td class="nowrap count">'.$blog_upddt.'</td>'. 
    186183     '<td class="status">'.$img_status.'</td>'. 
    187184     '</tr>'; 
  • admin/style/default.css

    r1636 r1668  
    575575     padding: 1em 3em; 
    576576     vertical-align: top; 
    577      border: 1px solid #ccc; 
     577     border: 1px solid #ddd; 
     578     border-collapse: collapse; 
     579} 
     580.db-item h3 { 
     581     font-weight: normal; 
    578582} 
    579583#dashboard-items img { 
     
    13031307     border-style: solid; 
    13041308     border-color: #e3e3e3; 
    1305      padding: .3em .5em; 
     1309     padding: .3em 1em .3em .5em; 
    13061310     vertical-align: top; 
    13071311} 
     
    13111315     border-color: #ccc; 
    13121316     background: #f3f3ff; 
    1313      padding: .3em .5em; 
     1317     padding: .3em 1em .3em .5em; 
    13141318     vertical-align: top; 
    13151319     text-align: left; 
     
    13361340     white-space: nowrap; 
    13371341     vertical-align: top; 
     1342} 
     1343table .count { 
     1344     text-align: right; 
     1345     padding-right: 1.5em; 
    13381346} 
    13391347table.settings, table.prefs { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map