Commit Graph

31 Commits

Author SHA1 Message Date
Ralf Becker
f767742f67 only explode default value by comma, if we allow multiple values (otherwise defaults containing commas are never displayed, eg. addressbook link_title or fileas_type 2010-11-10 09:32:57 +00:00
Ralf Becker
ca108d4c6a for framed templates use applications index page to return, instead of referer 2010-06-08 21:02:52 +00:00
Ralf Becker
5408924afb All EGroupware apps can now set default and forced preferences on
installation time --> nice user experience and cleaner look (by hiding
exotic prefs by focing them to a usual value):
- settings returned from settings hook can contain values for keys
  'default' or 'forced'
- if settings hook require part of api or application, which are not
  available during installation time: use a method hook (instead of
  an old $app/inc/hook_settings.inc.php file), and check if
  $hook_param['setup'] is true
- default prefs created so far in setup/admin_account.php got removed
- common prefs in preferences_hooks::settings() got reworked to set
  default and forced prefs
- calendar prefs in calendar_hooks::settings() got reworked to set
  default and forced prefs
--> I will rework prefs of all our (default) applications according to a
best practice list of Stylite consultants
2009-10-18 12:57:30 +00:00
Ralf Becker
a1299aff04 "flatten values first (some selectbox values are given multi-dimensional), causing eg. default for notifications not being displayed" 2009-06-07 15:24:29 +00:00
Ralf Becker
b9f7a44f57 fix for bug #2060 - Passive Security bug: InformationLeakage 2009-04-29 06:27:54 +00:00
Ralf Becker
187d71fafb "fix for bug #1793: Help toggling does not toggle back" 2008-10-28 06:21:34 +00:00
Klaus Leithoff
205e8dbce5 second attempt to resolve > *Fatal error*: Unsupported operand types in
> */var/www/egroupware/preferences/inc/class.uisettings.inc.php* on line *532
2008-04-01 10:27:08 +00:00
Ralf Becker
80385db75c reverted commit by Klaus, to fix problem reported by Uwe on the German list (options with numeric values (indexes) get renumbered) 2008-03-20 12:32:34 +00:00
Ralf Becker
0da675bf6e made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:35:48 +00:00
Klaus Leithoff
627aa2c228 replacing the concatenation of extra and value array by array_merge, since it crashed in line 535 in some installations 2008-03-05 09:53:44 +00:00
Ralf Becker
e3a1390b6c "fixed (new multiple) selection preference: array_merge caused a renumbering of the numeric indices, which messed up the prefs" 2007-10-15 16:45:22 +00:00
Ralf Becker
d22d90be43 new multiselection type for the preferences 2007-10-09 09:38:46 +00:00
Ralf Becker
c4d3c38c24 fixed not working preferences tab in manage users 2006-04-14 18:48:58 +00:00
Ralf Becker
dc38f4afd8 fix for the prefs: we need to show the default or forced pw, otherwise we are never able to reset it 2006-03-21 16:03:52 +00:00
Miles Lott
d5d079dba4 Add subsection using existing class function 2005-12-12 12:58:17 +00:00
Ralf Becker
02c51aa379 fixed array message when saving prefs 2005-12-06 07:04:43 +00:00
Ralf Becker
10ced8ebd5 using common::get_referer() 2005-11-09 12:46:52 +00:00
Ralf Becker
e36705e012 make preferences called via sidebox menu of an app, to behave like a part of that app 2005-11-08 09:43:17 +00:00
Ralf Becker
6d33f91046 make preferences called via sidebox menu of an app, to behave like a part of that app 2005-11-08 09:42:42 +00:00
Ralf Becker
78f0df9c1c run_lang was not forwared for select-boxes 2005-11-02 12:45:40 +00:00
Ralf Becker
45cfb2c421 notifies NEED the translation for the application loaded, before they get processed 2005-09-07 15:15:43 +00:00
Cornelius Weiß
a7b87c78d6 fix forgotten $this as function in classes are not global 2005-08-23 20:46:03 +00:00
Ralf Becker
b8eabd7697 support for the old format of the hook_settings file, as asked by Regis Leroy 2005-07-30 08:12:13 +00:00
Miles Lott
183444dfbe Rename read() 2005-07-29 12:54:28 +00:00
Ralf Becker
7d2823ce95 1) grabing app-title from egw_info[aps] and not egw_info[navbar] (the later does not work for apps not in the navbar)
2) create_* functions: allow to set run_lang=-1 to not translate the label (eg. already translated with parameters)
2005-07-29 10:38:14 +00:00
Ralf Becker
c90c660300 fixed the run_lang parameter and added a bit docu to create_notify method 2005-07-26 15:48:22 +00:00
Ralf Becker
1ea908b40f fixed not working notifies (textfields with variable replacements) 2005-07-26 13:54:59 +00:00
Ralf Becker
eb10db6e3f get preferences working again 2005-07-23 15:47:54 +00:00
Miles Lott
c834439135 Add reference to bo object 2005-07-23 11:28:52 +00:00
Miles Lott
ab4b6241e9 Fix glaring syntax errors - oops 2005-07-23 11:19:29 +00:00
Miles Lott
2c2bc0beb3 Update of preferences app to work as a multi-tiered application and via xml-rpc 2005-07-23 09:44:46 +00:00