Ejemplo n.º 1
0
def manage_banner_post_(request):
    form = request.web_input(image="")

    banner.upload(request.userid, form.image)
    raise HTTPSeeOther(location="/control")
Ejemplo n.º 2
0
def manage_banner_post_(request):
    form = request.web_input(image="")

    banner.upload(request.userid, form.image)
    raise HTTPSeeOther(location="/control")
Ejemplo n.º 3
0
    def POST(self):
        form = web.input(image="")

        banner.upload(self.user_id, form.image)
        raise web.seeother("/control")
Ejemplo n.º 4
0
def removebanner(userid, otherid):
    banner.upload(otherid, None)
    note_about(userid, otherid, 'Banner was removed.')
Ejemplo n.º 5
0
def removebanner(userid, otherid):
    banner.upload(otherid, None)
    note_about(userid, otherid, 'Banner was removed.')
Ejemplo n.º 6
0
    def POST(self):
        form = web.input(image="")

        banner.upload(self.user_id, form.image)
        raise web.seeother("/control")