[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/templates/probusiness/head.inc.php, 1.1.2.5
From: |
nomail |
Subject: |
[Phpgroupware-cvs] phpgwapi/templates/probusiness/head.inc.php, 1.1.2.5 |
Date: |
Thu, 2 Sep 2004 11:51:38 +0200 |
Update of /phpgwapi/templates/probusiness
Modified Files:
Branch: Version-0_9_16-branch
head.inc.php
date: 2004/09/02 09:51:38; author: fipsfuchs; state: Exp; lines: +5 -16
Log Message:
uses the get_java_script common function
plz inform tpl designer of those changes
=====================================================================
Index: phpgwapi/templates/probusiness/head.inc.php
diff -u phpgwapi/templates/probusiness/head.inc.php:1.1.2.4
phpgwapi/templates/probusiness/head.inc.php:1.1.2.5
--- phpgwapi/templates/probusiness/head.inc.php:1.1.2.4 Wed Dec 24 01:01:01 2003
+++ phpgwapi/templates/probusiness/head.inc.php Thu Sep 2 09:51:38 2004
@@ -10,18 +10,6 @@
*/
$app_css = $java_script = '';
- if(@isset($_GET['menuaction']))
- {
- list($app,$class,$method) = explode('.',$_GET['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'];
- }
/*
* css file handling
@@ -52,9 +40,10 @@
'font_family' =>
$GLOBALS['phpgw_info']['theme']['font'],
'website_title' =>
$GLOBALS['phpgw_info']['server']['site_title'] . $app,
'theme_css' => $css_ref,
- 'css' =>
$GLOBALS['phpgw']->common->get_css(),
- 'java_script' => $java_script,
- 'api_root' =>
$GLOBALS['phpgw_info']['server']['webserver_url'] .
'/phpgwapi/templates/probusiness/'
+ 'css' =>
$GLOBALS['phpgw']->common->get_css(),
+ 'java_script' =>
$GLOBALS['phpgw']->common->get_java_script(),
+ 'api_root' =>
$GLOBALS['phpgw_info']['server']['webserver_url'] .
'/phpgwapi/templates/probusiness/',
+ 'phpgw_root' =>
$GLOBALS['phpgw_info']['server']['webserver_url'] . '/'
);
$tpl->set_var($var);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/templates/probusiness/head.inc.php, 1.1.2.5,
nomail <=