[dev] Easier adding of themes and applets
Jan Schneider
jan at horde.org
Mon Aug 11 12:08:28 PDT 2003
Zitat von Michael M Slusarz <slusarz at bigworm.colorado.edu>:
> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
> | Quoting Jan Schneider <jan at horde.org>:
> |
> | > I propose that we stop keeping lists of available themes and portal
> | applets
> | > in config/registry.php.dist and config/pref.php.dist and instead
> parse
> | > horde/config/themes/ in horde/prefs.php, resp. horde/lib/Block/ in
> | > horde/portal_edit.php for avaiable themes/applets.
> | > This is expensive but is only necessary if the users want to change
> | their
> | > theme or block layout.
> |
> | Okay, as long as we're sure that it'd only be needed when listing them
> | all, this
> | sounds good to me.
>
> What about caching the results when these directories get scanned?
I think that's too much overhead. Do you remember when you changed your
portal layout or the theme the last time? ;-)
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list