From: Harvie Date: Fri, 22 Jun 2012 01:12:38 +0000 (+0200) Subject: Jeste jednou trasovani X-Git-Url: https://git.harvie.cz/?p=mirrors%2FKyberia-bloodline.git;a=commitdiff_plain;h=c09827561a4cd9e5db5b702d144d9efea3ae92cd Jeste jednou trasovani --- diff --git a/wwwroot/inc/smarty/resource.kyberia.php b/wwwroot/inc/smarty/resource.kyberia.php index bf22a85..57f687b 100644 --- a/wwwroot/inc/smarty/resource.kyberia.php +++ b/wwwroot/inc/smarty/resource.kyberia.php @@ -18,9 +18,10 @@ function db_get_template ($tpl_name, &$tpl_source, &$smarty_obj) { $tpl_source = nodes::getNodeById($template_id,empty($_SESSION['user_id']) ? "" : $_SESSION['user_id']); } $template_name = $tpl_source['node_name']; - $tpl_source = "\n\n\n\n". + $template_signature = 'TEMPLATE /k/'.base_convert($template_id,10,36).' /id/'.$template_id.' ['.$template_name.']'; + $tpl_source = "\n\n\n\n". $tpl_source['node_content']. - "\n\n\n\n"; + "\n\n\n\n"; // return true on success, false to generate failure notification return (bool)$tpl_source;