From f39251cc93972054b41d22835e63674c59a3ac43 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 18 Aug 2008 12:18:09 -0400 Subject: [PATCH] Fix the log-in screen * login.php * templates/login.tpl --- login.php | 4 +--- templates/login.tpl | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/login.php b/login.php index 75f1be8..89270da 100755 --- a/login.php +++ b/login.php @@ -33,8 +33,6 @@ require_once('./global.php'); require_once('./includes/api_user.php'); require_once('./includes/class_api_error.php'); -APIError(array(new API_Error_Handler($message), 'user_cumulative')); - // ################################################################### if (bugdar::$userinfo['userid'] AND $_REQUEST['do'] != 'logout' AND $_POST['do'] != 'cplogin' AND $_REQUEST['do'] != 'cplogout') @@ -46,7 +44,7 @@ if (bugdar::$userinfo['userid'] AND $_REQUEST['do'] != 'logout' AND $_POST['do'] if (empty($_REQUEST['do'])) { - eval('$template->flush("' . $template->fetch('login') . '");'); + BSTemplate::fetch('login')->evaluate()->flush(); } // ################################################################### diff --git a/templates/login.tpl b/templates/login.tpl index 31cd470..8a02d62 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -8,7 +8,7 @@ -$header +<%- $header %>
@@ -35,4 +35,4 @@ $header
-$footer \ No newline at end of file +<%- $footer %> \ No newline at end of file -- 2.43.5