phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.23,1.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.23,1.24
Date: Wed, 25 Sep 2002 18:22:12 -0400

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv20997

Modified Files:
        class.uietemplate.inc.php 
Log Message:
send app-name as get-var to process_exec to allow the changed /index.php to 
setup for the right app

Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** class.uietemplate.inc.php   25 Sep 2002 16:36:07 -0000      1.23
--- class.uietemplate.inc.php   25 Sep 2002 22:22:10 -0000      1.24
***************
*** 98,101 ****
--- 98,102 ----
                        $id = $this->appsession_id();
  
+ 
                        $GLOBALS['phpgw_info']['etemplate']['loop'] = False;
                        $GLOBALS['phpgw_info']['etemplate']['form_options'] = 
'';       // might be set in show
***************
*** 104,109 ****
                                        
$this->show($this->complete_array_merge($content,$changes),$sel_options,$readonlys,'exec'),
                                        array('etemplate_exec_id' => $id),
!                                       
'/index.php?menuaction=etemplate.etemplate.process_exec','','eTemplate',
!                                       
$GLOBALS['phpgw_info']['etemplate']['form_options']);
  
                        $id = $this->save_appsession($this->as_array(1) + array(
--- 105,110 ----
                                        
$this->show($this->complete_array_merge($content,$changes),$sel_options,$readonlys,'exec'),
                                        array('etemplate_exec_id' => $id),
!                                       
'/index.php?menuaction=etemplate.etemplate.process_exec&app='.$GLOBALS['phpgw_info']['flags']['currentapp'],
!                                       
'','eTemplate',$GLOBALS['phpgw_info']['etemplate']['form_options']);
  
                        $id = $this->save_appsession($this->as_array(1) + array(
***************
*** 171,177 ****
                        else
                        {
-                               // set application name so that lang, etc. works
-                               
list($GLOBALS['phpgw_info']['flags']['currentapp']) = 
explode('.',$session_data['method']);
- 
                                
ExecMethod($session_data['method'],$this->complete_array_merge($content,$session_data['preserv']));
                        }
--- 172,175 ----





reply via email to

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