Commit Graph

65 Commits

Author SHA1 Message Date
Ralf Becker
b71035b529 marking all static methods static and moving method to query supported languages into setup_translation class 2010-07-29 08:14:15 +00:00
Oscar Manuel Gómez Senovilla
0deeb03379 Fixing problem with preg_split replaced with explode, tracker #2403 2009-12-05 10:30:22 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +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
Ralf Becker
93112e0277 phpDoc headers 2008-08-20 06:04:28 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
Ralf Becker
b6883d59e8 1) fixed setup-detection, to allow login into setup again
2) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
3) moved setup-classes from phpgwapi/inc back to setup/inc (they are not used anywhere else, but in setup)
2005-03-04 12:40:28 +00:00
Ralf Becker
e99cd91035 changed Benjamins rejected lines messages to only show up, if extra debug messages have been explicitly checked 2004-07-31 16:19:48 +00:00
Ralf Becker
5ea042041c fixed not showing up langs like 'es-ca' which hasn't been in phpgw_languages (or only as just 'ca') 2004-07-10 10:59:37 +00:00
Ralf Becker
5709cc3a27 availible languages now only need to be added to setup/lang/languages to be availible in eGW:
- saves a db-update whenever a new lang comes availible
- maybe we should drop the availible column in phpgw_languages
2004-06-13 21:31:21 +00:00
reinerj
3f5c75878b changes from phpgw to egw dev group 2004-01-27 20:49:25 +00:00
Miles Lott
ab1a464ab9 Fix display of current domain and db type 2004-01-20 00:40:38 +00:00
Miles Lott
26ef5d0726 Complete adjustments to $ConfigDomain - no need to get_var if already authenticated anymore 2004-01-06 13:45:10 +00:00
Miles Lott
b6c0e6e0b2 Replace langs using phpGroupWare 2003-12-19 12:34:45 +00:00
Ralf Becker
fd2d96d063 1) implemented a share system-charset, which can be different from the charset of the lang-files
2) moved sql-specific part of setup_translation to translation_sql
3) TO-DO: get the translation-tools working in this setting
2003-10-05 02:06:11 +00:00
Ralf Becker
658dfdce96 restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php
- added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation
- added the language of the admin to the installed languages
2003-10-04 13:24:34 +00:00
Ralf Becker
1ed1b0f431 some fixes for setup:
- back-button for manage-header
- header-update shows lang-selection
- lang-selection is sorted now alphabetical
- lang-selection in header-admin shows up only if called the first time (without login)
- manage-languages and add-applications respekt now different translations for the same phrase in different apps
2003-09-23 13:08:40 +00:00
Ralf Becker
57cdfaaf7e changed $GLOBALS[HTTP_POST_VARS] to $_POST to get the automatic lang-update working again
merged skwashd's changes from .16
2003-05-29 07:58:45 +00:00
Ralf Becker
6b1cfa855e limited the length of the message_id to 230 and defined a constant for it 2003-04-02 17:46:37 +00:00
Ralf Becker
c2778383c5 2 changes:
- newer lang-files get now installed automaticaly when a user log's in
- Czech is added to the supported lang's
==> phpgwapi version updated to 0.9.14.002
2003-03-22 01:32:43 +00:00
Ralf Becker
5b8fb9df75 merged differences from the .14 branch 2002-11-23 12:32:16 +00:00
skeeter
d70d75d745 GNU Bug #1749. 2002-11-21 02:07:02 +00:00
skeeter
6df27ba200 Fix for upgrading lang files. 2002-11-16 12:27:04 +00:00
Ralf Becker
65c0123279 some fixes to get manage languages working again:
- fixed table-names for 'lang' to 'phpgw_lang' and 'languages' to 'phpgw_languages'
- changed calls to function in setup_detection and setup_html to use $GLOBALS['phpgw_setup']->html / detection
2002-10-18 14:44:10 +00:00
Zone
3b3e08f1aa Fix " vs. ' 2002-09-17 04:24:14 +00:00
skeeter
bb0535281f Will now stop (error) when inserting bad data. 2002-09-15 23:21:01 +00:00
Miles Lott
d6ebb363c4 Add copy of old template class so setup can work for now. 2002-08-11 23:54:58 +00:00
ceb
45f32ce148 added missing ' 2002-04-30 14:10:30 +00:00
skeeter
aa1398fd6b Converting to get_var() for all HTTP_*_VARS. 2002-04-29 19:49:24 +00:00
skeeter
3b4a9f0d89 Changed a few things over to GLOBALS and using get_var(). 2002-04-13 01:56:57 +00:00
Miles Lott
6031b605e6 show languages already installed by selecting them in the select box 2002-03-11 01:39:58 +00:00
Miles Lott
01faba0c4d Moved setup and schema_proc classes to api; reorganize how the setup class
is created
2002-03-03 21:53:00 +00:00
skeeter
532993d024 Some major cleanups. Should reduce warnings by 75%. This will speed things up if the admin is logging php errors/warnings. 2002-02-18 16:18:34 +00:00
Miles Lott
3fefd7be60 Add missing check of current db versions 2002-02-17 19:35:44 +00:00
Miles Lott
12b66fb8a9 Change lang/languages tables to phpgw_lang/phpgw_languages 2002-02-17 19:31:50 +00:00
Miles Lott
3ec482b83f small change to test syncmail 2002-01-08 14:42:59 +00:00
Miles Lott
ea23a8c75c set phpgw_info to an empty array at the top 2001-12-18 02:25:55 +00:00
Miles Lott
04342d35ed Cleanup includes; move auth() call to top after main include (functions.inc.php); 2001-12-18 02:20:31 +00:00
Miles Lott
aa32b065bf more adjustment for globals 2001-11-21 15:01:43 +00:00
jengo
f4efac55bb - Fixed logout button not working correctly
- Re-enabled the logout button in lang.php, not sure why it was disabled
2001-09-27 23:59:39 +00:00
mdean
b2f9d0c668 Calls to db_addslashes for portability. 2001-09-17 00:54:52 +00:00
Miles Lott
e2117e0432 formatting 2001-09-12 14:20:54 +00:00
Miles Lott
e0db915670 Changes to allow register_globals to be off 2001-08-21 18:48:50 +00:00
Miles Lott
ae949e41f2 Adding this back 2001-07-30 16:05:42 +00:00
seek3r
cd3f5a90dc preparing to put setup3 code in here 2001-07-30 15:44:12 +00:00
Miles Lott
6c824a2ca8 Add a default selection if not a new install 2001-03-19 23:01:04 +00:00
seek3r
2aea2d586c fixed new install 2001-02-10 04:50:21 +00:00
Miles Lott
bdf540395a Commented out filesystem_separator call since it was broken and not really used here 2001-02-03 18:21:02 +00:00
Miles Lott
c55ca5d18a Fix a couple more misspells... 2001-01-19 07:41:42 +00:00
Miles Lott
a6ee8acbc2 Fix call to new class filename. 2001-01-13 19:23:04 +00:00