Changeset 1508:60c4414bcd87 for inc
- Timestamp:
- 08/21/13 10:12:58 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.pager.php
r1476 r1508 50 50 $html_block = 51 51 '<table class="clear"><tr>'. 52 '<th colspan="2" >'.__('Title').'</th>'.52 '<th colspan="2" class="first">'.__('Title').'</th>'. 53 53 '<th>'.__('Date').'</th>'. 54 54 '<th>'.__('Category').'</th>'. … … 260 260 $html_block = 261 261 '<table><tr>'. 262 '<th colspan="2" >'.__('Title').'</th>'.262 '<th colspan="2" class="first">'.__('Author').'</th>'. 263 263 '<th>'.__('Date').'</th>'. 264 '<th>'.__(' Author').'</th>'.264 '<th>'.__('Entry title').'</th>'. 265 265 '<th>'.__('Type').'</th>'. 266 266 '<th>'.__('Status').'</th>'. 267 '<th> </th>'.267 '<th>'.__('Edit').'</th>'. 268 268 '</tr>%s</table>'; 269 269 … … 324 324 } 325 325 326 $ comment_author = html::escapeHTML($this->rs->comment_author);327 if (mb_strlen($ comment_author) > 20) {328 $ comment_author = mb_strcut($comment_author,0,17).'...';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).'...'; 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="'.$post_url.'">'. 338 html::escapeHTML($this->rs->post_title).'</a>'. 337 '<td class="maximal"><a href="'.$author_url.'">'.html::escapeHTML($this->rs->comment_author).'</a></td>'. 338 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->comment_dt).'</td>'. 339 '<td class="nowrap"><a href="'.$post_url.'">'. 340 html::escapeHTML($post_title).'</a>'. 339 341 ($this->rs->post_type != 'post' ? ' ('.html::escapeHTML($this->rs->post_type).')' : '').'</td>'. 340 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->comment_dt).'</td>'.341 '<td class="nowrap"><a href="'.$author_url.'">'.html::escapeHTML($comment_author).'</a></td>'.342 342 '<td class="nowrap">'.($this->rs->comment_trackback ? __('trackback') : __('comment')).'</td>'. 343 343 '<td class="nowrap status">'.$img_status.'</td>'. 344 344 '<td class="nowrap status"><a href="'.$comment_url.'">'. 345 '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /> </a></td>';345 '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /> '.__('Edit').'</a></td>'; 346 346 347 347 $res .= '</tr>';
Note: See TracChangeset
for help on using the changeset viewer.