Prefs and themes with LDAP
Edwin Culp
eculp@encontacto.net
Sun, 31 Mar 2002 06:55:43 -0800
When using hordeThemes and saving prefs in ldap, once a theme is assigned
from the options menu, I can find no way to get back to the default theme
horde html.php. I would guess that when choosing the default value that
theme is assigned a null value which does not get past line 311 in
Prefs/ldap.php and for it the be eliminated in openldap the attribute must
be empty, AFAIK.
As a "work around" I have added 'none' to both the horde and imp prefs.php.
This forces the horde.php default because none isn't found and no errors
seem to be generated.
'enum' => array('' => sprintf(_("%s Standard"),
GLOBALS['registry']->getParam('name')),
'none' => _("none"),
'barbie' => _("Barbie"),
Mysql doesn't seem to have an equivalent, to line 311 in ldap.php, check for
empty, dirty prefs but I really didn't check that closely so I am probably
mistaken, plus I am assuming that it will go back to the default of html.php.
Is there any reason to not use the above work around? Am I completely
missing the boat here?
Thanks,
ed
-------------------------------------------------------------
http://insourcery.com - Mergence of Business and Technology
a "Griffin Plaza Partners, LLC" Company