#442 Long Folder Names left Frame

open
nobody
Folders (53)
5
2008-07-16
2008-07-16
Naveen Gavini
No

We experienced some issues with users having long folder names which
extend beyond the width defined for the left frame, and force the left
frame to have a scroll bar.
We added the following code to src/left_main.php which abbreviates long
folder names by adding ellipsis.

/* Check if folder length is greater than 14 abbreviate the folder if it
is */
if (strlen($mailbox) > 15){
$mailbox=substr($mailbox,0,8) . "..." . substr($mailbox,-4);
}

Discussion

  • Naveen Gavini
    Naveen Gavini
    2008-07-16

    ellipsis patch

     
    Attachments
  • Logged In: YES
    user_id=508228
    Originator: NO

    Thanks for your patch. I think in order for it to have the best chance of adoption, it should be a user-configurable item (on the Options->Folder Preferences page), and should be targeted at version 1.5.2+.