Ticket #493: i18n-patch-edit-php.diff
File i18n-patch-edit-php.diff, 1.0 KB (added by , 20 years ago) |
---|
-
wp-admin/edit.php
old new 145 145 <?php comments_number(__('0'), __('1'), __('%')) ?> 146 146 </a></td> 147 147 <td><?php the_author() ?></td> 148 <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"> View</a></td>148 <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e('View'); ?></a></td> 149 149 <td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=edit&post=$id' class='edit'>" . __('Edit') . "</a>"; } ?></td> 150 150 <td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=delete&post=$id' class='delete' onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), the_title('','',0)) . "')\">" . __('Delete') . "</a>"; } ?></td> 151 151 </tr>