Template Questions
Thomas Bruederli
roundcube at gmail.com
Mon Jan 15 09:03:23 CET 2007
Ralf Scholle wrote:
> Hello,
>
> i found 2 "problems" on the template:
>
> first in main.inc.php i have this variables
> $rcmail_config['skin_path'] = '';
> and
> $rcmail_config['product_name'] = '';
>
> why didn't we use this at the templates??
>
> for example in /templates/login.html the information is "Hardcoded"
> <img src="skins/default/images/roundcube_logo.png" id="rcmbtn104"
> width="165" height="55" border="0" alt="RoundCube Webmail" hspace="10" />
This is actually wrong and should be <img
src="/images/roundcube_logo.png" ... alt="<roundcube:object
name="productname">" />
All absolute paths in skin templates will be replaced by the appropriate
relative path to the skin directory. Variables are not required to be
used in templates.
Regards,
Thomas
More information about the Dev
mailing list