Changeset 1817 for pykota/trunk/cgi-bin/printquota.cgi
- Timestamp:
- 10/13/04 11:38:27 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/printquota.cgi
r1763 r1817 24 24 # 25 25 # $Log$ 26 # Revision 1.39 2004/10/13 09:38:25 jalet 27 # Added a translatable message from the CGI script 28 # 26 29 # Revision 1.38 2004/10/02 13:47:46 jalet 27 30 # The CGI script doesn't depend anymore on what is in the submit button … … 228 231 printers = self.storage.getMatchingPrinters(mask) 229 232 selectednames = [p.Name for p in selected] 230 message = '<table><tr><td valign="top"> Printer :</td><td valign="top"><select name="printers" multiple="multiple">'233 message = '<table><tr><td valign="top">%s :</td><td valign="top"><select name="printers" multiple="multiple">' % _("Printer") 231 234 for printer in printers : 232 235 if printer.Name in selectednames : … … 251 254 """Main function""" 252 255 printers = ugmask = isgroup = None 253 self.body = "<p> Please click on the button above</p>\n"256 self.body = "<p>%s</p>\n" % _("Please click on the above button") 254 257 if self.form.has_key("report") : 255 258 if self.form.has_key("printers") :