Changeset 1582 for pykota/trunk/cgi-bin/printquota.cgi
- Timestamp:
- 07/01/04 19:45:49 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/printquota.cgi
r1525 r1582 23 23 # 24 24 # $Log$ 25 # Revision 1.30 2004/07/01 17:45:48 jalet 26 # Added code to handle the description field for printers 27 # 25 28 # Revision 1.29 2004/06/06 21:07:55 jalet 26 29 # Improved CGI script to allow history on printers and hostnames. … … 189 192 for printer in printers : 190 193 if printer.Name in selectednames : 191 message += '<option value="%s" selected="selected">%s </option>' % (printer.Name, printer.Name)194 message += '<option value="%s" selected="selected">%s (%s)</option>' % (printer.Name, printer.Name, printer.Description) 192 195 else : 193 message += '<option value="%s">%s </option>' % (printer.Name, printer.Name)196 message += '<option value="%s">%s (%s)</option>' % (printer.Name, printer.Name, printer.Description) 194 197 message += '</select></td></tr></table>' 195 198 return message