Package: squirrelmail
Version: 2:1.4.15-4+lenny2
Severity: whishlist
The options in squirrelmail to edit are all over the shop and a waste
of SVGA space. When overseas I noticed that these would not fit on
netbook display when a reasonable font size was used.
The inconsistency issue is a bit like #421152 which is also a wishlist
item for upstream.
These are not skinable so I will need it changed if it is not to revert
on every update.
I hacked up /usr/share/squirrelmail/src/read_body.php
The logic might be a mess, but this just tidies up display.
Folder Edit option text New text
====== ================ ========
Sent Edit Message as New Edit
Drafts Resume Draft Edit
INBOX Forward Edit (only threading)
INBOX Forward as Attachment Forward (any other way?)
> /usr/share/squirrelmail/po/squirrelmail.pot:733:msgid "Edit Message as New"
> /usr/share/squirrelmail/src/read_body.php:567: $comp_alt_string =
> _("Edit Message as New");
Change to "Edit".
> /usr/share/squirrelmail/po/squirrelmail.pot:730:msgid "Resume Draft"
> /usr/share/squirrelmail/src/read_body.php:564: $comp_alt_string =
> _("Resume Draft");
Change to "Edit".
> /usr/share/squirrelmail/po/squirrelmail.pot:739:msgid "Forward"
> /usr/share/squirrelmail/po/squirrelmail.pot:1584:msgid "Prepend Signature
> before Reply/Forward Text"
> /usr/share/squirrelmail/src/read_body.php:641: $s .=
> makeComposeLink($comp_action_uri, _("Forward"));
Change to "Edit".
> /usr/share/squirrelmail/po/squirrelmail.pot:742:msgid "Forward as Attachment"
> /usr/share/squirrelmail/po/squirrelmail.pot:1557:msgid "Enable Forward as
> Attachment"
> /usr/share/squirrelmail/src/read_body.php:646: $s .=
> makeComposeLink($comp_action_uri, _("Forward as Attachment"));
Change to "Forward".
I have changed 4 lines in /usr/share/squirrelmail/src/read_body.php
> --- read_body.php.ori 2009-05-19 22:43:01.000000000 +0800
> +++ read_body.php 2010-04-29 18:25:08.000000000 +0800
> @@ -561,10 +561,10 @@
>
> if (($mailbox == $draft_folder) && ($save_as_draft)) {
> $comp_alt_uri = $comp_uri . '&smaction=draft';
> - $comp_alt_string = _("Resume Draft");
> + $comp_alt_string = _("Edit");
> } else if (handleAsSent($mailbox)) {
> $comp_alt_uri = $comp_uri . '&smaction=edit_as_new';
> - $comp_alt_string = _("Edit Message as New");
> + $comp_alt_string = _("Edit");
> }
> if (isset($comp_alt_uri)) {
> $s .= $topbar_delimiter;
> @@ -638,12 +638,12 @@
> $s .= '</small></td>' . "\n" .
> html_tag( 'td', '', 'right', '', 'width="33%" nowrap' ) .
> '<small>';
> $comp_action_uri = $comp_uri . '&smaction=forward';
> - $s .= makeComposeLink($comp_action_uri, _("Forward"));
> + $s .= makeComposeLink($comp_action_uri, _("Edit"));
>
> if ($enable_forward_as_attachment) {
> $comp_action_uri = $comp_uri . '&smaction=forward_as_attachment';
> $s .= $topbar_delimiter;
> - $s .= makeComposeLink($comp_action_uri, _("Forward as Attachment"));
> + $s .= makeComposeLink($comp_action_uri, _("Forward"));
> }
>
> $comp_action_uri = $comp_uri . '&smaction=reply';
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]