diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2009-03-08 16:51:38 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2009-03-11 12:51:52 +0000 |
| commit | 7718f6247d7f10f464b8b631b736fa2921e8a273 (patch) | |
| tree | baf71921d2bf8759e97703db3d681555f1ebf78d /roundcubemail/program | |
| parent | 3f87b76045f296f2154b681046554286612cf547 (diff) | |
Changes necessary to implement a move-message dropdown button.
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 3 | ||||
| -rw-r--r-- | roundcubemail/program/localization/en_US/labels.inc | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index 9adcd4cfc..c243d7b1d 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/program/include/main.inc @@ -1043,6 +1043,7 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$mbox_name, &$jslist, $at $maxlength = intval($attrib['maxlength']); $realnames = (bool)$attrib['realnames']; $msgcounts = $RCMAIL->imap->get_cache('messagecount'); + $mailboxaction = ($attrib['mailboxaction']) ? $attrib['mailboxaction'] : 'list'; $idx = 0; $out = ''; @@ -1100,7 +1101,7 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$mbox_name, &$jslist, $at $html_name = Q($foldername . ($unread ? " ($unread)" : '')); $link_attrib = $folder['virtual'] ? array() : array( 'href' => rcmail_url('', array('_mbox' => $folder['id'])), - 'onclick' => sprintf("return %s.command('list','%s',this)", JS_OBJECT_NAME, $js_name), + 'onclick' => sprintf("return %s.command('%s','%s',this)", JS_OBJECT_NAME, $mailboxaction, $js_name), 'title' => $title, ); diff --git a/roundcubemail/program/localization/en_US/labels.inc b/roundcubemail/program/localization/en_US/labels.inc index 29e2620c5..3b73363bd 100644 --- a/roundcubemail/program/localization/en_US/labels.inc +++ b/roundcubemail/program/localization/en_US/labels.inc @@ -177,7 +177,12 @@ $labels['buttonbarmark'] = 'Mark'; $labels['buttonbarreply'] = 'Reply'; $labels['buttonbarreplyall'] = 'Reply to all'; $labels['buttonbarforward'] = 'Forward'; -$labels['archivemessage'] = 'Move to archives folder'; +$labels['buttonbarmove'] = 'Move'; +$labels['buttonbarcopy'] = 'Copy'; + +$labels['archivemessages'] = 'Move to archives folder'; +$labels['movemessages'] = 'Move to selected folder'; +$labels['copymessages'] = 'Copy to selected folder'; // message compose $labels['compose'] = 'Compose a message'; |
