[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:
|
||||
args=request.getText(args)
|
||||
|
||||
for item in macro.request.form.items():
|
||||
if not form_vals.has_key(item[0]):
|
||||
try:
|
||||
form_vals[item[0]]=item[1][0]
|
||||
except AttributeError:
|
||||
pass
|
||||
for item in macro.request.query_string.split('&'):
|
||||
if item.strip():
|
||||
item = item.split('=')
|
||||
if not form_vals.has_key(item[0]):
|
||||
try:
|
||||
form_vals[item[0]]=item[1]
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
# PROCESSING ACTIONS ----------------------------------------
|
||||
cal_action = form_vals.get('calaction', default_action)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue