cvs: php-master-web /manage users.php

From: Date: Fri, 06 Aug 2004 09:29:20 +0000
Subject: cvs: php-master-web /manage users.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-25711@lists.php.net to get a copy of this message
wez Fri Aug 6 05:29:20 2004 EDT Modified files: /php-master-web/manage users.php Log: Configure SA threshold http://cvs.php.net/diff.php/php-master-web/manage/users.php?r1=1.36&r2=1.37&ty=u Index: php-master-web/manage/users.php diff -u php-master-web/manage/users.php:1.36 php-master-web/manage/users.php:1.37 --- php-master-web/manage/users.php:1.36 Fri Aug 6 04:54:58 2004 +++ php-master-web/manage/users.php Fri Aug 6 05:29:19 2004 @@ -112,6 +112,7 @@ $cvsaccess = $in[cvsaccess] ? 1 : 0; $spamprotect = $in[spamprotect] ? 1 : 0; $verified = $in[verified] ? 1 : 0; + $use_sa = (int)$in[use_sa]; if ($id) { # update main table data @@ -122,6 +123,7 @@ . (is_admin($user) ? ",cvsaccess=$cvsaccess" : "") . ",spamprotect=$spamprotect" . ",verified=$verified" + . ",use_sa=$use_sa" . " WHERE userid=$id"; db_query($query); if(strlen($in['purpose'])) { @@ -140,6 +142,7 @@ . ($in[passwd] ? ",passwd='$in[passwd]'" : "") . (is_admin($user) ? ",cvsaccess=$cvsaccess" : "") . ",spamprotect=$spamprotect" + . ",use_sa=$use_sa" . ",verified=$verified"; db_query($query); @@ -201,7 +204,8 @@ <?php }?> <tr> <th align="right">Use spam protection?</th> - <td><input type="checkbox" name="in[spamprotect]"<?php echo $row[spamprotect] ? " checked" : "";?> /></td> + <td><input type="checkbox" name="in[spamprotect]"<?php echo $row[spamprotect] ? " checked" : "";?> /><br/> + Spam Assassin threshold: <input type="text" name="in[use_sa]" value="<?php echo $row[use_sa] ?>" size="4" maxlength="4"/></td> </tr> <tr> <th align="right">Verified?</th>

« previous php.mirrors (#25711) next »