phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.155,1.156


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.155,1.156
Date: Thu, 03 Oct 2002 17:37:19 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv14177

Modified Files:
        functions.inc.php 
Log Message:
update to use xslt

Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.155
retrieving revision 1.156
diff -C2 -r1.155 -r1.156
*** functions.inc.php   28 Sep 2002 20:01:44 -0000      1.155
--- functions.inc.php   3 Oct 2002 21:37:17 -0000       1.156
***************
*** 332,335 ****
--- 332,338 ----
                
\*************************************************************************/
                $GLOBALS['phpgw']->template = 
CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
+ 
+               $GLOBALS['phpgw']->xslttpl = 
CreateObject('phpgwapi.xslttemplates',PHPGW_TEMPLATE_DIR);
+ 
                /* load required tpl files */
                $GLOBALS['phpgw']->template->set_file('common', 'common.tpl');
***************
*** 611,614 ****
--- 614,620 ----
  
                                
$GLOBALS['phpgw']->template->set_root(PHPGW_APP_TPL);
+ 
+                               
$GLOBALS['phpgw']->xslttpl->set_root(PHPGW_APP_TPL);
+ 
                                $GLOBALS['phpgw']->template->halt_on_error = 
'report';
                                if (! preg_match ("/phpgwapi/i", PHPGW_APP_INC) 
&& file_exists(PHPGW_APP_INC . '/functions.inc.php') && !MENUACTION)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]