cvs: php-master-web /manage users.php
| From: | Hannes Magnusson | Date: | Wed, 17 Dec 2008 11:40:45 +0000 |
| Subject: | cvs: php-master-web /manage users.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-3344@lists.php.net to get a copy of this message | ||
bjori Wed Dec 17 11:40:45 2008 UTC
Modified files:
/php-master-web/manage users.php
Log:
- Print the cvs username
- Fix a typo preventing the "Show people on my guarantine list" link never to show
http://cvs.php.net/viewvc.cgi/php-master-web/manage/users.php?r1=1.51&r2=1.52&diff_format=u
Index: php-master-web/manage/users.php
diff -u php-master-web/manage/users.php:1.51 php-master-web/manage/users.php:1.52
--- php-master-web/manage/users.php:1.51 Tue Dec 16 09:38:24 2008
+++ php-master-web/manage/users.php Wed Dec 17 11:40:45 2008
@@ -211,6 +211,12 @@
<input type="checkbox" name="in[enable]"<?php echo $row[enable] ?
" checked" : "";?> /> Enable email for my account.
</td>
</tr>
+<?php if (!is_admin($user)) {?>
+<tr>
+ <th align="right">CVS username:</th>
+ <td><?php echo htmlspecialchars($row[username]);?></td>
+</tr>
+<?php } ?>
<tr>
<td colspan="2">Leave password fields blank to leave password
unchanged.</td>
</tr>
@@ -241,7 +247,7 @@
<tr>
<th align="right">Use Challenge/Response spam protection?</th>
<td><input type="checkbox" name="in[spamprotect]"<?php echo
$row[spamprotect] ? " checked" : "";?> />
- <?php if ($username == $user) { ?>
+ <?php if ($row[username] == $user) { ?>
<br/>
<a href="challenge-response.php">Show people on my quarantine list</a>
<?php } ?>