CVS: tmda-cgi ChangeLog,1.32,1.33 Install.py,1.12,1.13
Gre7g Luterman <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda-cgi In directory sc8-pr-cvs1:/tmp/cvs-serv2525 Modified Files: ChangeLog Install.py Log Message: Added JS confirmation to uninstaller. Widened the list editor text box. Index: ChangeLog =================================================================== RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- ChangeLog 21 May 2003 20:35:59 -0000 1.32 +++ ChangeLog 22 May 2003 15:58:23 -0000 1.33 @@ -1,3 +1,9 @@ +2003-05-22 Gre7g Luterman <[email protected]> + + * Added JS confirmation to uninstaller. + + * Widened the list editor text box. + 2003-05-21 Gre7g Luterman <[email protected]> * tmda-cgi 0.09 is released. Index: Install.py =================================================================== RCS file: /cvsroot/tmda/tmda-cgi/Install.py,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Install.py 21 May 2003 17:20:18 -0000 1.12 +++ Install.py 22 May 2003 15:58:23 -0000 1.13 @@ -613,6 +613,15 @@ else: TemplateFN = "welcome.html" - # Display template + # Load template T = Template.Template(TemplateFN) + + # Javascript confirmation? + if PVars.has_key(["General", "UseJSConfirm"]) and \ + PVars[("General", "UseJSConfirm")] == "Yes": + T["OnSubmit"] = 'onSubmit="return JSConfirm()"' + else: + T["OnSubmit"] = "" + + # Display template print T _______________________________________ tmda-cvs mailing list http://tmda.net/lists/listinfo/tmda-cvs