phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpsysinfo config.php,1.2


From: skwashd
Subject: [Phpgroupware-cvs] phpsysinfo config.php,1.2
Date: Sat, 19 Nov 2005 07:02:00 +0100

Update of phpsysinfo

Modified Files:
     Branch: MAIN
            config.php lines: +3 -3

Log Message:
fix lang stuff up, damn cookies made me miss it in testing

====================================================
Index: phpsysinfo/config.php
diff -u phpsysinfo/config.php:1.1 phpsysinfo/config.php:1.2
--- phpsysinfo/config.php:1.1   Sat Nov 19 05:29:55 2005
+++ phpsysinfo/config.php       Sat Nov 19 06:02:30 2005
@@ -50,7 +50,7 @@

 /***************** DO NOT EDIT BELOW THIS POINT ! Please :) *****************/

-if ( PHPGROUPWARE == 1 ) {
+if ( PHPGROUPWARE ) {
   if ( !isset($GLOBALS['phpgw']->config) || 
!is_object($GLOBALS['phpgw']->config) ) {
        $GLOBALS['phpgw']->config = createObject('phpgwapi.config', 
'phpsysinfo');
   }
@@ -58,7 +58,7 @@
   $GLOBALS['phpgw']->config->read_repository();
   $default_template =& $GLOBALS['phpgw']->config->config_data['theme'];

-  $default_lng =& 
$GLOBALS['phpgw_info']['user']['common']['preference']['lang'];
+  $default_lng = 
strtolower(substr($GLOBALS['phpgw_info']['user']['preferences']['common']['lang'],
 0, 2));
   $hide_picklist = true;
 }







reply via email to

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