[wp-cvs] wordpress/wp-admin users.php,1.31,1.32
Matthew Mullenweg
saxmatt at users.sourceforge.net
Wed Jul 21 07:44:57 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4603/wp-admin
Modified Files:
users.php
Log Message:
Some wording fixes.
Index: users.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/users.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** users.php 21 Jul 2004 07:23:45 -0000 1.31
--- users.php 21 Jul 2004 07:44:55 -0000 1.32
***************
*** 251,266 ****
<th><?php _e('Level') ?></th>
</tr>
! <?php
! foreach ($users as $user) {
! $user_data = get_userdata($user->ID);
! $email = $user_data->user_email;
! $url = $user_data->user_url;
! $short_url = str_replace('http://', '', $url);
! $short_url = str_replace('www.', '', $short_url);
! if ('/' == substr($short_url, -1))
! $short_url = substr($short_url, 0, -1);
! if (strlen($short_url) > 35)
! $short_url = substr($short_url, 0, 32).'...';
! $style = ('class="alternate"' == $style) ? '' : 'class="alternate"';
echo "\n<tr $style>
<td align='center'>$user_data->ID</td>
--- 251,267 ----
<th><?php _e('Level') ?></th>
</tr>
! <?php
! $style = '';
! foreach ($users as $user) {
! $user_data = get_userdata($user->ID);
! $email = $user_data->user_email;
! $url = $user_data->user_url;
! $short_url = str_replace('http://', '', $url);
! $short_url = str_replace('www.', '', $short_url);
! if ('/' == substr($short_url, -1))
! $short_url = substr($short_url, 0, -1);
! if (strlen($short_url) > 35)
! $short_url = substr($short_url, 0, 32).'...';
! $style = ('class="alternate"' == $style) ? '' : 'class="alternate"';
echo "\n<tr $style>
<td align='center'>$user_data->ID</td>
***************
*** 270,285 ****
<td><a href='$url' title='website: $url'>$short_url</a></td>
<td align='center'>";
! if ($user_level >= 3)
! echo " <a href=\"users.php?action=delete&id=".$user_data->ID."\" style=\"color:red;font-weight:bold;\">X</a> ";
! echo $user_data->user_level;
! if ($user_level >= 2)
! echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=up\">+</a> ";
! echo "</td>\n</tr>\n";
! }
! ?>
</table>
! <?php _e('<p>To delete a user, bring his level to zero, then click on the red X.<br />
! <strong>Warning:</strong> deleting a user also deletes all posts made by this user.</p>') ?>
</div>
--- 271,285 ----
<td><a href='$url' title='website: $url'>$short_url</a></td>
<td align='center'>";
! if ($user_level >= 3)
! echo " <a href=\"users.php?action=delete&id=".$user_data->ID."\" style=\"color:red;font-weight:bold;\">X</a> ";
! echo $user_data->user_level;
! if ($user_level >= 2)
! echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=up\">+</a> ";
! echo "</td>\n</tr>\n";
! }
! ?>
</table>
! <p><?php _e('To delete an author or user, bring his level to zero, then click on the red X. <strong>Warning:</strong> Deleting a user also deletes all posts made by this user.') ?></p>
</div>
***************
*** 287,291 ****
} ?>
<div class="wrap">
! <h2><?php _e('Add User') ?></h2>
<?php printf(__('<p>Users can <a href="%s/wp-register.php">register themselves</a> or you can manually create users here.</p>'), get_settings('siteurl')); ?>
<form action="" method="post" name="adduser" id="adduser">
--- 287,291 ----
} ?>
<div class="wrap">
! <h2><?php _e('Add New User') ?></h2>
<?php printf(__('<p>Users can <a href="%s/wp-register.php">register themselves</a> or you can manually create users here.</p>'), get_settings('siteurl')); ?>
<form action="" method="post" name="adduser" id="adduser">
More information about the cvs
mailing list