mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Formatting fix for profile information.
git-svn-id: https://develop.svn.wordpress.org/trunk@1318 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
55f62a7fd7
commit
c85f72f101
@ -231,18 +231,13 @@ default:
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Profile'); ?></h2>
|
||||
<form name="profile" id="profile" action="profile.php" method="post">
|
||||
<p>
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />
|
||||
</p>
|
||||
<p><strong><?php _e('Login:') ?></strong> <?php echo $profiledata->user_login ?> | <strong><?php _e('Level:') ?></strong>
|
||||
<?php echo $profiledata->user_level ?> | <strong><?php _e('Posts:') ?></strong>
|
||||
<?php
|
||||
$posts = get_usernumposts($user_ID);
|
||||
echo $posts;
|
||||
?>
|
||||
</p>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
th { text-align: right; }
|
||||
</style>
|
||||
@ -250,10 +245,21 @@ default:
|
||||
<tr>
|
||||
<th width="33%" scope="row"><?php _e('Login:') ?></th>
|
||||
<td width="73%"><?php echo $profiledata->user_login; ?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="33%" scope="row"><?php _e('First name:') ?></th>
|
||||
<td width="73%"><input type="text" name="newuser_firstname" id="newuser_firstname" value="<?php echo $profiledata->user_firstname ?>" /></td>
|
||||
<th scope="row"><?php _e('Level:') ?></th>
|
||||
<td><?php echo $profiledata->user_level; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Posts:') ?></th>
|
||||
<td> <?php
|
||||
$posts = get_usernumposts($user_ID);
|
||||
echo $posts;
|
||||
?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('First name:') ?></th>
|
||||
<td><input type="text" name="newuser_firstname" id="newuser_firstname" value="<?php echo $profiledata->user_firstname ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Last name:') ?></th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user