See second argument in trim() function. http://www.php.net/trim
// exclude \t in trimming $pref = trim($pref," \r\n\0\x0B"); > So your recommendation is to???? Modify cachePrefValues() in > functions/file_prefs.php to not trim whitespace? > > I tried commenting out $pref = trim($pref); and it caused the mailbox to > not display properly when you log in. > > -Ryan > > --__--__-- > > Message: 6 > Date: Mon, 10 Apr 2006 20:58:59 +0300 (EEST) > Subject: Re: [SM-USERS] Reply prefix cannot be set to TAB (Again) > From: "Tomas Kuliavas" <[EMAIL PROTECTED]> > To: squirrelmail-users@lists.sourceforge.net > >> I asked this question last week and didnâEUR(tm)t get a response. I am >> asking >> again: >> >> If you set the "Prefix for Original Message when Replying" to the Tab >> character, it does not get saved past the current session. >> >> 1. login to squirrelmail >> 2. click on options >> 3. click display preferences >> 4. set "Prefix for Original Message when Replying" to the Tab >> character (you can do this by opening notepad, typing the tab key, >> copy the tab character, paste into the input box on squirrelmail) >> >> 5. click submit to save >> >> Notice that if you look at the display preferences again the tab is >> saved. >> >> 6. logout >> 7. login >> 8. click on options >> 9. click display preferences >> >> Notice that the tab character has changed to the default ">". > > file preference backend functions (cachePrefValues() in > functions/file_prefs.php) trim whitespace, when preferences are loaded. > > -- > Tomas > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > -- > squirrelmail-users mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squirrelmail-users@lists.sourceforge.net > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users