[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety head.inc.php, 1.11.
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety head.inc.php, 1.11.2.2.2.5, 1.11.2.2.2.6 |
Date: |
Thu, 28 Aug 2003 00:59:40 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/idsociety
In directory subversions:/tmp/cvs-serv5871/idsociety
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/idsociety/Attic/head.inc.php,v
retrieving revision 1.11.2.2.2.5
retrieving revision 1.11.2.2.2.6
diff -C2 -r1.11.2.2.2.5 -r1.11.2.2.2.6
*** head.inc.php 30 May 2003 02:34:26 -0000 1.11.2.2.2.5
--- head.inc.php 28 Aug 2003 04:59:37 -0000 1.11.2.2.2.6
***************
*** 12,29 ****
/* $Id$ */
- $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="'.$GLOBALS['phpgw_info']['theme']['vlink'].'"';
--- 12,15 ----
***************
*** 37,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,
! 'css' => $GLOBALS['phpgw']->common->get_css(),
! 'java_script' => $java_script
);
$tpl->set_var($var);
--- 23,32 ----
'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,
! '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/idsociety head.inc.php, 1.11.2.2.2.5, 1.11.2.2.2.6,
Dave Hall <address@hidden> <=