Roundcube Community Forum

 

Embed HTML into Roundcube Button

Started by Sorg, July 12, 2014, 11:09:27 AM

Previous topic - Next topic

Sorg

I understand that if you make a tag like <roundcube:button command="mail" label="mail" class="button-mail" type="link" content="Mail"> then it will make the equivalent <a></a> tags in HTML. Is there anyway to embed HTML code into the content of the roundcube button to allow for more control into theming? Something like <roundcube:button command="mail" label="mail" class="button-mail" type="link" content="
<HTML CONTENT HERE>Mail</HTML CONTENT HERE>
">


Which would convert to <a class="button-mail" id="rcmbtn100" href="./?_task=mail&amp;_action=" onclick="rcmail.switch_task('mail');return false"><HTML CONTENT HERE>Mail</HTML CONTENT HERE></a>