Ejemplo n.º 1
0
 def write_form(self,username="",password="",verify="",email="",errorUser="",errorPassword="",errorVerify="",errorEmail=""):
     self.response.out.write(textsignup%{
                                     "username":escape_html(username),
                                     "errorUser":escape_html(errorUser),
                                     "password":escape_html(password),
                                     "errorPassword":escape_html(errorPassword),
                                     "verify":escape_html(verify),
                                     "errorPasswordMatch":escape_html(errorVerify),
                                     "email":escape_html(email),
                                     "errorEmail":escape_html(errorEmail)})
Ejemplo n.º 2
0
 def write_form(self,
                username="",
                password="",
                verify="",
                email="",
                errorUser="",
                errorPassword="",
                errorVerify="",
                errorEmail=""):
     self.response.out.write(
         textsignup % {
             "username": escape_html(username),
             "errorUser": escape_html(errorUser),
             "password": escape_html(password),
             "errorPassword": escape_html(errorPassword),
             "verify": escape_html(verify),
             "errorPasswordMatch": escape_html(errorVerify),
             "email": escape_html(email),
             "errorEmail": escape_html(errorEmail)
         })
Ejemplo n.º 3
0
 def write_form(self,rot13=""):
     self.response.out.write(htmlRot13%{"rot13":escape_html(rot13)})
Ejemplo n.º 4
0
 def write_form(self,error="",month="",day="",year=""):
     self.response.out.write(form%{"error":error,"month":escape_html(month),"day":escape_html(day),"year":escape_html(year)})
Ejemplo n.º 5
0
 def write_form(self, rot13=""):
     self.response.out.write(htmlRot13 % {"rot13": escape_html(rot13)})
Ejemplo n.º 6
0
 def write_form(self, text=""):
     text = tools.escape_html(text)
     self.response.write(form_rot13.format(text))
Ejemplo n.º 7
0
 def write_form(self, error="", month="", day="", year=""):
     params = {"error" : error,
               "month" : tools.escape_html(month),
               "day" : tools.escape_html(day),
               "year" : tools.escape_html(year)}
     self.response.write(form % params)