[geeklog-hg] geeklog: Added coment to template library and removed echo statment
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Wed Jun 19 20:37:10 EDT 2013
changeset 9104:b44d678533f6
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/b44d678533f6
user: Tom <websitemaster at cogeco.net>
date: Wed Jun 19 15:18:31 2013 -0400
description:
Added coment to template library and removed echo statment
diffstat:
system/lib-template.php | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r e0d5123cf29a -r b44d678533f6 system/lib-template.php
--- a/system/lib-template.php Wed Jun 19 11:54:24 2013 -0400
+++ b/system/lib-template.php Wed Jun 19 15:18:31 2013 -0400
@@ -110,6 +110,12 @@
}
+/*
+ * Implement *some* of the Plugin API functions for templates. While templates
+ * aren't a plugin (and likely never will be), implementing some of the API
+ * functions here will save us from doing special handling elsewhere.
+ */
+
/**
* Config Option has changed. (use plugin api)
*
@@ -119,7 +125,7 @@
function plugin_configchange_template($group, $changes)
{
global $_TABLES, $_CONF;
-echo "ha";
+
// If template comments disabled or enabled clear all cached templates
if ($group == 'Core' AND in_array('template_comments', $changes)) {
CTL_clearCache();
More information about the geeklog-cvs
mailing list