phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.174,1.175 fu


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.174,1.175 functions.inc.php,1.160,1.161
Date: Tue, 29 Oct 2002 17:15:34 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv30459/phpgwapi/inc

Modified Files:
        class.common.inc.php functions.inc.php 
Log Message:
added option to enable/disable support for old_style apps, added css class for 
msgbox, fixed home screen if default_app

Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.174
retrieving revision 1.175
diff -C2 -r1.174 -r1.175
*** class.common.inc.php        28 Oct 2002 04:50:43 -0000      1.174
--- class.common.inc.php        29 Oct 2002 22:15:31 -0000      1.175
***************
*** 1241,1245 ****
                        {
                                case 'home':
!                                       $var['home'] = True;
                                        break;
                                case 'about':
--- 1241,1248 ----
                        {
                                case 'home':
!                                       if 
(!$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'])
!                                       {
!                                               $var['home'] = True;
!                                       }
                                        break;
                                case 'about':
***************
*** 1390,1394 ****
                                /* Hope we don't get to this point.  Better 
then the user seeing a */
                                /* complety back screen and not know whats 
going on                */
-                               $GLOBALS['phpgw_info']['theme']['bg_color'] = 
'FFFFFF';
                                
$GLOBALS['phpgw']->log->write(array('text'=>'F-Abort, No themes found'));
                        }
--- 1393,1396 ----
***************
*** 1420,1442 ****
                }
  
-               function load_phpgw_body_tags()
-               {
-                       $GLOBALS['phpgw_info']['flags']['body_tags']['onLoad'] 
= $this->load_preload_images_data(); 
- 
-                       
if(@is_array($GLOBALS['phpgw_info']['flags']['body_tags']))
-                       {
-                               $body_tags_string = '';
-                               
reset($GLOBALS['phpgw_info']['flags']['body_tags']);
-                               while(list($key,$value) = 
each($GLOBALS['phpgw_info']['flags']['body_tags']))
-                               {
-                                       if($value != '')
-                                       {
-                                               $body_tags_string .= " 
$key=\"$value\"";
-                                       }
-                               }
-                               
$GLOBALS['phpgw']->template->set_var('phpgw_body_tags',$body_tags_string);
-                       }
-               }
- 
                /*!
                @function phpgw_header
--- 1422,1425 ----
***************
*** 1537,1544 ****
                                        
address@hidden'phpgw_info']['flags']['noappfooter'])
                                {
!                                       $this->start_xslt_capture();    // if 
index already turned it off
                                        $this->phpgw_appfooter();
                                }
!                               $this->stop_xslt_capture();
  
                                $GLOBALS['phpgw']->xslttpl->pp();
--- 1520,1534 ----
                                        
address@hidden'phpgw_info']['flags']['noappfooter'])
                                {
!                                       
if($GLOBALS['phpgw_info']['server']['support_old_style_apps'])
!                                       {
!                                               $this->start_xslt_capture();    
// if index already turned it off
!                                       }
                                        $this->phpgw_appfooter();
                                }
! 
!                               if 
($GLOBALS['phpgw_info']['server']['support_old_style_apps'])
!                               {
!                                       $this->stop_xslt_capture();
!                               }
  
                                $GLOBALS['phpgw']->xslttpl->pp();

Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.160
retrieving revision 1.161
diff -C2 -r1.160 -r1.161
*** functions.inc.php   26 Oct 2002 20:28:37 -0000      1.160
--- functions.inc.php   29 Oct 2002 22:15:31 -0000      1.161
***************
*** 270,277 ****
        define('PHPGW_ACL_GROUP_MANAGERS',32);
  
!       
/****************************************************************************\
!       * Forcing all non-cooperating apps to send there output through the 
xslt-tpl *
!       
\****************************************************************************/
!       $GLOBALS['phpgw']->common->start_xslt_capture();
  
        
/****************************************************************************\
--- 270,280 ----
        define('PHPGW_ACL_GROUP_MANAGERS',32);
  
!       if ($GLOBALS['phpgw_info']['server']['support_old_style_apps'])
!       {
!               
/****************************************************************************\
!               * Forcing all non-cooperating apps to send there output through 
the xslt-tpl *
!               
\****************************************************************************/
!               $GLOBALS['phpgw']->common->start_xslt_capture();
!       }
  
        
/****************************************************************************\





reply via email to

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