Commit Graph

88 Commits

Author SHA1 Message Date
Christian Binder
c7966ba8a4 little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset 2009-10-19 21:15:12 +00:00
Ralf Becker
e1e712c9fb php5 constructor and constants for default and forced prefs owner 2009-10-18 12:45:09 +00:00
Ralf Becker
3ef01bc589 Refined egw_time class a bit more and and integrated it with preferences
class, to automatically set relevant user prefs (tz, dateformat,
timeformat).
2009-10-08 16:14:18 +00:00
Ralf Becker
e0795f7328 "fixed session preferences, were broken since 1.6" 2009-10-07 18:59:01 +00:00
Christian Binder
efad9168fa fixed typo 2009-10-07 08:05:10 +00:00
Ralf Becker
610b629325 first step for real timezones in EGroupware 2009-10-06 06:45:28 +00:00
Klaus Leithoff
76faf17eb0 strange phenomenon with existing debug variable 2008-12-09 15:25:26 +00:00
Klaus Leithoff
91c5e6d23c print out the standard substitutes, if debug is switched on 2008-12-09 13:07:29 +00:00
Klaus Leithoff
f28eed1973 enabling debug in some cases, switched off, as default 2008-12-09 12:59:03 +00:00
Ralf Becker
81a0b796d9 "using the global db object" 2008-03-15 15:11:48 +00:00
Ralf Becker
42698c08b6 some more stupid php5.2 fixes 2006-12-21 14:10:59 +00:00
Ralf Becker
3660b40851 fixed typo 2006-12-20 09:25:29 +00:00
Ralf Becker
0af8df4caa new param to not invalidate the session-cache 2006-06-17 18:37:35 +00:00
Ralf Becker
2c604b7b06 invalid session cache on change of session preference, otherwise session prefs only work in login 2006-04-05 15:17:41 +00:00
Ralf Becker
d8932b3ad3 calling invalidate_session_cache only if it exists (setup does not have/need it) 2005-11-24 20:08:09 +00:00
Ralf Becker
1549913fd7 fix for bug [ 1361782 ] missing sql tables: hook code accessing the prefs-table is moved to the prefs class 2005-11-20 07:32:51 +00:00
Ralf Becker
44bcc1247d improved docu of prefs class and phpgw_preferences --> egw_preferences 2005-11-13 07:49:56 +00:00
Ralf Becker
b82ac2c4d6 added function to invalidate the session-cache if:
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
759d1d4f17 fixed bug with not working language-selection and SQL error because of empty session-id in phpgw_app_session 2004-07-09 15:17:04 +00:00
Ralf Becker
8bfb6cfb07 added email-address to the accounts-data (ldap untested so far!) 2004-07-04 17:27:42 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Ralf Becker
745bfdc35e fixed merging of session and user prefs 2004-03-21 22:03:06 +00:00
Ralf Becker
3dc254c6ee added session (temporary) preferences 2004-03-21 21:17:34 +00:00
Miles Lott
e506ffa377 fix string offset error - maybe php5 only 2003-12-27 18:05:20 +00:00
Miles Lott
07af3f1b54 use str_replace() where possible and fix some spellings 2003-12-20 18:32:53 +00:00
Miles Lott
5794ca4cc1 intval() -> (int) 2003-12-13 15:03:23 +00:00
shrykedude
e52887d989 Hid some PHP notices behind a '@' to minimize new user confusion. 2003-10-24 00:54:28 +00:00
Miles Lott
0103ae5f98 silence the error in another way 2003-10-17 07:45:56 +00:00
Miles Lott
3a298a8c7d Check that $var is set and not False - some installs will error on the array element not being set 2003-10-16 11:41:40 +00:00
Ralf Becker
3360c838f6 use db from phpgw_setup if the phpgw one is not availible 2003-10-07 22:38:06 +00:00
Ralf Becker
03e9bb126d fixed add for numerical values 2003-10-03 10:00:21 +00:00
Ralf Becker
374cc00037 fixed delete 2003-09-06 03:23:37 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
8c4912bce3 modified add and delete to set / unset default and forced prefs too 2003-05-19 23:05:32 +00:00
Ralf Becker
c1f78f4efc changed username to fullname 2003-05-17 20:37:51 +00:00
Ralf Becker
e152c6727d changed pref-name maildomain to domain 2003-05-04 10:30:38 +00:00
Ralf Becker
ce1a06d831 small fix, added a wrapper for the renamed function email_address (was sub_default_addres) for email/anglemail 2003-05-03 10:58:46 +00:00
Ralf Becker
e1c1ecad78 added notify-messages to prefs:
- notify messages contain vars to be substituted, eg. $$username$$
- the var-name gets translated for editing
- new function create_notify in preferences.php
- new function parse_notify to substitute / create the notify msg
2003-05-02 01:33:32 +00:00
Ralf Becker
21d8e8fd62 reworked preferences (ported from .16 incl. fixes):
- not set user-prefs use the default value, default values have been used only for new accounts before
- preference-table has new column preference_app
- preferences got automaticaly quoted now, eg. its save to use single and double quotes as well as backslashs
2003-05-01 09:19:50 +00:00
ceb
2dd760281b moved function deisplay_entry from admin to api 2003-04-19 23:17:40 +00:00
ceb
b0e538a1ff fixed forced prefs 2002-12-26 20:43:00 +00:00
Miles Lott
852c11cec9 same as previous commit, but for the delete 2002-05-19 22:59:00 +00:00
Miles Lott
dc9a06b7ce Update inserts to account for new field type of preference_owner 2002-05-19 22:57:41 +00:00
Miles Lott
0a91bc00b7 Use is_array() instead of gettype() 2002-04-23 02:18:30 +00:00
skeeter
3f95bef544 Added a call to sessions->delete_cache() and a call to re-read the users session data when being set to the default preferences set by the admin. 2002-01-13 03:58:41 +00:00
Miles Lott
5cff4754a0 fix banner 2002-01-11 02:01:24 +00:00
angles
1dd4f8b6ac add support for sub-level data manipulation in prefs 2002-01-10 10:09:10 +00:00
Miles Lott
7e4ec5264e Add inline doc and data check for create_defaults() 2002-01-03 18:11:10 +00:00
Miles Lott
1073d1d61a remove some extra spaces and tabs, change all print_r to _debug_array() calls 2001-12-24 04:53:07 +00:00