Author Topic: Embed HTML into Roundcube Button  (Read 3259 times)

Offline Sorg

  • Newbie
  • *
  • Posts: 1
Embed HTML into Roundcube Button
« on: July 12, 2014, 11:09:27 AM »
I understand that if you make a tag like
Code: [Select]
<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
Code: [Select]
<roundcube:button command="mail" label="mail" class="button-mail" type="link" content="
<HTML CONTENT HERE>Mail</HTML CONTENT HERE>
">

Which would convert to
Code: [Select]
<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>