[wiki/macro/EventCalendar] is buggy, on autorise les vues journalières, mensuelles, hebdomadaires, etc...
Ignore-this: 33fe10799c345cf11ea8195e39650f9 darcs-hash:20120426125023-bd074-9778b56aac9cba42e491afbf76896182430d502d.gz
This commit is contained in:
parent
fa3f07a636
commit
eb5a359461
1 changed files with 8 additions and 6 deletions
|
@ -268,12 +268,14 @@ def execute(macro, args):
|
||||||
if args:
|
if args:
|
||||||
args=request.getText(args)
|
args=request.getText(args)
|
||||||
|
|
||||||
for item in macro.request.form.items():
|
for item in macro.request.query_string.split('&'):
|
||||||
if not form_vals.has_key(item[0]):
|
if item.strip():
|
||||||
try:
|
item = item.split('=')
|
||||||
form_vals[item[0]]=item[1][0]
|
if not form_vals.has_key(item[0]):
|
||||||
except AttributeError:
|
try:
|
||||||
pass
|
form_vals[item[0]]=item[1]
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
|
|
||||||
# PROCESSING ACTIONS ----------------------------------------
|
# PROCESSING ACTIONS ----------------------------------------
|
||||||
cal_action = form_vals.get('calaction', default_action)
|
cal_action = form_vals.get('calaction', default_action)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue