* Some code cleanup
* First code for moderated comments
This commit is contained in:
parent
6575010157
commit
f449c22281
@ -16,13 +16,13 @@
|
||||
# * Complete Atom Feed (like RSS)
|
||||
# * Fix broken charset in outgoing mails (needs some testing)
|
||||
|
||||
from ConfigParser import ConfigParser
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import locale
|
||||
import re
|
||||
import cgi
|
||||
from ConfigParser import ConfigParser
|
||||
from cgi import FieldStorage
|
||||
from smtplib import SMTP
|
||||
from md5 import new as newmd5
|
||||
from glob import glob
|
||||
@ -173,7 +173,7 @@ try: feed_preview = configuration.get('feed', 'feed_preview')
|
||||
except: errorpage('"feed_preview" is missing or empty in configuration!')
|
||||
|
||||
# Read POST Variables
|
||||
action = cgi.FieldStorage()
|
||||
action = FieldStorage()
|
||||
month_display = action.getvalue('m')
|
||||
|
||||
static_display = action.getvalue('s')
|
||||
|
@ -17,6 +17,7 @@ monthlist: True
|
||||
linklist: True
|
||||
permalinks: True
|
||||
comments: True
|
||||
comments_moderated: False
|
||||
newest_first: True
|
||||
|
||||
[smtp]
|
||||
|
Loading…
Reference in New Issue
Block a user