cvs: pearweb /tests/site/pear-auth.php/auth_reject test.phpt

From: Date: Wed, 03 Jun 2009 15:41:50 +0000
Subject: cvs: pearweb /tests/site/pear-auth.php/auth_reject test.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-8474@lists.php.net to get a copy of this message
clockwerx Wed Jun 3 15:41:50 2009 UTC Modified files: /pearweb/tests/site/pear-auth.php/auth_reject test.phpt Log: Updated test

http://cvs.php.net/viewvc.cgi/pearweb/tests/site/pear-auth.php/auth_reject/test.phpt?r1=1.5&r2=1.6&diff_format=u Index: pearweb/tests/site/pear-auth.php/auth_reject/test.phpt diff -u pearweb/tests/site/pear-auth.php/auth_reject/test.phpt:1.5 pearweb/tests/site/pear-auth.php/auth_reject/test.phpt:1.6 --- pearweb/tests/site/pear-auth.php/auth_reject/test.phpt:1.5 Wed Jun 3 15:09:46 2009 +++ pearweb/tests/site/pear-auth.php/auth_reject/test.phpt Wed Jun 3 15:41:50 2009 @@ -16,198 +16,53 @@ ?> ===DONE=== --EXPECTF-- -<?xml version="1.0" encoding="ISO-8859-15" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> - <title>PEAR :: Login</title> - <link rel="shortcut icon" href="/gifs/favicon.ico" /> - <link rel="stylesheet" href="/css/style.css" /> - <link rel="alternate" type="application/rss+xml" title="RSS feed" href="http://localhost/feeds/latest.rss" /> -</head> +%s + <title>Login</title> +%s -<body> -<div> -<a id="TOP"></a> -</div> - -<!-- START HEADER --> - -<table id="head-menu" class="head" cellspacing="0" cellpadding="0"> - <tr> - <td class="head-logo"> - <a href="/"><img src="/gifs/pearsmall.gif" style="border: 0; margin: 5px;" alt="PEAR" /></a><br /> - </td> - <td class="head-menu"> - <a href="/account-request.php" class="menuBlack">Register</a>&nbsp;|&nbsp;<a href="/login.php?redirect=" class="menuBlack">Login</a>&nbsp;|&nbsp;<a href="/manual/" class="menuBlack">Documentation</a>&nbsp;|&nbsp;<a href="/packages.php" class="menuBlack">Packages</a>&nbsp;|&nbsp;<a href="/support/" class="menuBlack">Support</a>&nbsp;|&nbsp;<a href="/bugs/" class="menuBlack">Bugs</a> - </td> - </tr> - - <tr> - <td class="head-search" colspan="2"> - <form method="get" action="/search.php"> - <p class="head-search"><span class="accesskey">S</span>earch for - <input class="small" type="text" name="q" value="" size="20" accesskey="s" /> - in the - <select name="in" class="small"> - <option value="packages">Packages</option> - <option value="site">This site (using Yahoo!)</option> - <option value="users">Developers</option> - <option value="pear-dev">Developer mailing list</option> - <option value="pear-general">General mailing list</option> - <option value="pear-cvs">CVS commits mailing list</option> - </select> - <input type="image" src="/gifs/small_submit_white.gif" alt="search" style="vertical-align: middle;" /> - </p> - </form> - </td> - </tr> -</table> - -<!-- END HEADER --> -<!-- START MIDDLE --> - -<table class="middle" cellspacing="0" cellpadding="0"> - <tr> - - -<!-- START LEFT SIDEBAR --> - <td class="sidebar_left"> - <span id="sidebar"> - -<strong>Main:</strong> -<ul class="side_pages"> - <li class="side_page"><a href="/index.php">Home</a></li> - <li class="side_page"><a href="/news/">News</a></li> - <li class="side_page"><a href="/qa/">Quality Assurance</a></li> - <li class="side_page"><a href="/group/">The PEAR Group</a></li> - <li class="side_page"><a href="/mirrors.php">Mirrors</a></li> -</ul> - - -<strong>Documentation:</strong> -<ul class="side_pages"> - <li class="side_page"><a href="/manual/en/about-pear.php">About PEAR</a></li> - <li class="side_page"><a href="/manual/index.php">Manual</a></li> - <li class="side_page"><a href="/manual/en/faq.php">FAQ</a></li> - <li class="side_page"><a href="/support/">Support</a></li> -</ul> - - -<strong>Downloads:</strong> -<ul class="side_pages"> - <li class="side_page"><a href="/packages.php">List Packages</a></li> - <li class="side_page"><a href="/search.php">Search Packages</a></li> - <li class="side_page"><a href="/package-stats.php">Statistics</a></li> -</ul> - - -<strong>Package Proposals:</strong> -<ul class="side_pages"> - <li class="side_page"><a href="/pepr/">Browse Proposals</a></li> - <li class="side_page"><a href="/pepr/pepr-proposal-edit.php">New Proposal</a></li> -</ul> - - -<strong>Developers:</strong> -<ul class="side_pages"> - <li class="side_page"><a href="/map/">Find a Developer</a></li> - <li class="side_page"><a href="/accounts.php">List Accounts</a></li> -</ul> - - </span> - </td> -<!-- END LEFT SIDEBAR --> - - -<!-- START MAIN CONTENT --> - - <td class="content"> - - <div class="errors">ERROR:<ul><li>Please enter your username and password:</li> +<div class="errors">ERROR:<ul><li>Please enter your username and password:</li> </ul></div> -<script type="text/javascript" src="/javascript/md5.js"></script> -<script type="text/javascript"> -function doMD5(frm) { - frm.PEAR_PW.value = hex_md5(frm.PEAR_PW.value); - frm.isMD5.value = 1; -} -</script> -<form onsubmit="javascript:doMD5(document.forms['login'])" name="login" action="/login.php" method="post"> -<input type="hidden" name="isMD5" value="0" /> -<table class="form-holder" cellspacing="1"> - <tr> - <th class="form-label_left">Use<span class="accesskey">r</span>name or email address:</th> - <td class="form-input"><input size="20" name="PEAR_USER" accesskey="r" /></td> - </tr> - <tr> - <th class="form-label_left">Password:</th> - <td class="form-input"><input size="20" name="PEAR_PW" type="password" /></td> - </tr> - <tr> - <th class="form-label_left">&nbsp;</th> - <td class="form-input" style="white-space: nowrap"><input type="checkbox" name="PEAR_PERSIST" value="on" id="pear_persist_chckbx" /> <label for="pear_persist_chckbx">Remember username and password.</label></td> - </tr> - <tr> - <th class="form-label_left">&nbsp;</td> - <td class="form-input"><input type="submit" value="Log in!" /></td> - </tr> -</table> -<input type="hidden" name="PEAR_OLDURL" value="login.php" /> -</form> -<hr /><p><strong>Note:</strong> If you just want to browse the website, you will not need to log in. For all tasks that require authentication, you will be redirected to this form automatically. You can sign up for an account <a href="/account-request.php">over here</a>.</p><p>If you forgot your password, instructions for resetting it can be found on a <a href="https://pear.php.net/about/forgot-password.php">dedicated page</a>.</p> - </td> - -<!-- END MAIN CONTENT --> - - - </tr> -</table> - -<!-- END MIDDLE --> -<!-- START FOOTER --> - -<table class="foot" cellspacing="0" cellpadding="0"> - <tr> - <td class="foot-bar" colspan="2"> -<a href="/about/privacy.php" class="menuBlack">PRIVACY POLICY</a>&nbsp;|&nbsp;<a href="/about/credits.php" class="menuBlack">CREDITS</a> </td> - </tr> - - <tr> - <td class="foot-copy"> - <small> - <a href="/copyright.php">Copyright &copy; 2001-%d The PHP Group</a><br /> - All rights reserved. - </small> - </td> - <td class="foot-source"> - <small> - Bandwidth and hardware provided by: - <i>This is an unofficial mirror!</i> - </small> - </td> - </tr> -</table> -<!-- Onload focus to pear --> -<script type="text/javascript"> -function makeFocus() { - document.login.PEAR_USER.focus();} - -function addEvent(obj, eventType, functionCall){ - if (obj.addEventListener){ - obj.addEventListener(eventType, functionCall, false); - return true; - } else if (obj.attachEvent){ - var r = obj.attachEvent("on"+eventType, functionCall); - return r; - } else { - return false; + <script type="text/javascript" src="/javascript/md5.js"></script> + <script type="text/javascript"> + function doMD5(frm) { + frm.PEAR_PW.value = hex_md5(frm.PEAR_PW.value); + frm.isMD5.value = 1; } -} -addEvent(window, 'load', makeFocus); -</script> - -<!-- END FOOTER --> - -</body> -</html> + </script> + <form onsubmit="javascript:doMD5(document.forms['login'])" name="login" action="/login.php" method="post"> + <input type="hidden" name="isMD5" value="0" /> + <table class="form-holder" cellspacing="1"> + <tr> + <th class="form-label_left"> + Use<span class="accesskey">r</span>name or email address:</th> + <td class="form-input"> + <input size="20" name="PEAR_USER" accesskey="r" type="text" /></td> + </tr> + <tr> + <th class="form-label_left">Password:</th> + <td class="form-input"> + <input size="20" name="PEAR_PW" type="password" /></td> + </tr> + <tr> + <th class="form-label_left">&nbsp;</th> + <td class="form-input" style="white-space: nowrap"> + <input type="checkbox" name="PEAR_PERSIST" value="on" id="pear_persist_chckbx" /> + <label for="pear_persist_chckbx">Remember username and password.</label></td> + </tr> + <tr> + <th class="form-label_left">&nbsp;</td> + <td class="form-input"><input type="submit" value="Log in!" /></td> + </tr> + </table> + <input type="hidden" name="PEAR_OLDURL" value="login.php" /> + </form> + <p><strong>Note:</strong> If you just want to browse the website, + you will not need to log in. For all tasks that require + authentication, you will be redirected to this form + automatically. You can sign up for an account + <a href="/account-request.php">over here</a>.</p> + <p>If you forgot your password, instructions for resetting + it can be found on a <a href="https://pear.php.net/about/forgot-password.php"> + dedicated page</a>.</p> + </div> +%s
« previous php.pear.core (#8474) next »