mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
String i18n. Bug 505. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3627e4c953
commit
7fe73226cd
@ -41,7 +41,7 @@ $class = ('alternate' == $class) ? '' : 'alternate';
|
||||
</td>
|
||||
<td><?php the_author() ?></td>
|
||||
<td><?php the_time('Y-m-d g:i a'); ?></td>
|
||||
<td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit">View</a></td>
|
||||
<td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e('View'); ?></a></td>
|
||||
<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>
|
||||
<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>
|
||||
</tr>
|
||||
@ -59,4 +59,4 @@ $class = ('alternate' == $class) ? '' : 'alternate';
|
||||
</div>
|
||||
|
||||
|
||||
<?php include('admin-footer.php'); ?>
|
||||
<?php include('admin-footer.php'); ?>
|
||||
|
@ -270,7 +270,7 @@ echo "\n<tr $style>
|
||||
echo "</td>\n";
|
||||
echo '<td>';
|
||||
if (($user_level >= 6) and ($user_level > $user_data->user_level))
|
||||
echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>Edit</a>";
|
||||
echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>".__('Edit')."</a>";
|
||||
echo '</td><td>';
|
||||
if ($user_level >= 6)
|
||||
echo "<a href='users.php?action=delete&id=$user_data->ID' class='delete'>" . __('Delete'). '</a>';
|
||||
|
Loading…
Reference in New Issue
Block a user