Roundcube Community Forum

 

Text Under Message Toolbar

Started by dave1978, October 29, 2007, 11:26:05 AM

Previous topic - Next topic

dave1978

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


dave1978

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

kmn

Thanks Dave.

This is a feature quite often requested for.

Could you specify which are the files that need editing.

Regards

kmn

dave1978

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