Changeset 1508:60c4414bcd87
- Timestamp:
- 08/21/13 10:12:58 (11 years ago)
- Branch:
- default
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r1468 r1508 733 733 echo 734 734 '<table class="comments-list"><tr>'. 735 '<th colspan="2" >'.__('Author').'</th>'.735 '<th colspan="2" class="first">'.__('Author').'</th>'. 736 736 '<th>'.__('Date').'</th>'. 737 737 '<th class="nowrap">'.__('IP address').'</th>'. 738 738 '<th>'.__('Status').'</th>'. 739 '<th> </th>'.739 '<th>'.__('Edit').'</th>'. 740 740 '</tr>'; 741 741 … … 771 771 '<td class="nowrap status">'.$img_status.'</td>'. 772 772 '<td class="nowrap status"><a href="'.$comment_url.'">'. 773 '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /> </a></td>'.773 '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /> '.__('Edit').'</a></td>'. 774 774 775 775 '</tr>'; -
admin/style/default.css
r1499 r1508 1180 1180 border-style: solid; 1181 1181 border-color: #e3e3e3; 1182 padding: . 4rem .5rem;1182 padding: .3em .5em; 1183 1183 vertical-align: top; 1184 1184 } … … 1188 1188 border-color: #ccc; 1189 1189 background: #f3f3ff; 1190 padding: . 4rem .5rem;1190 padding: .3em .5em; 1191 1191 vertical-align: top; 1192 1192 text-align: left; 1193 } 1194 th.first img { 1195 padding-right: 24px; 1193 1196 } 1194 1197 .noborder td, td.noborder, .noborder th, th.noborder { … … 1240 1243 border: none; 1241 1244 } 1242 1243 tr.line img.expand { 1244 margin-right: 10px; 1245 tr.line img.expand, th img.expand { 1246 margin-right: 6px; 1245 1247 margin-bottom: -2px; 1246 1248 } … … 1720 1722 #info-box2 {float:none;} 1721 1723 #dashboard-items div {display: block;margin-bottom: 1em; padding: 0 1em;} 1724 #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px} 1722 1725 } 1723 1726 @media screen and (max-width: 492px) { … … 1728 1731 #info-box1 select {width: 12rem; margin-right: .6rem;} 1729 1732 #info-box1 p.nomobile, label.nomobile {display: none;} 1730 #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px} 1731 } 1733 } -
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>'; -
locales/fr/main.po
r1499 r1508 3138 3138 msgid "Back to Blog themes" 3139 3139 msgstr "Retour à Apparence du blog" 3140 3141 msgid "Edit" 3142 msgstr "Modifier" -
plugins/pages/page.php
r1480 r1508 587 587 if ($can_edit_page && $core->auth->check('delete,contentadmin',$core->blog->id)) 588 588 { 589 $combo_action[__(' delete')] = 'delete';589 $combo_action[__('Delete')] = 'delete'; 590 590 } 591 591 … … 619 619 '<p class="col checkboxes-helpers"></p>'. 620 620 621 '<p class="col right"><label for="action" >'.__('Selected comments action:').'</label> '.621 '<p class="col right"><label for="action" class="classic">'.__('Selected comments action:').'</label> '. 622 622 form::combo('action',$combo_action). 623 623 form::hidden('redir',html::escapeURL($redir_url).'&id='.$post_id.'&co=1'). … … 692 692 echo 693 693 '<table class="comments-list"><tr>'. 694 '<th colspan="2" >'.__('Author').'</th>'.694 '<th colspan="2" class="nowrap first">'.__('Author').'</th>'. 695 695 '<th>'.__('Date').'</th>'. 696 696 '<th class="nowrap">'.__('IP address').'</th>'. 697 697 '<th>'.__('Status').'</th>'. 698 '<th> </th>'.698 '<th>'.__('Edit').'</th>'. 699 699 '</tr>'; 700 700 … … 730 730 '<td class="nowrap status">'.$img_status.'</td>'. 731 731 '<td class="nowrap status"><a href="'.$comment_url.'">'. 732 '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /> </a></td>'.732 '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /> '.__('Edit').'</a></td>'. 733 733 734 734 '</tr>';
Note: See TracChangeset
for help on using the changeset viewer.