Update of /cvsroot/tmda/tmda/contrib/cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv2080
Modified Files:
Pending.py
Log Message:
Tweaked the HTML a little to get a more consistent look across different brow-
sers.
Index: Pending.py
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/cgi/Pending.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Pending.py 12 Dec 2002 22:26:22 -0000 1.7
+++ Pending.py 14 Dec 2002 01:30:34 -0000 1.8
@@ -201,7 +201,7 @@
<td colspan="4">
<table class="MailList">
<tr>
- <td width="%d"><img src="display/actions.gif" width="66" height="19"
+ <td width="%d" nowrap><img src="display/actions.gif" width="66"
+height="19"
align="baseline" alt="leave/release/delete">%s</td>
<th width="150"><a href="#">Sender</a></th>
<th width="250"><a href="#">Subject</a></th>
@@ -280,16 +280,23 @@
# Message is not "in process"
print """ <tr>
<td nowrap>
- <input name="a%d" type="radio" value="pass" checked>
- <input name="a%d" type="radio" value="release">
- <input name="a%d" type="radio" value="delete">""" % (Count, Count,
Count)
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td width=24><input name="a%d" type="radio" value="pass" checked></td>
+ <td width=24><input name="a%d" type="radio" value="release"></td>
+ <td width=24><input name="a%d" type="radio" value="delete"></td>""" \
+ % (Count, Count, Count)
if Defaults.PENDING_WHITELIST_APPEND:
- print " <input name=a%d type=radio value=whitelist>" % Count
+ print "<td width=24><input name=a%d type=radio value=whitelist></td>" \
+ % Count
if Defaults.PENDING_BLACKLIST_APPEND:
- print " <input name=a%d type=radio value=blacklist>" % Count
+ print "<td width=24><input name=a%d type=radio value=blacklist></td>" \
+ % Count
print """ <input type=hidden name=m%d value='%s'>
+ </tr>
+ </table>
</td>
<td>%s</td>
<td><a href="%s?cmd=view&msgid=%s&SID=%s">%s</a></td>""" % \
@@ -297,7 +304,7 @@
Subject)
# Finish message record regardless of whether it is "in process"
- print """ <td>%s</td>
+ print """ <td nowrap>%s</td>
<td>%s</td>
</tr>
<tr bgcolor="#CCCCCC">
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs