phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.Template3.inc.ph


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.Template3.inc.php,1.10,1.11
Date: Fri, 13 Jun 2003 23:34:04 -0400

Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site/inc
In directory subversions:/tmp/cvs-serv19662/sitemgr-site/inc

Modified Files:
        class.Template3.inc.php 
Log Message:
minor adjustments


Index: class.Template3.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/sitemgr-site/inc/class.Template3.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.Template3.inc.php     31 May 2003 04:29:22 -0000      1.10
--- class.Template3.inc.php     14 Jun 2003 03:34:02 -0000      1.11
***************
*** 175,186 ****
                                        if 
(in_array($block->module_id,$this->permitted_modules))
                                        {
-                                               if ($block->id)
-                                               {
-                                                       $block->title = 
$this->getblocktitlewrapper($block->id);
-                                                       $blockdata = 
$this->getversionwrapper($block->version);
-                                                       $block->arguments = 
$blockdata->arguments;
-                                                       $block->state = 
$blockdata->state;
-                                               }
- 
                                                //we maintain an array of 
modules we have already used, so we do not 
                                                //have to create them anew. 
Since they are copied, before the transformer
--- 175,178 ----
***************
*** 188,191 ****
--- 180,191 ----
                                                //on the transformer chain
                                                $moduleobject = 
$this->getmodule($block->module_name);
+ 
+                                               if ($block->id)
+                                               {
+                                                       $block->title = 
$this->getblocktitlewrapper($block->id);
+                                                       $block->arguments = 
$moduleobject->i18n ? 
+                                                               
$this->getversionwrapper($block->version) : 
$this->bo->getversion($block->version);
+                                               }
+                                               
                                                
$moduleobject->set_block($block,True);
  





reply via email to

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