cvs: pearweb /include pear-auth.php

From: Date: Tue, 15 Jun 2004 17:12:02 +0000
Subject: cvs: pearweb /include pear-auth.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20692@lists.php.net to get a copy of this message
danielc Tue Jun 15 13:12:02 2004 EDT Modified files: /pearweb/include pear-auth.php Log: Use style sheet for login form. http://cvs.php.net/diff.php/pearweb/include/pear-auth.php?r1=1.45&r2=1.46&ty=u Index: pearweb/include/pear-auth.php diff -u pearweb/include/pear-auth.php:1.45 pearweb/include/pear-auth.php:1.46 --- pearweb/include/pear-auth.php:1.45 Sat Jun 12 09:32:44 2004 +++ pearweb/include/pear-auth.php Tue Jun 15 13:12:02 2004 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: pear-auth.php,v 1.45 2004/06/12 13:32:44 danielc Exp $ + $Id: pear-auth.php,v 1.46 2004/06/15 17:12:02 danielc Exp $ */ function auth_reject($realm = null, $message = null) @@ -37,22 +37,27 @@ $GLOBALS['ONLOAD'] = "document.login.PEAR_USER.focus();"; report_error($message); print "<form name=\"login\" action=\"/login.php\" method=\"post\">\n"; - print "<table>\n"; + print '<table class="form-holder" cellspacing="1" border="1">' . "\n"; print " <tr>\n"; - print ' <td>Use<span class="underline">r</span>name:</td>' . "\n"; - print " <td><input size=\"20\" name=\"PEAR_USER\" accesskey=\"r\" /></td>\n"; + print ' <th class="form-label_left">'; + print 'Use<span class="underline">r</span>name:</th>' . "\n"; + print ' <td class="form-input">'; + print '<input size="20" name="PEAR_USER" accesskey="r" /></td>' . "\n"; print " </tr>\n"; print " <tr>\n"; - print " <td>Password:</td>\n"; - print " <td><input size=\"20\" name=\"PEAR_PW\" type=\"password\" /></td>\n"; + print ' <th class="form-label_left">Password:</th>' . "\n"; + print ' <td class="form-input">'; + print '<input size="20" name="PEAR_PW" type="password" /></td>' . "\n"; print " </tr>\n"; print " <tr>\n"; - print " <td>&nbsp;</td>\n"; - print " <td><input type=\"checkbox\" name=\"PEAR_PERSIST\" value=\"on\" id=\"pear_persist_chckbx\" /> <label for=\"pear_persist_chckbx\">Remember username and password.</label></td>\n"; + print ' <th class="form-label_left">&nbsp;</th>' . "\n"; + print ' <td class="form-input" style="white-space: nowrap">'; + print '<input type="checkbox" name="PEAR_PERSIST" value="on" id="pear_persist_chckbx" /> '; + print '<label for="pear_persist_chckbx">Remember username and password.</label></td>' . "\n"; print " </tr>\n"; print " <tr>\n"; - print " <td>&nbsp;</td>\n"; - print " <td><input type=\"submit\" value=\"Log in!\" /></td>\n"; + print ' <th class="form-label_left">&nbsp;</td>' . "\n"; + print ' <td class="form-input"><input type="submit" value="Log in!" /></td>' . "\n"; print " </tr>\n"; print "</table>\n"; print '<input type="hidden" name="PEAR_OLDURL" value="';

« previous php.pear.cvs (#20692) next »