[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_sql.inc.php,1.9,1
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_sql.inc.php,1.9,1.10 |
Date: |
Sun, 17 Feb 2002 14:31:52 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv18183/phpgwapi/inc
Modified Files:
class.translation_sql.inc.php
Log Message:
Change lang/languages tables to phpgw_lang/phpgw_languages
Index: class.translation_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.translation_sql.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.translation_sql.inc.php 17 Feb 2002 18:43:31 -0000 1.9
--- class.translation_sql.inc.php 17 Feb 2002 19:31:49 -0000 1.10
***************
*** 57,61 ****
$userlang = 'en';
}
! $sql = "SELECT message_id,content FROM lang
WHERE lang LIKE '" . $userlang
. "' AND (app_name LIKE '" .
$GLOBALS['phpgw_info']['flags']['currentapp']
. "' OR app_name LIKE 'common' OR
app_name LIKE 'all')";
--- 57,61 ----
$userlang = 'en';
}
! $sql = "SELECT message_id,content FROM
phpgw_lang WHERE lang LIKE '" . $userlang
. "' AND (app_name LIKE '" .
$GLOBALS['phpgw_info']['flags']['currentapp']
. "' OR app_name LIKE 'common' OR
app_name LIKE 'all')";
***************
*** 110,114 ****
$userlang = 'en';
}
! $sql = "SELECT message_id,content FROM lang WHERE lang
LIKE '".$userlang."' AND app_name LIKE '".$app."'";
$GLOBALS['phpgw']->db->query($sql,__LINE__,__FILE__);
$GLOBALS['phpgw']->db->next_record();
--- 110,114 ----
$userlang = 'en';
}
! $sql = "SELECT message_id,content FROM phpgw_lang WHERE
lang LIKE '".$userlang."' AND app_name LIKE '".$app."'";
$GLOBALS['phpgw']->db->query($sql,__LINE__,__FILE__);
$GLOBALS['phpgw']->db->next_record();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_sql.inc.php,1.9,1.10,
Miles Lott <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.boetemplate.inc.php,1.2,1.3 class.db_tools.inc.php,1.2,1.3 class.editor.inc.php,1.2,1.3 class.uietemplate.inc.php,1.2,1.3
- Next by Date:
[Phpgroupware-cvs] CVS: preferences/inc hook_settings.inc.php,1.3,1.4
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.boetemplate.inc.php,1.2,1.3 class.db_tools.inc.php,1.2,1.3 class.editor.inc.php,1.2,1.3 class.uietemplate.inc.php,1.2,1.3
- Next by thread:
[Phpgroupware-cvs] CVS: preferences/inc hook_settings.inc.php,1.3,1.4
- Index(es):