mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-28 10:06:33 +00:00
Syntax styling
This commit is contained in:
parent
a112fd71cd
commit
66eb734917
1 changed files with 10 additions and 8 deletions
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* THIS FILE SHOULD ONLY INCLUDE AUTHENTIFICATION RELATED FUNCTIONS
|
* THIS FILE SHOULD ONLY INCLUDE AUTHENTIFICATION RELATED FUNCTIONS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function nt_auth_set_logging_count($user_id)
|
function nt_auth_set_logging_count($user_id)
|
||||||
{
|
{
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function nt_auth_check_login($user,$passwd)
|
function nt_auth_check_login($user, $passwd)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db;
|
||||||
|
|
||||||
|
@ -71,14 +71,15 @@
|
||||||
{
|
{
|
||||||
global $tpl;
|
global $tpl;
|
||||||
|
|
||||||
$tpl->assign('tool_login_title','Login');
|
$tpl->assign('tool_login_title', 'Login');
|
||||||
$tpl->display('index_login.tpl');
|
$tpl->display('index_login.tpl');
|
||||||
}
|
}
|
||||||
|
|
||||||
function nt_auth_start_session()
|
function nt_auth_start_session()
|
||||||
{
|
{
|
||||||
global $NEL_SETUP_SESSION;
|
global $NEL_SETUP_SESSION;
|
||||||
if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION)) {
|
if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION))
|
||||||
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +88,7 @@
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
header("Expires: Mon, 01 May 2000 06:00:00 GMT");
|
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: no-store, no-cache, must-revalidate");
|
||||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
|
@ -96,7 +97,8 @@
|
||||||
function nt_auth_stop_session()
|
function nt_auth_stop_session()
|
||||||
{
|
{
|
||||||
global $NEL_SETUP_SESSION;
|
global $NEL_SETUP_SESSION;
|
||||||
if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION)) {
|
if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION))
|
||||||
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +110,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function nt_auth_set_session_var($name,$value)
|
function nt_auth_set_session_var($name, $value)
|
||||||
{
|
{
|
||||||
global $NELTOOL;
|
global $NELTOOL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue