[Xfce4-commits] <forum:master> Enable the checkbox in the profile spam plugin by default.

Nick Schermer noreply at xfce.org
Fri Nov 12 18:40:02 CET 2010


Updating branch refs/heads/master
         to 293bc0a07183183923cd2e26ac5f89703adca8e8 (commit)
       from a029c20b24644d5541800616e22215f11562841b (commit)

commit 293bc0a07183183923cd2e26ac5f89703adca8e8
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Nov 12 18:37:49 2010 +0100

    Enable the checkbox in the profile spam plugin by default.

 plugins/AMP_Profile_spam.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/AMP_Profile_spam.php b/plugins/AMP_Profile_spam.php
index 5bdcc10..a063dc7 100644
--- a/plugins/AMP_Profile_spam.php
+++ b/plugins/AMP_Profile_spam.php
@@ -107,7 +107,7 @@ if (isset($_POST['delete-users']) && is_array($_POST['delete-users']))
 						{
 						echo '<tr>
 							<td style="width:150px;"><a href="profile.php?id='.$cur_user['id'].'">'.pun_htmlspecialchars($cur_user['username']).'</a></td>
-							<td style="width:50px;"><input type="checkbox" name="delete-users[]" value="'.$cur_user['id'].'" /></td>
+							<td style="width:50px;"><input type="checkbox" name="delete-users[]" value="'.$cur_user['id'].'" checked /></td>
 							<td> '.pun_htmlspecialchars(wordwrap(stripslashes($cur_user['signature'].$cur_user['url']), 30, ' ', true)).' </td>
 						</tr>';
 						continue 2;



More information about the Xfce4-commits mailing list