String i18n. Bug 505. Patch from nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@1902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a48c0d3916
commit
bf1835606e
|
@ -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