Changeset 2631 for pykota/trunk/cgi-bin

Show
Ignore:
Timestamp:
01/26/06 16:25:44 (19 years ago)
Author:
jerome
Message:

Added support for the CANCEL command in subprocesses launched from the
overwrite_jobticket directive : this will allow end users to be asked
if they really want to proceed to printing once the new version
of pykoticon will be ready.
Several minor fixes.

Files:
1 modified

Legend:

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

    r2622 r2631  
    234234                        elif job.JobAction == "PROBLEM" : 
    235235                            oddevenclass = "problem" 
     236                        elif job.JobAction == "CANCEL" : 
     237                            oddevenclass = "cancel" 
    236238                        username_url = '<a href="%s?%s">%s</a>' % (os.environ.get("SCRIPT_NAME", ""), urllib.urlencode({"history" : 1, "username" : job.UserName}), job.UserName) 
    237239                        printername_url = '<a href="%s?%s">%s</a>' % (os.environ.get("SCRIPT_NAME", ""), urllib.urlencode({"history" : 1, "printername" : job.PrinterName}), job.PrinterName)