Author Topic: Text Under Message Toolbar  (Read 7293 times)

Offline dave1978

  • Newbie
  • *
  • Posts: 9
Text Under Message Toolbar
« 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

Code: [Select]
<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

Code: [Select]
""
Create Mail

I presume this would need editing:

Code: [Select]


Does anyone know if this is possible

Many thanks


Offline dave1978

  • Newbie
  • *
  • Posts: 9
Re: Text Under Message Toolbar
« Reply #1 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

Code: [Select]
label=&quot;forwardmessage&quot; replace "forwardmessage" with whatever text you want displayed

Offline kmn

  • Jr. Member
  • **
  • Posts: 44
Re: Text Under Message Toolbar
« Reply #2 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

Offline dave1978

  • Newbie
  • *
  • Posts: 9
Re: Text Under Message Toolbar
« Reply #3 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

Code: [Select]
<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

Code: [Select]
$labels['customlabel'] = 'Custom Label';

Hope this helps