Trasovatelnejsi templaty
authorHarvie <tomas@mudrunka.cz>
Tue, 29 May 2012 12:31:45 +0000 (14:31 +0200)
committerHarvie <tomas@mudrunka.cz>
Tue, 29 May 2012 12:31:45 +0000 (14:31 +0200)
wwwroot/inc/smarty/resource.kyberia.php

index 916309a88b13676009dafb4693ff40b490538429..0c1d51d453d26880bfddff265857f16471d86825 100644 (file)
@@ -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<!-- BEGIN TEMPLATE $template_id  -->\n".
+       $tpl_source = "\n\n<!-- BEGIN TEMPLATE $template_id  -->\n\n".
                $tpl_source['node_content'].
-               "\n<!-- END TEMPLATE $template_id  -->\n";      
+               "\n\n<!-- END TEMPLATE $template_id  -->\n\n";
 
     // return true on success, false to generate failure notification
      return (bool)$tpl_source;
This page took 0.134548 seconds and 4 git commands to generate.