GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jeste jednou trasovani
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
resource.kyberia.php
diff --git
a/wwwroot/inc/smarty/resource.kyberia.php
b/wwwroot/inc/smarty/resource.kyberia.php
index bf22a85a48800606a75f7edc5c95d6662819750c..57f687b7f3afd2f4f6c4c0bb386be3d66298b856 100644
(file)
--- 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 = nodes::getNodeById($template_id,empty($_SESSION['user_id']) ? "" : $_SESSION['user_id']);
}
$template_name = $tpl_source['node_name'];
- $tpl_source = "\n\n<!-- BEGIN TEMPLATE $template_id [$template_name] -->\n\n".
+ $template_signature = 'TEMPLATE /k/'.base_convert($template_id,10,36).' /id/'.$template_id.' ['.$template_name.']';
+ $tpl_source = "\n\n<!-- BEGIN $template_signature -->\n\n".
$tpl_source['node_content'].
$tpl_source['node_content'].
- "\n\n<!--
END TEMPLATE $template_id [$template_name]
-->\n\n";
+ "\n\n<!--
END $template_signature
-->\n\n";
// return true on success, false to generate failure notification
return (bool)$tpl_source;
// return true on success, false to generate failure notification
return (bool)$tpl_source;
This page took
0.135593 seconds
and
4
git commands to generate.