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:
saxmatt 2004-05-19 07:09:32 +00:00
parent a82011d952
commit 68e14b88b0
1 changed files with 16 additions and 10 deletions

View File

@ -231,18 +231,13 @@ default:
</div> </div>
<?php } ?> <?php } ?>
<div class="wrap"> <div class="wrap">
<h2><?php _e('Profile'); ?></h2>
<form name="profile" id="profile" action="profile.php" method="post"> <form name="profile" id="profile" action="profile.php" method="post">
<p> <p>
<input type="hidden" name="action" value="update" /> <input type="hidden" name="action" value="update" />
<input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" /> <input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />
</p> </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"> <style type="text/css" media="screen">
th { text-align: right; } th { text-align: right; }
</style> </style>
@ -250,10 +245,21 @@ default:
<tr> <tr>
<th width="33%" scope="row"><?php _e('Login:') ?></th> <th width="33%" scope="row"><?php _e('Login:') ?></th>
<td width="73%"><?php echo $profiledata->user_login; ?></td> <td width="73%"><?php echo $profiledata->user_login; ?></td>
</tr> </tr>
<tr> <tr>
<th width="33%" scope="row"><?php _e('First name:') ?></th> <th scope="row"><?php _e('Level:') ?></th>
<td width="73%"><input type="text" name="newuser_firstname" id="newuser_firstname" value="<?php echo $profiledata->user_firstname ?>" /></td> <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>
<tr> <tr>
<th scope="row"><?php _e('Last name:') ?></th> <th scope="row"><?php _e('Last name:') ?></th>