Update of /cvsroot/owp/owp/thirdparty/smarty/libs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11500/thirdparty/smarty/libs
Modified Files:
Smarty.class.php Smarty_Compiler.class.php
Log Message:
Made compilations routine of owp objects
Index: Smarty_Compiler.class.php
===================================================================
RCS file: /cvsroot/owp/owp/thirdparty/smarty/libs/Smarty_Compiler.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Smarty_Compiler.class.php 14 Apr 2006 09:18:44 -0000 1.2
--- Smarty_Compiler.class.php 19 Apr 2006 02:26:33 -0000 1.3
***************
*** 74,77 ****
--- 74,79 ----
var $_strip_depth = 0;
var $_additional_newline = "\n";
+
+ var $parent = false; //link to the parent smarty object
/**#@-*/
Index: Smarty.class.php
===================================================================
RCS file: /cvsroot/owp/owp/thirdparty/smarty/libs/Smarty.class.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Smarty.class.php 13 Apr 2006 01:18:20 -0000 1.1.1.1
--- Smarty.class.php 19 Apr 2006 02:26:33 -0000 1.2
***************
*** 561,564 ****
--- 561,571 ----
*/
var $_cache_including = false;
+
+ /**
+ * object of owp class
+ *
+ * @var towp
+ */
+ var $owp = false;
/**#@-*/
***************
*** 1482,1485 ****
--- 1489,1493 ----
$smarty_compiler->_config = $this->_config;
$smarty_compiler->request_use_auto_globals = $this->request_use_auto_globals;
+ $smarty_compiler->parent = &$this;
if (isset($cache_include_path) && isset($this->_cache_serials[$cache_include_path])) {
|