Exemple #1
0
def modcontrol_closereport_(request):
    form = request.web_input(reportid='', action='')
    report.close(request.userid, form)
    raise HTTPSeeOther(location="/modcontrol/report?reportid=%d" %
                       (int(form.reportid), ))
Exemple #2
0
 def POST(self):
     form = web.input(reportid='', action='')
     report.close(self.user_id, form)
     raise web.seeother("/modcontrol/report?reportid=%s" % (form.reportid,))
Exemple #3
0
def modcontrol_closereport_(request):
    form = request.web_input(reportid='', action='')
    report.close(request.userid, form)
    raise HTTPSeeOther(location="/modcontrol/report?reportid=%d" % (int(form.reportid),))
Exemple #4
0
 def POST(self):
     form = web.input(reportid='', action='')
     report.close(self.user_id, form)
     raise web.seeother("/modcontrol/report?reportid=%s" %
                        (form.reportid, ))