phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: Dave Hall
Subject: [Phpgroupware-cvs] etemplate/inc class.uietemplate.inc.php
Date: Wed, 06 Sep 2006 14:00:48 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    etemplate
Changes by:     Dave Hall <skwashd>     06/09/06 14:00:48

Modified files:
        inc            : class.uietemplate.inc.php 

Log message:
        more E_ALL

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/etemplate/inc/class.uietemplate.inc.php?cvsroot=phpgroupware&r1=1.67&r2=1.68

Patches:
Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- class.uietemplate.inc.php   6 Sep 2006 13:48:44 -0000       1.67
+++ class.uietemplate.inc.php   6 Sep 2006 14:00:48 -0000       1.68
@@ -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.uietemplate.inc.php,v 1.67 2006/09/06 13:48:44 skwashd 
Exp $
+* @version $Id: class.uietemplate.inc.php,v 1.68 2006/09/06 14:00:48 skwashd 
Exp $
 */
        include_once(PHPGW_INCLUDE_ROOT . 
'/etemplate/inc/class.boetemplate.inc.php');
 
@@ -225,7 +225,8 @@
                        $content = 
$this->complete_array_merge($session_data['changes'],$content);
                        //echo "process_exec($this->name) 
merge(changes,content) ="; _debug_array($content);
 
-                       if ($GLOBALS['phpgw_info']['etemplate']['loop'])
+                       if ( isset($GLOBALS['phpgw_info']['etemplate']['loop'])
+                               && $GLOBALS['phpgw_info']['etemplate']['loop'] )
                        {
                                if ($session_data['hooked'] != '')      // set 
previous phpgw_body if we are called as hook
                                {
@@ -1149,7 +1150,14 @@
                                        $value = '';    // blur-values is equal 
to emtpy
                                }
                                //echo "<p>process_show($this->name) $type: 
$form_name = '$value'</p>\n";
-                               list($type,$sub) = explode('-',$type);
+                               $sub = '';
+                               $tmp = explode('-', $type);
+                               $type = $tmp[0];
+                               if ( count($tmp) == 2 )
+                               {
+                                       $sub = $tmp[1];
+                               }
+                               unset($tmp);
                                switch ($type)
                                {
                                        case 'ext':




reply via email to

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