[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpsysinfo index.php,1.2,1.3
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpsysinfo index.php,1.2,1.3 |
Date: |
Sun, 24 Nov 2002 17:48:51 -0500 |
Update of /cvsroot/phpgroupware/phpsysinfo
In directory subversions:/tmp/cvs-serv25691
Modified Files:
index.php
Log Message:
a few fixes to get it working
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpsysinfo/index.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** index.php 16 Dec 2001 23:35:11 -0000 1.2
--- index.php 24 Nov 2002 22:48:48 -0000 1.3
***************
*** 19,23 ****
$lng = $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];
! $template =
$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'];
// default to english, but this is negotiable.
--- 19,23 ----
$lng = $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];
! $template =
$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'];
// default to english, but this is negotiable.
***************
*** 32,45 ****
// figure out if we got a template passed in the url
! if (!(isset($template) && file_exists("templates/$template")))
{
// default template we should use if we don't get a argument.
! define('TEMPLATE_SET', 'default');
! $template = 'default';
! }
! else
! {
! define('TEMPLATE_SET', $template);
}
// fire up the template engine
--- 32,41 ----
// figure out if we got a template passed in the url
! if (!(isset($template) && file_exists("templates/$template/box.tpl")))
{
// default template we should use if we don't get a argument.
! $template = 'idsociety';
}
+ define('TEMPLATE_SET', $template);
// fire up the template engine
***************
*** 67,72 ****
#require('includes/system_header.php');
! #$tpl->set_var('title', $text['title'] . ': ' . sys_chostname() . ' ('
. sys_ip_addr() . ')');
!
require('includes/table_vitals.php');
require('includes/table_network.php');
--- 63,67 ----
#require('includes/system_header.php');
! $tpl->set_var('title', $text['title'] . ': ' . sys_chostname() . ' (' .
sys_ip_addr() . ')');
require('includes/table_vitals.php');
require('includes/table_network.php');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpsysinfo index.php,1.2,1.3,
Ralf Becker <address@hidden> <=