Changeset 1587:95d7e59fe2d0 for inc/admin/lib.pager.php
- Timestamp:
- 08/26/13 15:04:10 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.pager.php
r1508 r1587 259 259 260 260 $html_block = 261 '<table>< tr>'.262 '<th colspan="2" class="first">'.__('Author').'</th>'.263 '<th >'.__('Date').'</th>'.264 '<th >'.__('Entry title').'</th>'.265 '<th >'.__('Type').'</th>'.266 '<th >'.__('Status').'</th>'.267 '<th >'.__('Edit').'</th>'.261 '<table><caption class="hidden">'.__('Comments and trackbacks list').'</caption><tr>'. 262 '<th scope="col"><span class="hidden">'.__('Select').'</span></th>'. 263 '<th scope="col"><span class="hidden txt-center">'.__('Edit').'</span></th>'. 264 '<th scope="col" abbr="author">'.__('Type and author').'</th>'. 265 '<th scope="col">'.__('Date').'</th>'. 266 '<th scope="col" class="txt-center">'.__('Status').'</th>'. 267 '<th scope="col" abbr="entry">'.__('Entry title').'</th>'. 268 268 '</tr>%s</table>'; 269 269 270 270 if ($enclose_block) { 271 271 $html_block = sprintf($enclose_block,$html_block); … … 325 325 326 326 $post_title = html::escapeHTML($this->rs->post_title); 327 if (mb_strlen($post_title) > 50) {328 $post_title = mb_strcut($post_title,0, 47).'...';327 if (mb_strlen($post_title) > 60) { 328 $post_title = mb_strcut($post_title,0,57).'...'; 329 329 } 330 330 … … 335 335 '<td class="nowrap">'. 336 336 form::checkbox(array('comments[]'),$this->rs->comment_id,'','','',0).'</td>'. 337 '<td class="maximal"><a href="'.$author_url.'">'.html::escapeHTML($this->rs->comment_author).'</a></td>'. 337 '<td class="status class="txt-center">'. 338 '<a href="'.$comment_url.'">'. 339 '<img src="images/edit-mini.png" alt="" title="'.__('Edit').'" /> '. 340 '</a>'.'</td>'. 341 '<td class="maximal" scope="row">'.($this->rs->comment_trackback ? __('trackback from') : __('comment from')).' '. 342 '<a href="'.$author_url.'">'.html::escapeHTML($this->rs->comment_author).'</a></td>'. 338 343 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->comment_dt).'</td>'. 344 '<td class="nowrap status txt-center">'.$img_status.'</td>'. 339 345 '<td class="nowrap"><a href="'.$post_url.'">'. 340 346 html::escapeHTML($post_title).'</a>'. 341 ($this->rs->post_type != 'post' ? ' ('.html::escapeHTML($this->rs->post_type).')' : '').'</td>'. 342 '<td class="nowrap">'.($this->rs->comment_trackback ? __('trackback') : __('comment')).'</td>'. 343 '<td class="nowrap status">'.$img_status.'</td>'. 344 '<td class="nowrap status"><a href="'.$comment_url.'">'. 345 '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /> '.__('Edit').'</a></td>'; 347 ($this->rs->post_type != 'post' ? ' ('.html::escapeHTML($this->rs->post_type).')' : '').'</td>'; 346 348 347 349 $res .= '</tr>';
Note: See TracChangeset
for help on using the changeset viewer.