CVS: tmda-cgi/display/themes/Blue/template uninstall.ht,1.1,1.2 uninstall.html,1.7,1.8

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi/display/themes/Blue/template
In directory sc8-pr-cvs1:/tmp/cvs-serv3384/display/themes/Blue/template

Modified Files:
	uninstall.ht uninstall.html 
Log Message:
Renamed Version.py to CgiVersion.py to keep importer from grabbing the wrong
one.

Install now uses Util.RunTask instead of os.system to launch tar.  This keeps
it from reverting to RUID/RGID.

Simplified uninstall form processing a tad.  Put threshold codes in form so 
code doesn't have to generate them.

Fixed a bug where uninstall would hang if it had to delete messages. 
Mistakenly assumed that the Pending modules listPendingIds would return only
the pending IDs referred to by threshold.  It does not.  It returns them all.


Index: uninstall.ht
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/uninstall.ht,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- uninstall.ht	28 Apr 2003 02:09:31 -0000	1.1
+++ uninstall.ht	9 May 2003 05:05:00 -0000	1.2
@@ -12,13 +12,13 @@
   <tr>
     <td align="center"><p>Yes, I would like to uninstall TMDA.</p>
       <p><select name="release">
-<option value="0">Don't release anything. Delete it all.</option>
-<option value="1">Release all mail pending for less than a day.</option>
-<option value="3">Release all mail pending for less than three days.</option>
-<option value="7" selected>Release all mail pending for less than a week.</option>
-<option value="14">Release all mail pending for less than two weeks.</option>
-<option value="30">Release all mail pending for less than a month.</option>
-<option value="-1">Release all mail, regardless of age.</option>
+<option value="1s">Don't release anything. Delete it all.</option>
+<option value="1d">Release all mail pending for less than a day.</option>
+<option value="3d">Release all mail pending for less than three days.</option>
+<option value="7d" selected>Release all mail pending for less than a week.</option>
+<option value="14d">Release all mail pending for less than two weeks.</option>
+<option value="30d">Release all mail pending for less than a month.</option>
+<option value="100Y">Release all mail, regardless of age.</option>
           </select></p>
       <p>I understand that all messages not released will be deleted.</p>
       <p><input type="submit" value="Uninstall"></p>

Index: uninstall.html
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/uninstall.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- uninstall.html	6 May 2003 21:50:41 -0000	1.7
+++ uninstall.html	9 May 2003 05:05:00 -0000	1.8
@@ -2,7 +2,7 @@
 <?xml-stylesheet href="%(ThemeDir)s/styles.css" type="text/css"?>
 <html>
 <!-- THIS PAGE IS AUTOMATICALLY GENERATED.  DO NOT EDIT. -->
-<!-- Tue May  6 14:07:14 2003 -->
+<!-- Wed May  7 23:02:32 2003 -->
 <!-- USING HT2HTML 2.1 -->
 <!-- SEE http://ht2html.sf.net -->
 <!-- User-specified headers:
@@ -98,13 +98,13 @@
   <tr>
     <td align="center"><p>Yes, I would like to uninstall TMDA.</p>
       <p><select name="release">
-<option value="0">Don't release anything. Delete it all.</option>
-<option value="1">Release all mail pending for less than a day.</option>
-<option value="3">Release all mail pending for less than three days.</option>
-<option value="7" selected>Release all mail pending for less than a week.</option>
-<option value="14">Release all mail pending for less than two weeks.</option>
-<option value="30">Release all mail pending for less than a month.</option>
-<option value="-1">Release all mail, regardless of age.</option>
+<option value="1s">Don't release anything. Delete it all.</option>
+<option value="1d">Release all mail pending for less than a day.</option>
+<option value="3d">Release all mail pending for less than three days.</option>
+<option value="7d" selected>Release all mail pending for less than a week.</option>
+<option value="14d">Release all mail pending for less than two weeks.</option>
+<option value="30d">Release all mail pending for less than a month.</option>
+<option value="100Y">Release all mail, regardless of age.</option>
           </select></p>
       <p>I understand that all messages not released will be deleted.</p>
       <p><input type="submit" value="Uninstall"></p>

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.