Dotclear


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

Lists enhancements (comments, blogs).
Minor typos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.pager.php

    r1622 r1668  
    136136          '<td class="maximal" scope="row"><a href="'.$this->core->getPostAdminURL($this->rs->post_type,$this->rs->post_id).'">'. 
    137137          html::escapeHTML($this->rs->post_title).'</a></td>'. 
    138           '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 
     138          '<td class="nowrap count">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 
    139139          '<td class="nowrap">'.$cat_title.'</td>'. 
    140140          '<td class="nowrap">'.html::escapeHTML($this->rs->user_id).'</td>'. 
    141           '<td class="nowrap">'.$this->rs->nb_comment.'</td>'. 
    142           '<td class="nowrap">'.$this->rs->nb_trackback.'</td>'. 
     141          '<td class="nowrap count">'.$this->rs->nb_comment.'</td>'. 
     142          '<td class="nowrap count">'.$this->rs->nb_trackback.'</td>'. 
    143143          '<td class="nowrap status">'.$img_status.' '.$selected.' '.$protected.' '.$attach.'</td>'. 
    144144          '</tr>'; 
     
    234234          'title="'.html::escapeHTML($this->rs->getURL()).'">'. 
    235235          html::escapeHTML($this->rs->post_title).'</a></td>'. 
    236           '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 
     236          '<td class="nowrap count">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 
    237237          '<td class="nowrap">'.html::escapeHTML($this->rs->user_id).'</td>'. 
    238238          '<td class="nowrap status">'.$img_status.' '.$selected.' '.$protected.' '.$attach.'</td>'. 
     
    260260               $html_block = 
    261261               '<table><caption class="hidden">'.__('Comments and trackbacks list').'</caption><tr>'. 
    262                '<th colspan="3" scope="col" abbr="comm" class="first">'.__('Type and author').'</th>'. 
     262               '<th colspan="2" scope="col" abbr="comm" class="first">'.__('Type').'</th>'. 
     263               '<th scope="col">'.__('Author').'</th>'. 
    263264               '<th scope="col">'.__('Date').'</th>'. 
    264265               '<th scope="col" class="txt-center">'.__('Status').'</th>'. 
     
    326327               $post_title = mb_strcut($post_title,0,57).'...'; 
    327328          } 
     329          $comment_title = sprintf(__('Edit the %1$s from %2$s'), 
     330               $this->rs->comment_trackback ? __('trackback') : __('comment'), 
     331               html::escapeHTML($this->rs->comment_author)); 
    328332           
    329333          $res = '<tr class="line'.($this->rs->comment_status != 1 ? ' offline' : '').'"'. 
     
    333337          '<td class="nowrap">'. 
    334338          form::checkbox(array('comments[]'),$this->rs->comment_id,'','','',0).'</td>'. 
    335           '<td class="status txt-center">'. 
    336                '<a href="'.$comment_url.'">'. 
    337                '<img src="images/edit-mini.png" alt="" title="'.__('Edit').'" /> '. 
    338                '</a>'.'</td>'. 
    339           '<td class="maximal" scope="row">'.($this->rs->comment_trackback ? __('trackback from') : __('comment from')).' '. 
    340                '<a href="'.$author_url.'">'.html::escapeHTML($this->rs->comment_author).'</a></td>'. 
    341           '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->comment_dt).'</td>'. 
     339          '<td class="nowrap" abbr="'.__('Type and author').'" scope="raw">'. 
     340               '<a href="'.$comment_url.'" title="'.$comment_title.'">'. 
     341               '<img src="images/edit-mini.png" alt="'.__('Edit').'"/> '. 
     342               ($this->rs->comment_trackback ? __('trackback') : __('comment')).' '.'</a></td>'. 
     343          '<td class="nowrap maximal"><a href="'.$author_url.'">'.html::escapeHTML($this->rs->comment_author).'</a></td>'. 
     344          '<td class="nowrap count">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->comment_dt).'</td>'. 
    342345          '<td class="nowrap status txt-center">'.$img_status.'</td>'. 
    343346          '<td class="nowrap"><a href="'.$post_url.'">'. 
     
    418421          '<td class="nowrap">'.html::escapeHTML($this->rs->user_name).'</td>'. 
    419422          '<td class="nowrap">'.html::escapeHTML($this->rs->user_displayname).'</td>'. 
    420           '<td class="nowrap"><a href="posts.php?user_id='.$this->rs->user_id.'">'. 
     423          '<td class="nowrap count"><a href="posts.php?user_id='.$this->rs->user_id.'">'. 
    421424          $this->rs->nb_post.'</a></td>'. 
    422425          '</tr>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map