[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] CVS: squirrelmail/functions mailbox_display.php,1.347,1.348
From: Alex Lemaresquier <alex-brainstorm () users ! sourceforge ! net>
Date: 2003-08-30 23:40:40
[Download RAW message or body]
Update of /cvsroot/squirrelmail/squirrelmail/functions
In directory sc8-pr-cvs1:/tmp/cvs-serv3991/functions
Modified Files:
mailbox_display.php
Log Message:
Added Length of Subject as Display Option (default 50, as before).
Index: mailbox_display.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/functions/mailbox_display.php,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -w -r1.347 -r1.348
--- mailbox_display.php 30 Aug 2003 22:24:14 -0000 1.347
+++ mailbox_display.php 30 Aug 2003 23:40:38 -0000 1.348
@@ -21,10 +21,8 @@
/* Constants:
* PG_SEL_MAX: default value for page_selector_max
- * SUBJ_TRIM_AT: the length at which we trim off subjects
*/
define('PG_SEL_MAX', 10);
-define('SUBJ_TRIM_AT', 50);
function elapsed($start)
{
@@ -1260,7 +1258,8 @@
return _("(no subject)");
}
- $trim_at = SUBJ_TRIM_AT;
+ global $truncate_subject; /* number of characters for Subject field (<= 0 for unchanged) */
+ $trim_at = $truncate_subject;
/* if this is threaded, subtract two chars per indentlevel */
if (($threadlevel > 0) && ($threadlevel <= 10))
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic