[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_file.inc.php,1.5,
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_file.inc.php,1.5,1.6 |
Date: |
Mon, 20 May 2002 23:03:25 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv25057
Modified Files:
class.translation_file.inc.php
Log Message:
add home app for loading all langs
Index: class.translation_file.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.translation_file.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** class.translation_file.inc.php 20 May 2002 01:11:27 -0000 1.5
--- class.translation_file.inc.php 21 May 2002 03:03:22 -0000 1.6
***************
*** 60,64 ****
}
if(address@hidden($this->lang[$_key]) &&
! ($this->currentapp == 'admin' ||
$this->currentapp == 'preferences') &&
!$this->all_loaded
)
--- 60,64 ----
}
if(address@hidden($this->lang[$_key]) &&
! ($this->currentapp == 'admin' ||
$this->currentapp == 'preferences' || $this->currentapp == 'home') &&
!$this->all_loaded
)
***************
*** 118,127 ****
$fn = PHPGW_SERVER_ROOT . SEP . $app . SEP . 'setup' .
SEP . 'phpgw_' . $userlang . '.lang';
! if(!file_exists($fn))
{
$fn = PHPGW_SERVER_ROOT . SEP . $app . SEP .
'setup' . SEP . 'phpgw_en.lang';
}
! if(file_exists($fn))
{
$fp = fopen($fn,'r');
--- 118,127 ----
$fn = PHPGW_SERVER_ROOT . SEP . $app . SEP . 'setup' .
SEP . 'phpgw_' . $userlang . '.lang';
! if(address@hidden($fn))
{
$fn = PHPGW_SERVER_ROOT . SEP . $app . SEP .
'setup' . SEP . 'phpgw_en.lang';
}
! if(@file_exists($fn))
{
$fp = fopen($fn,'r');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_file.inc.php,1.5,1.6,
Miles Lott <address@hidden> <=