[Openfirst-cvscommit] base/config first.php,1.27,1.28
Brought to you by:
xtimg
From: <i-...@us...> - 2003-12-27 00:15:03
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv17220/config Modified Files: first.php Log Message: Moved registration functionality to the Members module. This feature can be disabled when openFIRST is set up and is disabled by default. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** first.php 23 Dec 2003 17:06:16 -0000 1.27 --- first.php 27 Dec 2003 00:15:00 -0000 1.28 *************** *** 47,50 **** --- 47,55 ---- $cookielogins='$pass_save_disabled=true;'; } + if(isset($_POST["allowreg"])&&$_POST["allowreg"]=="yes"){ + $allowreg='$regenabled=true;'; + }else{ + $allowreg='$regenabled=false;'; + } fputs($of, "<?php /* *************** *** 78,81 **** --- 83,87 ---- $cookielogins + $allowreg \$home = '" . $_POST["home"] . "'; \$header = '" . $_POST["header"] . "'; *************** *** 285,292 **** <td><input type="text" name="fbasepath" value="<?php chdir(".."); echo getcwd(); ?>"></td> </tr> <tr> ! <td>Allow openFIRST users to save their passwords?</td> <td><input type="checkbox" name="cookielogins" id="cookielogins" value="yes" checked> <label for="cookielogins">Allowed</label></td> </tr> <tr> --- 291,310 ---- <td><input type="text" name="fbasepath" value="<?php chdir(".."); echo getcwd(); ?>"></td> </tr> + <tr> + <td class="sub"><div align="center">Security Options</div></td> + <td class="sub"> </td> + </tr> <tr> ! <td>Allow openFIRST users to save their passwords?<br> <font size="1">This feature uses cookies to ! automatically log in users into the openFIRST portal.</font></td> <td><input type="checkbox" name="cookielogins" id="cookielogins" value="yes" checked> <label for="cookielogins">Allowed</label></td> + </tr> + <tr> + <td>Allow users to register on the portal?<br> <font size="1">Enabling this option will + allow users to register on the website and log in to access the members area. Be careful when + using this option.</font></td> + <td><input type="checkbox" name="allowreg" id="allowreg" value="yes"> + <label for="allowreg">Allowed</label></td> </tr> <tr> |