phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/justweb head.inc.php, 1.13.2.


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/justweb head.inc.php, 1.13.2.2.2.5, 1.13.2.2.2.6
Date: Thu, 28 Aug 2003 00:59:40 -0400

Update of /cvsroot/phpgroupware/phpgwapi/templates/justweb
In directory subversions:/tmp/cvs-serv5871/justweb

Modified Files:
      Tag: Version-0_9_16-branch
        head.inc.php 
Log Message:
adding js support to tpls

Index: head.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/justweb/Attic/head.inc.php,v
retrieving revision 1.13.2.2.2.5
retrieving revision 1.13.2.2.2.6
diff -C2 -r1.13.2.2.2.5 -r1.13.2.2.2.6
*** head.inc.php        30 May 2003 02:34:26 -0000      1.13.2.2.2.5
--- head.inc.php        28 Aug 2003 04:59:37 -0000      1.13.2.2.2.6
***************
*** 12,29 ****
    /* $Id$ */
  
-       $app_css = $java_script = '';
-       if(@isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
-       {
-               list($app,$class,$method) = 
explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']);
-               if(is_array($GLOBALS[$class]->public_functions) && 
$GLOBALS[$class]->public_functions['java_script'])
-               {
-                       $java_script = $GLOBALS[$class]->java_script();
-               }
-       }
-       if (isset($GLOBALS['phpgw_info']['flags']['java_script']))
-       {
-               $java_script .= $GLOBALS['phpgw_info']['flags']['java_script'];
-       }
- 
        $bodyheader = 
'BGCOLOR="'.$GLOBALS['phpgw_info']['theme']['bg_color'].'"';
  
--- 12,15 ----
***************
*** 39,54 ****
                'img_shortcut'  => PHPGW_IMAGES_DIR . '/favicon.ico',
                'webserver_url' => 
$GLOBALS['phpgw_info']['server']['webserver_url'],
!               'home'                  => 
$GLOBALS['phpgw']->link('/index.php'),
!               'appt'                  => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'calendar.uicalendar.day')),
!               'todo'                  => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'todo.uitodo.add')),
!               'prefs'                 => 
$GLOBALS['phpgw']->link('/preferences/index.php'),
!               'email'                 => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'email.uipreferences.preferences')),
!               'calendar'              => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'calendar.uipreferences.preferences')),
                'addressbook'   => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'addressbook.uiaddressbook.preferences')),
!               'charset'               => lang('charset'),
                'website_title' => 
$GLOBALS['phpgw_info']['server']['site_title'] . $app,
!               'body_tags'             => $bodyheader,
!               'css'                   => $GLOBALS['phpgw']->common->get_css(),
!               'java_script'   => $java_script
        );
        $tpl->set_var($var);
--- 25,40 ----
                'img_shortcut'  => PHPGW_IMAGES_DIR . '/favicon.ico',
                'webserver_url' => 
$GLOBALS['phpgw_info']['server']['webserver_url'],
!               'home'          => $GLOBALS['phpgw']->link('/index.php'),
!               'appt'          => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'calendar.uicalendar.day')),
!               'todo'          => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'todo.uitodo.add')),
!               'prefs'         => 
$GLOBALS['phpgw']->link('/preferences/index.php'),
!               'email'         => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'email.uipreferences.preferences')),
!               'calendar'      => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'calendar.uipreferences.preferences')),
                'addressbook'   => 
$GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'addressbook.uiaddressbook.preferences')),
!               'charset'       => lang('charset'),
                'website_title' => 
$GLOBALS['phpgw_info']['server']['site_title'] . $app,
!               'body_tags'     => $bodyheader,
!               'css'           => $GLOBALS['phpgw']->common->get_css(),
!               'java_script'   => $GLOBALS['phpgw']->common->get_java_script(),
        );
        $tpl->set_var($var);





reply via email to

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