[Xfce4-commits] [www/forum.xfce.org] 12/79: Enable the checkbox in the profile spam plugin by default.

noreply at xfce.org noreply at xfce.org
Tue May 21 14:48:07 CEST 2019


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       o   l   d   f   o   r   u   m   
   in repository www/forum.xfce.org.

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 file changed, 1 insertion(+), 1 deletion(-)

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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list