<div class="wrap">
<h2><?php _e('Registration Requests Pending Approval','wp-user-moderation'); ?></h2>
<?php if(!$users = $this->getPendingUsers()) : ?>
<div class="error">
<ul>
<li><?php _e('No Pending Requests at this time for Approval...','wp-user-moderation'); ?></li>
</ul>
</div>
<?php else : ?>
<table class="widefat">
<tbody>
<tr class="thead">
<th><?php _e('ID','wp-user-moderation') ?></th>
<th><?php _e('Username','wp-user-moderation') ?></th>
<th>City</th>
<th><?php _e('First Name','wp-user-moderation') ?></th>
<th><?php _e('Last Name','wp-user-moderation') ?></th>
<th><?php _e('E-mail','wp-user-moderation') ?></th>
<th colspan="2" style="text-align: center"><?php _e('Actions','wp-user-moderation') ?></th>
</tr>
</tbody>
<tbody>
<?php foreach($users as $user_object) : ?>
<tr class="alternate">
<td><?php echo $user_object->ID; ?></td>
<td><?php echo $user_object->user_login; ?></td>
<td><?php echo get_user_field("city"); ?></td>
<td><?php echo get_usermeta($user_object->ID,'first_name'); ?></td>
<td><?php echo get_usermeta($user_object->ID,'last_name'); ?></td>
<td><?php echo $user_object->user_email; ?></td>
<td><a href="<?php echo $_SERVER['PHP_SELF'];?>?page=WPUserMod&userid=<?php echo $user_object->ID; ?>&do=discard" class="edit"><?php _e('Discard','wp-user-moderation') ?></a></td>
<td><a href="<?php echo $_SERVER['PHP_SELF'];?>?page=WPUserMod&userid=<?php echo $user_object->ID; ?>&do=approve" class="edit"><?php _e('Approve','wp-user-moderation') ?></a></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
</div>
<th>City</th>
<td><?php echo get_user_field("city"); ?></td>
Statistics: Posted by mctwisty — February 26th, 2011, 1:35 am
Statistics: Posted by Cristián Lávaque — February 23rd, 2011, 10:08 pm
Statistics: Posted by mctwisty — February 23rd, 2011, 3:34 pm