From a81be1b534d2d3380330e1e8dec0b39683a49f12 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 14 Sep 2008 08:47:00 -0400 Subject: [PATCH] -small folder names abbreviation fixes --- program/steps/mail/compose.inc | 2 +- program/steps/settings/func.inc | 2 +- skins/default/templates/message.html | 2 +- skins/default/templates/compose.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index f32637a..e45662d 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -815,7 +815,7 @@ function rcmail_store_target_selection($attrib) { $attrib['name'] = '_store_target'; - $select = rcmail_mailbox_select(array('noselection' => '- '.rcube_label('dontsave').' -')); + $select = rcmail_mailbox_select(array_merge($attrib, array('noselection' => '- '.rcube_label('dontsave').' -'))); return $select->show(rcmail::get_instance()->config->get('sent_mbox'), $attrib); } diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index bb4b0d2..ef2befd 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -230,7 +230,7 @@ // Configure special folders if (!isset($no_override['default_imap_folders'])) { $RCMAIL->imap_init(true); - $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true)); + $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, 'maxlength' => 30)); $table = new html_table(array('cols' => 2)); diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html index da8b457..7f1e1d6 100644 --- a/skins/default/templates/compose.html +++ b/skins/default/templates/compose.html @@ -137,7 +137,7 @@ <roundcube:button type="input" command="list" class="button" label="cancel" tabindex="9" /> </td> <td style="text-align:center; white-space: nowrap"> - <label><roundcube:label name="savesentmessagein" />: <roundcube:object name="storetarget" /></label> + <label><roundcube:label name="savesentmessagein" />: <roundcube:object name="storetarget" maxlength="30" /></label> </td> <td style="text-align:right; white-space:nowrap"> <roundcube:label name="editortype" />: diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html index ccd23eb..3ab6cf3 100644 --- a/skins/default/templates/message.html +++ b/skins/default/templates/message.html @@ -35,7 +35,7 @@ <div id="mailboxlist-container"> <div id="mailboxlist-header"><roundcube:label name="mailboxlist" /></div> -<roundcube:object name="mailboxlist" id="mailboxlist" maxlength="16" /> +<roundcube:object name="mailboxlist" id="mailboxlist" maxlength="25" /> </div> <div id="messageframe"> -- Gitblit v1.9.1