typo fix
authorniekt0 <niekt0@kyberia.cz>
Sat, 23 Oct 2010 10:40:53 +0000 (12:40 +0200)
committerHarvie <tomas@mudrunka.cz>
Sun, 24 Oct 2010 01:43:05 +0000 (03:43 +0200)
wwwroot/nodes.php

index f5d6d3e2c6fbe99c3c20472f897f9e4243846c7b..eec9870242a9ec3f525aeb224b991c6d4af1c854 100644 (file)
@@ -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 <br>
-//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']);
This page took 0.124471 seconds and 4 git commands to generate.