Theme graphics Was: [imp] IMP 4.0-ALPHA

Jan Schneider jan at horde.org
Wed Apr 7 02:02:20 PDT 2004


Zitat von Oliver Kuhl <okuhl at netcologne.de>:

>> * test a new horde config parameter say
>>   'theme' which can then be checked when doing a graphic/icon
> Why do we need this? There is a theme-value in the prefs, which can be
> used to get the right path to an image.

Exactly, we don't need this.

>> * see what API changes are needed, to whatever getpath() type
>>   of function is used to specify the paths to icons/graphics.
>> * change this API, so it includes the $theme parameter
>> * ensure this new getpath() function is used in all places in
>>   the code whenever a graphic/icon is required.
>
> Ok, I'll see what I can do. Give me a little time as I have not too much
> of it. But maybe next week, there will be a patch. Depends on the
> surprises while trying to code that one... :)

Forget that. As I already wrote, it's just a matter of changing the
applications' "graphics" parameters in the registry. The theme itself
should define in the html-themename.php if and for which applications it
has a separate graphic directory.

Perhaps this could be set for each application separately in each
application's html-themename.php.

> One question: I think Jan wrote a couple of days ago, that there are
> some directories below /graphics/themes/, which will carry the graphics
> for the themes. Is this already in use, or just the result of copying
> the graphics?

It's there and currently holds the graphics needed by the themes' css
definitions.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list