Formatting fix for profile information.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a82011d952
commit
68e14b88b0
|
@ -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…
Reference in New Issue