From: Reini U. <ru...@us...> - 2001-12-21 00:50:54
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory usw-pr-cvs1:/tmp/cvs-serv26451/plugin Modified Files: UserPage.php Log Message: some xhtml, fixed error with no admin password Index: UserPage.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/UserPage.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UserPage.php 2001/12/02 02:31:17 1.1 --- UserPage.php 2001/12/21 00:50:51 1.2 *************** *** 57,67 **** $text .= "<p> Please enter your name as $wst (e.g. John Smith as JohnSmith)."; } ! $text .= "<p><form>Sign in: <input type=text name=uname>"; foreach (array('edit', 'browse') as $k) if ($$k) { $v = $$k; ! $text .= "<input type=hidden name=$k value=$v>"; } ! $text .= '<input type=submit value="Sign In">'; $text .= "</form>"; return $text; --- 57,67 ---- $text .= "<p> Please enter your name as $wst (e.g. John Smith as JohnSmith)."; } ! $text .= '<p><form>Sign in: <input type="text" name="uname">'; foreach (array('edit', 'browse') as $k) if ($$k) { $v = $$k; ! $text .= "<input type=\"hidden\" name=\"$k\" value=\"$v\">"; } ! $text .= '<input type="submit" value="Sign In">'; $text .= "</form>"; return $text; |