CVS: tmda-cgi/display/themes/Blue/template editlist.ht,1.3,1.4 editlist.html,1.13,1.14 theme.ht,1.11,1.12 theme.html,1.20,1.21 uninstall.ht,1.2,1.3 uninstall.html,1.8,1.9 view.ht,1.8,1.9 view.html,1.17,1.18
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-serv2525/display/themes/Blue/template
Modified Files:
editlist.ht editlist.html theme.ht theme.html uninstall.ht
uninstall.html view.ht view.html
Log Message:
Added JS confirmation to uninstaller.
Widened the list editor text box.
Index: editlist.ht
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/editlist.ht,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- editlist.ht 28 Apr 2003 02:09:30 -0000 1.3
+++ editlist.ht 22 May 2003 15:58:23 -0000 1.4
@@ -7,7 +7,7 @@
<td height="30" colspan="2"><b>%(FilePath)s:</b></td>
</tr>
<tr>
- <td colspan="2" align="center"><textarea name="list" cols="30"
+ <td colspan="2" align="center"><textarea name="list" cols="55"
rows="15">%(FileContents)s</textarea></td>
</tr>
<tr align="center">
Index: editlist.html
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/editlist.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- editlist.html 6 May 2003 21:50:40 -0000 1.13
+++ editlist.html 22 May 2003 15:58:23 -0000 1.14
@@ -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:12 2003 -->
+<!-- Thu May 22 10:27:28 2003 -->
<!-- USING HT2HTML 2.1 -->
<!-- SEE http://ht2html.sf.net -->
<!-- User-specified headers:
@@ -80,7 +80,7 @@
<td height="30" colspan="2"><b>%(FilePath)s:</b></td>
</tr>
<tr>
- <td colspan="2" align="center"><textarea name="list" cols="30"
+ <td colspan="2" align="center"><textarea name="list" cols="55"
rows="15">%(FileContents)s</textarea></td>
</tr>
<tr align="center">
Index: theme.ht
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/theme.ht,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- theme.ht 13 May 2003 22:25:29 -0000 1.11
+++ theme.ht 22 May 2003 15:58:23 -0000 1.12
@@ -50,7 +50,7 @@
<option %(GeneralUseJSConfirmNoSelected)s value="No">Disabled</option>
</select></td>
<td> </td>
- <td>Javascript confirmation before deleting or blacklisting</td>
+ <td>Javascript confirmation before irreversible actions</td>
</tr>
<tr>
<td align="center"><select name="ViewPendingAltPref">
Index: theme.html
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/theme.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- theme.html 13 May 2003 22:25:29 -0000 1.20
+++ theme.html 22 May 2003 15:58:23 -0000 1.21
@@ -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 13 16:07:52 2003 -->
+<!-- Thu May 22 10:50:53 2003 -->
<!-- USING HT2HTML 2.1 -->
<!-- SEE http://ht2html.sf.net -->
<!-- User-specified headers:
@@ -137,7 +137,7 @@
<option %(GeneralUseJSConfirmNoSelected)s value="No">Disabled</option>
</select></td>
<td> </td>
- <td>Javascript confirmation before deleting or blacklisting</td>
+ <td>Javascript confirmation before irreversible actions</td>
</tr>
<tr>
<td align="center"><select name="ViewPendingAltPref">
@@ -192,7 +192,7 @@
<tr>
<td align="center"><select name="PendingListDateFormat">
<option %(PendingListDateFormatYmdSelected)s
- value="%Y-%m-%d">2003-05-13</option>
+ value="%Y-%m-%d">2003-03-13</option>
<option %(PendingListDateFormataZmZdSelected)s
value="%a Z-%m/Z-%d">Tue 3/13</option>
<option %(PendingListDateFormataZdZmSelected)s
Index: uninstall.ht
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/uninstall.ht,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- uninstall.ht 9 May 2003 05:05:00 -0000 1.2
+++ uninstall.ht 22 May 2003 15:58:23 -0000 1.3
@@ -1,5 +1,13 @@
Title: Uninstall TMDA?
+<script>
+<!-- Hide script
+function JSConfirm()
+{
+ return confirm("Are you sure you want to uninstall TMDA?")
+}
+// -->
+</script>
<h2>Uninstall</h2>
<p>Would you like to uninstall TMDA from your e-mail account? Doing this will
open you up to being spammed.</p>
@@ -7,7 +15,7 @@
any e-mails still in your pending directory. You may choose to release or
delete them based on how long they have been sitting in your pending
directory.</p>
-<form method="post" action="%(Script)s">
+<form method="post" %(OnSubmit)s action="%(Script)s">
<table border="1" align="center" cellpadding="20">
<tr>
<td align="center"><p>Yes, I would like to uninstall TMDA.</p>
Index: uninstall.html
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/uninstall.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- uninstall.html 9 May 2003 05:05:00 -0000 1.8
+++ uninstall.html 22 May 2003 15:58:24 -0000 1.9
@@ -2,7 +2,7 @@
<?xml-stylesheet href="%(ThemeDir)s/styles.css" type="text/css"?>
<html>
<!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. -->
-<!-- Wed May 7 23:02:32 2003 -->
+<!-- Thu May 22 10:41:46 2003 -->
<!-- USING HT2HTML 2.1 -->
<!-- SEE http://ht2html.sf.net -->
<!-- User-specified headers:
@@ -86,14 +86,22 @@
</td>
<!-- end of sidebar cell -->
<!-- start of body cell -->
-<td valign="top" class="body"><h2>Uninstall</h2>
+<td valign="top" class="body"><script>
+<!-- Hide script
+function JSConfirm()
+{
+ return confirm("Are you sure you want to uninstall TMDA?")
+}
+// -->
+</script>
+<h2>Uninstall</h2>
<p>Would you like to uninstall TMDA from your e-mail account? Doing this will
open you up to being spammed.</p>
<p>If you would like to proceed, you must decide how you would like to handle
any e-mails still in your pending directory. You may choose to release or
delete them based on how long they have been sitting in your pending
directory.</p>
-<form method="post" action="%(Script)s">
+<form method="post" %(OnSubmit)s action="%(Script)s">
<table border="1" align="center" cellpadding="20">
<tr>
<td align="center"><p>Yes, I would like to uninstall TMDA.</p>
Index: view.ht
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/view.ht,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- view.ht 21 May 2003 05:09:31 -0000 1.8
+++ view.ht 22 May 2003 15:58:24 -0000 1.9
@@ -1,21 +1,25 @@
Title: Pending E-mail
<script>
+<!-- Hide script
function ConfirmDelete()
{
if (confirm("Permanently delete this pending message?\nAny confirmation that follows will fail."))
document.location.href = "%(Script)s?cmd=view&subcmd=delete&msgid=%(MsgID)s&SID=%(SID)s"
}
+
function ConfirmBlacklist()
{
if (confirm("Blacklist sender and permanently delete this pending message?"))
document.location.href = "%(Script)s?cmd=view&subcmd=black&msgid=%(MsgID)s&SID=%(SID)s"
}
+
function ConfirmSpamCop()
{
if (confirm("Permanently delete this pending message and report to SpamCop?"))
document.location.href = "%(Script)s?cmd=view&subcmd=spamcop&msgid=%(MsgID)s&SID=%(SID)s"
}
+// -->
</script>
<table width="100%" border="2" cellpadding="0" cellspacing="0"
bordercolor="#4E508F">
Index: view.html
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/view.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- view.html 21 May 2003 05:09:32 -0000 1.17
+++ view.html 22 May 2003 15:58:24 -0000 1.18
@@ -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 20 10:35:19 2003 -->
+<!-- Thu May 22 10:32:26 2003 -->
<!-- USING HT2HTML 2.1 -->
<!-- SEE http://ht2html.sf.net -->
<!-- User-specified headers:
@@ -75,21 +75,25 @@
<!-- end of sidebar cell -->
<!-- start of body cell -->
<td valign="top" class="body"><script>
+<!-- Hide script
function ConfirmDelete()
{
if (confirm("Permanently delete this pending message?\nAny confirmation that follows will fail."))
document.location.href = "%(Script)s?cmd=view&subcmd=delete&msgid=%(MsgID)s&SID=%(SID)s"
}
+
function ConfirmBlacklist()
{
if (confirm("Blacklist sender and permanently delete this pending message?"))
document.location.href = "%(Script)s?cmd=view&subcmd=black&msgid=%(MsgID)s&SID=%(SID)s"
}
+
function ConfirmSpamCop()
{
if (confirm("Permanently delete this pending message and report to SpamCop?"))
document.location.href = "%(Script)s?cmd=view&subcmd=spamcop&msgid=%(MsgID)s&SID=%(SID)s"
}
+// -->
</script>
<table width="100%" border="2" cellpadding="0" cellspacing="0"
bordercolor="#4E508F">
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs