Show
Ignore:
Timestamp:
07/01/04 19:45:49 (20 years ago)
Author:
jalet
Message:

Added code to handle the description field for printers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/cgi-bin/printquota.cgi

    r1525 r1582  
    2323# 
    2424# $Log$ 
     25# Revision 1.30  2004/07/01 17:45:48  jalet 
     26# Added code to handle the description field for printers 
     27# 
    2528# Revision 1.29  2004/06/06 21:07:55  jalet 
    2629# Improved CGI script to allow history on printers and hostnames. 
     
    189192        for printer in printers : 
    190193            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) 
    192195            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) 
    194197        message += '</select></td></tr></table>' 
    195198        return message