Commit Graph

88 Commits

Author SHA1 Message Date
Ralf Becker
34e9825a91 "'class::method' is php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:45:38 +00:00
Ralf Becker
0cd2993504 "'class::method' as php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:12:20 +00:00
Ralf Becker
d5ee989859 "- caching loginscreen+mainscreen messages instance (NOT tree) specific
- invalidating the cache also for translation::write (to be able to update the loginscreen message)"
2009-04-28 15:56:04 +00:00
Ralf Becker
94190a81f7 "also cache the languages" 2009-04-23 09:47:22 +00:00
Ralf Becker
86b126ef3a "quietent \"Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal
character encoding\" reported on the devel list"
2009-04-22 04:33:12 +00:00
Ralf Becker
a45c874f72 "added explicit init(false) calls for methods called by setup (they dont call init() as eGW does)" 2009-04-21 13:26:40 +00:00
Ralf Becker
bf036043b2 - making all methods of translation class static
- caching the phrases in new egw_cache on Tree level
--> a good speed improvment on my devel system
- also added a global function
check_load_extension($extension,$throw=false)
2009-04-20 11:59:39 +00:00
Christian Binder
b20b78e07e quitened a logging message which slows down eGW 2009-04-03 20:12:35 +00:00
Klaus Leithoff
dd5376c41f making the charset param optional, with preset to utf-8 in decodeMailHandler 2009-04-02 08:15:50 +00:00
Klaus Leithoff
1092f3213e move decode header functionality from FeLaMiMail to phpgwapi/translation to be available for other applications 2009-04-01 15:20:32 +00:00
Klaus Leithoff
8f6cf0ac8f quitening warnings, if charset is unknown (mb_convert_encoding), as it may happen, with parts of emails (header information, ...) 2008-10-08 11:18:43 +00:00
Ralf Becker
0927d90e09 "using the global db object" 2008-03-15 15:30:15 +00:00
Ralf Becker
b0ce76ad83 "added some aliases for iso-8859-1 which seemed to be used in some mails" 2008-03-10 12:57:27 +00:00
Klaus Leithoff
08e5fa0497 prevent the mb_convert_encoding to return with an empty string, for the failing of the conversion in that function results in an empty string as
well.
2008-01-31 12:31:18 +00:00
Ralf Becker
3e29477fe9 "some alternative charsets for the import, a hardcoded list for now, as all languages use utf-8" 2007-11-30 16:45:54 +00:00
Ralf Becker
761cb8c9a0 "allow mixed installations of trunk and 1.4 apps, by reading both langfiles" 2007-10-19 13:02:55 +00:00
Oscar Manuel Gómez Senovilla
b018b25a15 API changes to handle egw_ prefix in lang files 2007-10-14 16:12:39 +00:00
Klaus Leithoff
dbb80581b7 fix of small typo in function convert 2007-10-12 11:10:25 +00:00
Ralf Becker
d2f80cf8dc fixed SiteMgr session-problems by making the cookie path/domain configurable with more reasonable defaults then 1.4 has at the moment, making the display of * behind untranslated phrases an option which is by default off (as it anoyes users) and added a few more explenations to Admin >> Site configuration (plus removing not used ones) 2007-05-17 08:35:35 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Lars Kneschke
66a207d455 make sure the mbstring supports get always enabled. It's needed for the imap conversion(utf-7 => systemcharset). 2007-02-27 20:04:26 +00:00
Lars Kneschke
4c641f2769 iconv can not convert from/to utf7-imap. Added support for conversion based on the functions provided by the imap extension.
Returning the unconverted string when conversion using iconv failed. This was also not working before.
2007-02-14 11:44:01 +00:00
Ralf Becker
915dd1910f fixing the fix ;-)
According to wikipedia windows-1250 is similar to iso-8859-2 - thought German special chars (umlauts) have the same encoding in iso-8859-1
2006-12-06 07:21:45 +00:00
Ralf Becker
9ab10aeb77 fix for problem describt on the german list: headers from mails send from Outlook, eg:
From: =?Windows-1250?Q?X=F6rg_Brd?= <x_brd@xxx.de> 
get not decoded correct --> php (at least some versions) seems not to understand the charset windows-1250, which is more or less identical to iso-8859-1
2006-12-05 19:11:38 +00:00
Ralf Becker
11775a0846 new method to get the message_id of a phrase 2006-07-06 23:02:55 +00:00
Ralf Becker
ecae41f156 fixed smal prob with non existing header 2006-05-31 01:58:03 +00:00
Ralf Becker
7b2b823835 - setup uses now the system_charset, that fixes various errors reported:
+ setup_demo gives errors under postgres
 + setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Ralf Becker
fa96e4a576 new functions to read and write a single phrase 2005-11-19 20:08:45 +00:00
Ralf Becker
2ec277c0d9 typo 2005-11-05 19:00:31 +00:00
Ralf Becker
34b1f64ae3 typo 2005-11-05 18:18:55 +00:00
Ralf Becker
912aac5e6c 1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 08:51:06 +00:00
Ralf Becker
fd5576e3ee - phpgw --> egw
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Miles Lott
4be7d21958 Use GLOBALS 2001-08-31 08:45:44 +00:00
seek3r
83a0af3424 trying to get windows support working 2001-06-20 08:36:55 +00:00
Miles Lott
3356dc1453 Reformatting only 2001-06-15 21:29:33 +00:00
seek3r
00b23411ef moved to define() for path vars. Also starting to hack sessions to be phpgw_info manager 2001-02-06 09:19:38 +00:00
seek3r
431f841cba switching to the new Object factory method 2001-01-11 10:04:28 +00:00
seek3r
e97ef24062 switching to the new Object factory method 2001-01-11 09:52:33 +00:00