diff options
author | alecpl <alec@alec.pl> | 2011-05-16 13:53:08 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-05-16 13:53:08 +0000 |
commit | a509bb677ca626315d71e07afc8342a0690b6859 (patch) | |
tree | e55d28844812e713157aeeab2ed378adebd2ab05 /skins/default/includes/messagetoolbar.html | |
parent | 9b6c82fdc8e0f74a1ca0f838e710c944c5526f65 (diff) |
- Add option to set default action of Forward button to "Forward as attachment"
Diffstat (limited to 'skins/default/includes/messagetoolbar.html')
-rw-r--r-- | skins/default/includes/messagetoolbar.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/skins/default/includes/messagetoolbar.html b/skins/default/includes/messagetoolbar.html index dcc27caea..2ac23a12b 100644 --- a/skins/default/includes/messagetoolbar.html +++ b/skins/default/includes/messagetoolbar.html @@ -26,9 +26,15 @@ </div> <div id="forwardmenu" class="popupmenu"> - <ul> - <li><roundcube:button command="forward" label="forwardinline" prop="sub" classAct="forwardlink active" class="forwardlink" /></li> - <li><roundcube:button command="forward-attachment" label="forwardattachment" prop="sub" classAct="forwardattachmentlink active" class="forwardattachmentlink" /></li> + <ul class="toolbarmenu"> + <li> + <input type="radio" name="forwardtype" value="0" onchange="rcmail.command('save-pref', {name: 'forward_attachment', value: 0, env: 'forward_attachment'});" /> + <roundcube:button command="forward" label="forwardinline" prop="sub" classAct="forwardlink active" class="forwardlink" /> + </li> + <li> + <input type="radio" name="forwardtype" value="1" onchange="rcmail.command('save-pref', {name: 'forward_attachment', value: 1, env: 'forward_attachment'})" /> + <roundcube:button command="forward-attachment" label="forwardattachment" prop="sub" classAct="forwardattachmentlink active" class="forwardattachmentlink" /> + </li> <roundcube:container name="forwardmenu" id="forwardmenu" /> </ul> </div> |