[Spambayes-checkins] spambayes pop3proxy.py,1.29,1.30
Richie Hindle
richiehindle@users.sourceforge.net
Thu Nov 28 21:27:11 2002
Update of /cvsroot/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv3157
Modified Files:
pop3proxy.py
Log Message:
HTML tidyings.
Index: pop3proxy.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/pop3proxy.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** pop3proxy.py 28 Nov 2002 17:04:58 -0000 1.29
--- pop3proxy.py 28 Nov 2002 21:27:09 -0000 1.30
***************
*** 611,615 ****
# value. This is so that setFieldValue can set the value.
! header = """<html><head><title>Spambayes proxy: %s</title>
<style>
body { font: 90%% arial, swiss, helvetica; margin: 0 }
--- 611,616 ----
# value. This is so that setFieldValue can set the value.
! header = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
! <html><head><title>Spambayes proxy: %s</title>
<style>
body { font: 90%% arial, swiss, helvetica; margin: 0 }
***************
*** 852,856 ****
homeLink = name
else:
! homeLink = "<a href='home'>Home</a> > %s" % name
if showImage:
image = "<img src='helmet.gif' align='absmiddle'> "
--- 853,857 ----
homeLink = name
else:
! homeLink = "<a href='home'>Home</a> > %s" % name
if showImage:
image = "<img src='helmet.gif' align='absmiddle'> "
***************
*** 1061,1065 ****
stripeClass = ['stripe_on', 'stripe_off'][stripe]
lines.append("""<tr class='%s'><td>%s</td><td>%s</td>
! <td><center>%s</center></td></tr>""" % \
(stripeClass, subject, from_, radioGroup))
stripe = stripe ^ 1
--- 1062,1066 ----
stripeClass = ['stripe_on', 'stripe_off'][stripe]
lines.append("""<tr class='%s'><td>%s</td><td>%s</td>
! <td align='center'>%s</td></tr>""" % \
(stripeClass, subject, from_, radioGroup))
stripe = stripe ^ 1
***************
*** 1163,1167 ****
self.appendMessages(lines, keyedMessages[header], label)
! lines.append("""<tr><td></td><td></td><td align='middle'> <br>
<input type='submit' value='Train'></td></tr>""")
lines.append("</table></form>")
--- 1164,1168 ----
self.appendMessages(lines, keyedMessages[header], label)
! lines.append("""<tr><td></td><td></td><td align='center'> <br>
<input type='submit' value='Train'></td></tr>""")
lines.append("</table></form>")
More information about the Spambayes-checkins
mailing list