From 0907c8e74be71b15609321db3e15ab4b5cd8ce30 Mon Sep 17 00:00:00 2001 From: Dennis Kaarsemaker Date: Sun, 2 Jul 2006 11:40:22 +0200 Subject: [PATCH] * Fixed bantracker webinterface * Added authorinfo to factoids * Added hhgttg quotes and magic 8ball to the mess plugin * Enabled ubotu, tell ... again --- Bantracker/bans.cgi | 7 ++++--- Encyclopedia/plugin.py | 24 ++++++++++++++++++------ Mess/plugin.py | 21 ++++++++++++++++++++- bot.css | 2 +- commoncgi.py | 20 ++++++++++++++++---- 5 files changed, 59 insertions(+), 15 deletions(-) diff --git a/Bantracker/bans.cgi b/Bantracker/bans.cgi index e538dd9..5677f25 100755 --- a/Bantracker/bans.cgi +++ b/Bantracker/bans.cgi @@ -311,7 +311,7 @@ for b in bans[start:end]: # Operator print '%s' % b[2] if b[4]: # Ban removal - print '
%s' % b[5] + print u'
%s' % b[5] print '' # Time print '%s' % pickle.loads(b[3]).astimezone(tz).strftime("%b %d %Y %H:%M:%S") @@ -334,8 +334,9 @@ for b in bans[start:end]: print '(No comments) ' else: for c in comments: - print '%s
%s, %s

' % \ - (q(c[1]),c[0],pickle.loads(c[2]).astimezone(tz).strftime("%b %d %Y %H:%M:%S")) + print q(c[1]) + print u'
%s, %s

' % \ + (c[0],pickle.loads(c[2]).astimezone(tz).strftime("%b %d %Y %H:%M:%S")) print """Add comment""" % b[6] print """