[Openfirst-cvscommit] base/config auth.php,1.3,1.4
Brought to you by:
xtimg
From: <dav...@us...> - 2003-08-22 09:08:46
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv14937 Modified Files: auth.php Log Message: Changed the design of showlogin(). I added a table and header to it so that it looks decent. I also added a few breaks to make sure it centers properly. Index: auth.php =================================================================== RCS file: /cvsroot/openfirst/base/config/auth.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** auth.php 28 Jun 2003 17:29:29 -0000 1.3 --- auth.php 20 Aug 2003 23:11:50 -0000 1.4 *************** *** 50,58 **** // Show a login form for the user. ! echo("<form action='".$_SERVER["PHP_SELF"] . "' method='post'> ! Login: <input name='login' type='text' /> ! <br />Password: <input name='password' type='password' /> ! <br /><input type='submit' value='Login'> ! </form>"); return(0); } --- 50,74 ---- // Show a login form for the user. ! echo("<br><br><form action='". $_SERVER["PHP_SELF"] . "' method='post'> ! <table width='27%'> ! <tr> ! <th width='36%'> </th> ! <th width='64%'>Account Login</th> ! </tr> ! <tr> ! <td><div align='right'>Username:</div></td> ! <td><input name='login' type='text' /> ! </td> ! </tr> ! <tr> ! <td><div align='right'>Password:</div></td> ! <td> <input name='password' type='password' /></td> ! </tr> ! <tr> ! <td> </td> ! <td><input type='submit' value='Login'></td> ! </tr> ! </table> ! </form><br><br>"); return(0); } |