Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: dave1978 on October 29, 2007, 11:26:05 AM

Title: Text Under Message Toolbar
Post by: dave1978 on October 29, 2007, 11:26:05 AM
Im trying to add the title for each of the icons like compose, reply etc etc under the correct image

so far I've been able to show text but its not within the link

<a href=&quot;./?_task=mail&amp;_action=compose&quot; onclick=&quot;return rcmail.command('compose','',this)&quot; onmousedown=&quot;return rcmail.button_sel('compose','rcmbtn104')&quot; onmouseup=&quot;return rcmail.button_out('compose','rcmbtn104')&quot; title=&quot;Create a new message&quot;><img src=&quot;skins/default/images/buttons/compose_pas.png&quot; id=&quot;rcmbtn104&quot; border=&quot;0&quot; alt=&quot;&quot; /></a><br />Create Mail</div>
I need to be able to get it to output

""
Create Mail

I presume this would need editing:



Does anyone know if this is possible

Many thanks

Title: Re: Text Under Message Toolbar
Post by: dave1978 on October 29, 2007, 01:42:15 PM
After some searching I've managed to sort this

For anyone who would like to do the same all you need to do is enter

label=&quot;forwardmessage&quot; replace "forwardmessage" with whatever text you want displayed
Title: Re: Text Under Message Toolbar
Post by: kmn on December 10, 2007, 12:34:25 AM
Thanks Dave.

This is a feature quite often requested for.

Could you specify which are the files that need editing.

Regards

kmn
Title: Re: Text Under Message Toolbar
Post by: dave1978 on January 21, 2008, 10:18:19 AM
Sorry for the rather delayed post the files you need to edit are html template files for example compose.html and find the buttons etc

<roundcube:button command=&quot;send&quot; imageSel=&quot;/images/buttons/send_sel.png&quot; imageAct=&quot;/images/buttons/send_act.png&quot; imagePas=&quot;/images/buttons/send_pas.png&quot; label=&quot;customlabel&quot; title=&quot;sendmessage&quot; />
Then you need to go to the localization dir select your language dir and open labels.inc and add your custom label

$labels['customlabel'] = 'Custom Label';

Hope this helps