From 5137c0bc6a3901b3f238b804d72abe1e461fe158 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 2 Apr 2002 22:11:27 +0000 Subject: [PATCH] small changes to wording --- scripts/cgi-bin/vinyambar-register.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/cgi-bin/vinyambar-register.py b/scripts/cgi-bin/vinyambar-register.py index 2f83b3eb6..702f6aeec 100755 --- a/scripts/cgi-bin/vinyambar-register.py +++ b/scripts/cgi-bin/vinyambar-register.py @@ -122,9 +122,11 @@ else: custid=cursor.fetchone()[0] if os.environ.has_key('REMOTE_ADDR'): ip=os.environ['REMOTE_ADDR'] + if ip!=None: cursor.execute("REPLACE userips (ip, user) VALUES ('"+ip+"', "+str(int(custid))+")") cursor.execute("select count(*) from users where status='WAITING' or status='CONFIRMED'") waiting=cursor.fetchone()[0] Send(email, custid, firstname, password, waiting) - Display("

Deine Anmeldung wurde bearbeitet. Eine EMail mit Hinweisen ist unterwegs zu Dir.") + text={"de":"Deine Anmeldung wurde bearbeitet. Eine EMail mit Hinweisen ist unterwegs zu Dir", "en":"Your application was processed. An email containing further instructions is being sent to you"} + Display("

"+text[locale]+".") db.close()