[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.common.inc.php,1.228
From: |
ceb |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.common.inc.php,1.228 |
Date: |
Thu, 24 Feb 2005 15:58:17 -0000 |
Update of phpgwapi/inc
Modified Files:
Branch: MAIN
class.common.inc.php lines: +11 -3
Log Message:
update for xslt
====================================================
Index: phpgwapi/inc/class.common.inc.php
diff -u phpgwapi/inc/class.common.inc.php:1.227
phpgwapi/inc/class.common.inc.php:1.228
--- phpgwapi/inc/class.common.inc.php:1.227 Tue Jan 18 01:51:20 2005
+++ phpgwapi/inc/class.common.inc.php Tue Jan 18 17:13:59 2005
@@ -4,7 +4,7 @@
* @author Dan Kuykendall <address@hidden>
* @author Joseph Engo <address@hidden>
* @author Mark Peters <address@hidden>
- * @copyright Copyright (C) 2000-2004 Free Software Foundation, Inc
http://www.fsf.org/
+ * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc
http://www.fsf.org/
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage utilities
@@ -732,7 +732,7 @@
}
$tpldir = PHPGW_SERVER_ROOT . '/' . $appname .
'/templates/' . $GLOBALS['phpgw_info']['server']['template_set'];
- $tpldir_default = PHPGW_SERVER_ROOT . '/' . $appname .
'/templates/base';
+ $tpldir_default = PHPGW_SERVER_ROOT . '/' . $appname .
'/templates/simple';
if ($layout)
{
@@ -1074,6 +1074,7 @@
echo parse_navbar();
}
+ /* used for xslt apps without xslt framework */
if($GLOBALS['phpgw_info']['flags']['xslt_app'])
{
$GLOBALS['phpgw']->xslttpl->add_file('app_data');
@@ -1085,6 +1086,13 @@
if (!defined('PHPGW_FOOTER'))
{
define('PHPGW_FOOTER',True);
+
+ /* used for xslt apps without xslt framework */
+ if($GLOBALS['phpgw_info']['flags']['xslt_app'])
+ {
+ $GLOBALS['phpgw']->xslttpl->pparse();
+ }
+
if
(!isset($GLOBALS['phpgw_info']['flags']['nofooter']) ||
!$GLOBALS['phpgw_info']['flags']['nofooter'])
{
include(PHPGW_API_INC .
'/footer.inc.php');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.common.inc.php,1.228,
ceb <=