[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/templates/idots head.inc.php, 1.1.2.7,
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/templates/idots head.inc.php, 1.1.2.7, 1.1.2.8 |
Date: |
Thu, 28 Aug 2003 00:59:40 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/idots
In directory subversions:/tmp/cvs-serv5871/idots
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/idots/Attic/head.inc.php,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -r1.1.2.7 -r1.1.2.8
*** head.inc.php 30 May 2003 02:34:26 -0000 1.1.2.7
--- head.inc.php 28 Aug 2003 04:59:37 -0000 1.1.2.8
***************
*** 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'] . '" alink="'
. $GLOBALS['phpgw_info']['theme']['alink'] . '" link="'
. $GLOBALS['phpgw_info']['theme']['link'] . '" vlink="'
--- 12,15 ----
***************
*** 50,60 ****
'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico',
'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico',
! 'charset' => lang('charset'),
'font_family' => $GLOBALS['phpgw_info']['theme']['font'],
'website_title' =>
$GLOBALS['phpgw_info']['server']['site_title'].$app,
! 'body_tags' => $bodyheader,
! 'theme_css' => $theme_css,
! 'css' => $GLOBALS['phpgw']->common->get_css(),
! 'java_script' => $java_script
);
$tpl->set_var($var);
--- 36,46 ----
'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico',
'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico',
! 'charset' => lang('charset'),
'font_family' => $GLOBALS['phpgw_info']['theme']['font'],
'website_title' =>
$GLOBALS['phpgw_info']['server']['site_title'].$app,
! 'body_tags' => $bodyheader,
! 'theme_css' => $theme_css,
! 'css' => $GLOBALS['phpgw']->common->get_css(),
! 'java_script' => $GLOBALS['phpgw']->common->get_java_script(),
);
$tpl->set_var($var);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/templates/idots head.inc.php, 1.1.2.7, 1.1.2.8,
Dave Hall <address@hidden> <=