Update of /cvsroot/comoblog/comoblog/include
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27663/include
Modified Files:
xtemplate.inc.php
Log Message:
1280321 - Fix the dollar sign issue by upgrading xtemplate
Index: xtemplate.inc.php
===================================================================
RCS file: /cvsroot/comoblog/comoblog/include/xtemplate.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- xtemplate.inc.php 2 Sep 2005 02:35:30 -0000 1.3
+++ xtemplate.inc.php 19 Feb 2008 05:48:29 -0000 1.4
@@ -1,385 +1,1328 @@
-<?php
-
-class XTemplate {
-
-/*
- xtemplate class 0.2.4-3
- html generation with templates - fast & easy
- copyright (c) 2000 barnab� debreceni [cr...@us...]
- code optimization by Ivar Smolin <ok...@li...> 14-march-2001
- latest stable & CVS version always available @ http://sourceforge.net/projects/xtpl
-
[...1682 lines suppressed...]
+ $this->filecontents = $before . "\n" . $this->filecontents . "\n" . $after;
+ }
+
+ /**
+ * Debug function - var_dump wrapped in '<pre></pre>' tags
+ *
+ * @access private
+ * @param multiple var_dumps all the supplied arguments
+ */
+ function _pre_var_dump ($args) {
+
+ if ($this->debug) {
+ echo '<pre>';
+ var_dump(func_get_args());
+ echo '</pre>';
+ }
+ }
+} /* end of XTemplate class. */
+
+?>
|