Hello Devs,
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.
Please let me know, if you will incorporate the patch. I'm in process to update
MyRoundCube to use the new Plugin API and have to know if I can rely on this
method.
Regards,
Roland
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/aY/Wgk9LcbG/rcube_template.php.patch
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/