Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv28026

Modified Files:
        Defaults.py 
Log Message:
Added CGI_CROP_SENDER and CGI_CROP_SUBJECT so the user can specify how many
characters to show before cropping these fields down in list view.


Index: Defaults.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Defaults.py,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- Defaults.py 6 Dec 2002 23:48:12 -0000       1.167
+++ Defaults.py 12 Dec 2002 22:03:05 -0000      1.168
@@ -449,6 +449,27 @@
 if CGI_ACTIVE and not vars().has_key('CGI_CLEANUP_ODDS'):
     CGI_CLEANUP_ODDS = 0.01
 
+# CGI_CROP_SENDER
+# Maximum length of a sender's e-mail address before it will be cropped in
+# list view.
+#
+# Example:
+# CGI_CROP_SENDER = 40
+#
+# Default is 25.
+if CGI_ACTIVE and not vars().has_key('CGI_CROP_SENDER'):
+  CGI_CROP_SENDER = 25
+
+# CGI_CROP_SUBJECT
+# Maximum length of an e-mail subject before it will be cropped in list view.
+#
+# Example:
+# CGI_CROP_SUBJECT = 50
+#
+# Default is 40.
+if CGI_ACTIVE and not vars().has_key('CGI_CROP_SUBJECT'):
+  CGI_CROP_SUBJECT = 40
+
 # CGI_DATE_FORMAT
 # Format string for time.strftime() used when displaying message dates
 # in pending list view.

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs

Reply via email to