phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] etemplate/inc class.soetemplate.inc.php


From: Caeies
Subject: [Phpgroupware-cvs] etemplate/inc class.soetemplate.inc.php
Date: Sun, 18 Feb 2007 21:01:35 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    etemplate
Changes by:     Caeies <Caeies> 07/02/18 21:01:34

Modified files:
        inc            : class.soetemplate.inc.php 

Log message:
        notices fix ... another one killed :)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/etemplate/inc/class.soetemplate.inc.php?cvsroot=phpgroupware&r1=1.36&r2=1.37

Patches:
Index: class.soetemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.soetemplate.inc.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- class.soetemplate.inc.php   13 Feb 2007 12:59:32 -0000      1.36
+++ class.soetemplate.inc.php   18 Feb 2007 21:01:34 -0000      1.37
@@ -5,7 +5,7 @@
 * @author Ralf Becker <address@hidden>
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License
 * @package etemplate
-* @version $Id: class.soetemplate.inc.php,v 1.36 2007/02/13 12:59:32 sigurdne 
Exp $
+* @version $Id: class.soetemplate.inc.php,v 1.37 2007/02/18 21:01:34 Caeies 
Exp $
 */
 
        /**
@@ -317,7 +317,7 @@
                        {
                                $lang = '.' . $this->lang;
                        }
-                       $first_try = $ext = 
$GLOBALS['phpgw_info']['server']['eTemplate-source'] == 'xslt' ? '.xsl' : 
'.xet';
+                       $first_try = $ext = 
isset($GLOBALS['phpgw_info']['server']['eTemplate-source']) && 
($GLOBALS['phpgw_info']['server']['eTemplate-source']) == 'xslt' ? '.xsl' : 
'.xet';
 
                        while ((!$lang || address@hidden($file = 
PHPGW_SERVER_ROOT . "/$app/templates/$template/$name$lang$ext") &&
                                          address@hidden($file = 
PHPGW_SERVER_ROOT . "/$app/templates/base/$name$lang$ext") &&




reply via email to

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