[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uitts.php, 1.1.1.9
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uitts.php, 1.1.1.9 |
Date: |
Sun, 23 May 2004 09:13:57 -0000 |
Update of /property
Modified Files:
Branch:
class.uitts.php
date: 2004/04/30 17:35:58; author: sigurdne; state: Exp; lines: +9 -10
Log Message:
no message
=====================================================================
Index: property/class.uitts.php
diff -u property/class.uitts.php:1.1.1.8 property/class.uitts.php:1.1.1.9
--- property/class.uitts.php:1.1.1.8 Thu Apr 29 19:56:35 2004
+++ property/class.uitts.php Fri Apr 30 17:35:58 2004
@@ -157,7 +157,7 @@
$second_display =
$this->bocommon->get_var2('second_display',array('POST','GET'));
- $default_category =
$GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['default_district'];
+ $default_category =
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.default_district'];
if ($default_category && !$second_display &&
!$this->district_id)
{
@@ -337,16 +337,15 @@
$receipt =
$this->fm_session->appsession('receipt',$this->currentapp);
$this->fm_session->appsession('receipt',$this->currentapp,'');
- $GLOBALS['phpgw']->preferences->read_repository();
- if
($GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['refreshinterval'])
+ if ($GLOBALS['phpgw_data']['prefs'][$this->currentapp .
'.refreshinterval'])
{
- $autorefresh =
$GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['refreshinterval'].';
URL='.$this->bocommon->link('/index.php',$link_data);
+ $autorefresh =
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.refreshinterval'].';
URL='.$this->bocommon->link('/index.php',$link_data);
}
if(!$this->allrows)
{
- $record_limit = 15;
//$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'];
+ $record_limit = 15;
//$GLOBALS['phpgw_data']['user']['preferences']['common']['maxmatchs'];
}
else
{
@@ -527,19 +526,19 @@
if(!$values['assignedto'])
{
- $values['assignedto']=
$GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['assigntodefault'];
+ $values['assignedto']=
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.assigntodefault'];
}
if(!$values['group_id'])
{
- $values['group_id']=
$GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['groupdefault'];
+ $values['group_id']=
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.groupdefault'];
}
if(!$values['cat_id'])
{
- $this->cat_id =
$GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['tts_category'];
+ $this->cat_id =
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.tts_category'];
}
- $dateformat =
strtolower($GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
+ $dateformat =
strtolower($GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
$sep = '/';
$dlarr[strpos($dateformat,'y')] = 'yyyy';
$dlarr[strpos($dateformat,'m')] = 'MM';
@@ -766,7 +765,7 @@
}
//html_print_r($link_entity);
- $dateformat =
strtolower($GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
+ $dateformat =
strtolower($GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
$sep = '/';
$dlarr[strpos($dateformat,'y')] = 'yyyy';
$dlarr[strpos($dateformat,'m')] = 'MM';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uitts.php, 1.1.1.9,
nomail <=