From 065440d55b36e7402b330469a5b2f616c9c8b642 Mon Sep 17 00:00:00 2001 From: niekt0 Date: Sat, 23 Oct 2010 12:40:53 +0200 Subject: [PATCH] typo fix --- wwwroot/nodes.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index f5d6d3e..eec9870 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -56,10 +56,12 @@ elseif (!empty($_GET['node_id'])) { $node = nodes::getNodeById($_GET['node_id'],$_SESSION['user_id']); } +//XXX Paths are wrong (!) //loading smarty template engine and setting main parameters require(SMARTY_DIR.'Smarty.class.php'); $smarty = new Smarty; +//$smarty->php_handling = SMARTY_PHP_REMOVE; //XXX $smarty->template_dir = TEMPLATE_DIR.TEMPLATE_SET; //echo TEMPLATE_DIR.TEMPLATE_SET; //echo $smarty->template_dir; @@ -327,7 +329,7 @@ elseif (!$permissions['r'] && $_GET['magic_word']) { else { - $log->log('enter',$node['node_id'],'failed'); XXX + $log->log('enter',$node['node_id'],'failed'); } @@ -388,11 +390,6 @@ if ($node['node_system_access']=='crypto') { $smarty->assign('crypto_pass',$_SESSION['crypto'][$node['node_id']]); } -//hlaska -//$error .= "ocakavajte planovany vypadok okolo 6 hodiny
-//s pozdravom br .)"; -//$error .= "dnes od 22:00 zurka v subclube! ucast povinna!"; - $smarty->assign('error',$error); $smarty->assign('permissions',$permissions); $smarty->assign('current_vector',$node['node_vector']); -- 2.30.2