From 66eb734917a8a090436b87c99f3e2b0954db4914 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 6 Sep 2014 20:59:21 +0200 Subject: [PATCH] Syntax styling --- code/web/public_php/admin/functions_auth.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/code/web/public_php/admin/functions_auth.php b/code/web/public_php/admin/functions_auth.php index e65b90e83..6f478bbc9 100644 --- a/code/web/public_php/admin/functions_auth.php +++ b/code/web/public_php/admin/functions_auth.php @@ -1,8 +1,8 @@ assign('tool_login_title','Login'); + $tpl->assign('tool_login_title', 'Login'); $tpl->display('index_login.tpl'); } function nt_auth_start_session() { global $NEL_SETUP_SESSION; - if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION)) { + if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION)) + { return; } @@ -87,7 +88,7 @@ session_start(); header("Expires: Mon, 01 May 2000 06:00:00 GMT"); - header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); + header("Last-Modified: ". gmdate("D, d M Y H:i:s") ." GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); @@ -96,7 +97,8 @@ function nt_auth_stop_session() { global $NEL_SETUP_SESSION; - if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION)) { + if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION)) + { return; } @@ -108,7 +110,7 @@ } } - function nt_auth_set_session_var($name,$value) + function nt_auth_set_session_var($name, $value) { global $NELTOOL;