Roland Liebl wrote:
> the attached patch is very usefull, IMO. It loads plugin templates from
> the plugin folder. It is similar to what you are already doing by
> the localization.
> E.g.: $rcmail->output->send("settings.account") ... will parse the template
> from ./[conf:plugins_dir]/settings/skins/[conf:skin]/templates/account.html.
>
> So we could use a "Domain Prefix" for plugin templates. It would make it
> easier
> to install a plugin, because the user does not have to copy things into
> the main skin folder.
We definitely need this feature. We need also:
1. Handling of image locations:
<roundcube:button imageSel="/images/buttons/filter_add_sel.png" ...
How to set image location in plugins skins/ directory?
2. Handling of situations when plugin not contain templates for non-default
skin.
Then we should use template for 'default' skin instead of displaying error.
Thomas, can you look into this?
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/