From: Harvie Date: Tue, 29 May 2012 12:31:45 +0000 (+0200) Subject: Trasovatelnejsi templaty X-Git-Url: https://git.harvie.cz/?p=mirrors%2FKyberia-bloodline.git;a=commitdiff_plain;h=bb1dde27605f903685e3eccaf32c3e399b0cbb7c Trasovatelnejsi templaty --- diff --git a/wwwroot/inc/smarty/resource.kyberia.php b/wwwroot/inc/smarty/resource.kyberia.php index 916309a..0c1d51d 100644 --- a/wwwroot/inc/smarty/resource.kyberia.php +++ b/wwwroot/inc/smarty/resource.kyberia.php @@ -17,9 +17,9 @@ function db_get_template ($tpl_name, &$tpl_source, &$smarty_obj) { if (is_numeric($template_id)) { $tpl_source = nodes::getNodeById($template_id,empty($_SESSION['user_id']) ? "" : $_SESSION['user_id']); } - $tpl_source = "\n\n". + $tpl_source = "\n\n\n\n". $tpl_source['node_content']. - "\n\n"; + "\n\n\n\n"; // return true on success, false to generate failure notification return (bool)$tpl_source;