Revert "Move call to try_login to login_form."

This reverts commit 77d93c4946.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Callan Barrett 2008-12-20 18:11:46 +09:00 committed by Loui Chang
parent 3de0a2ade3
commit a386ab5835
2 changed files with 3 additions and 6 deletions

View file

@ -343,6 +343,9 @@ function html_header($title="") {
global $LANG; global $LANG;
global $SUPPORTED_LANGS; global $SUPPORTED_LANGS;
$login = try_login();
$login_error = $login['error'];
$title = htmlspecialchars($title, ENT_QUOTES); $title = htmlspecialchars($title, ENT_QUOTES);
include('header.php'); include('header.php');

View file

@ -1,9 +1,3 @@
<?php
include_once('acctfuncs.inc');
$login = try_login();
$login_error = $login['error'];
?>
<span id="login_bar"> <span id="login_bar">
<?php <?php
if (isset($_COOKIE["AURSID"])) { if (isset($_COOKIE["AURSID"])) {