* 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)
|
# * Complete Atom Feed (like RSS)
|
||||||
# * Fix broken charset in outgoing mails (needs some testing)
|
# * Fix broken charset in outgoing mails (needs some testing)
|
||||||
|
|
||||||
from ConfigParser import ConfigParser
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import locale
|
import locale
|
||||||
import re
|
import re
|
||||||
import cgi
|
from ConfigParser import ConfigParser
|
||||||
|
from cgi import FieldStorage
|
||||||
from smtplib import SMTP
|
from smtplib import SMTP
|
||||||
from md5 import new as newmd5
|
from md5 import new as newmd5
|
||||||
from glob import glob
|
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!')
|
except: errorpage('"feed_preview" is missing or empty in configuration!')
|
||||||
|
|
||||||
# Read POST Variables
|
# Read POST Variables
|
||||||
action = cgi.FieldStorage()
|
action = FieldStorage()
|
||||||
month_display = action.getvalue('m')
|
month_display = action.getvalue('m')
|
||||||
|
|
||||||
static_display = action.getvalue('s')
|
static_display = action.getvalue('s')
|
||||||
|
@ -17,6 +17,7 @@ monthlist: True
|
|||||||
linklist: True
|
linklist: True
|
||||||
permalinks: True
|
permalinks: True
|
||||||
comments: True
|
comments: True
|
||||||
|
comments_moderated: False
|
||||||
newest_first: True
|
newest_first: True
|
||||||
|
|
||||||
[smtp]
|
[smtp]
|
||||||
|
Loading…
Reference in New Issue
Block a user