Show
Ignore:
Timestamp:
12/02/03 15:40:21 (21 years ago)
Author:
jalet
Message:

Some code refactoring.
New HTML reporter added, which is now used in the CGI script for web based
print quota reports. It will need some de-uglyfication though...

Files:
1 modified

Legend:

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

    r1172 r1235  
    2323# 
    2424# $Log$ 
     25# Revision 1.16  2003/12/02 14:40:20  jalet 
     26# Some code refactoring. 
     27# New HTML reporter added, which is now used in the CGI script for web based 
     28# print quota reports. It will need some de-uglyfication though... 
     29# 
    2530# Revision 1.15  2003/10/24 22:06:42  jalet 
    2631# Initial support for browser's language preference added. 
     
    128133        print header % version.__version__ 
    129134        print self.body 
    130         print "<!-- %s -->" % str(getLanguagePreference()) 
    131135        print footer 
    132136         
     
    201205        self.body += self.htmlGroupsCheckbox(isgroup) 
    202206        if printers and ugmask : 
    203             self.reportingtool = openReporter(admin, "text", printers, ugmask.split(), isgroup) 
    204             self.body += "<pre>%s</pre>" % self.reportingtool.generateReport() 
     207            self.reportingtool = openReporter(admin, "html", printers, ugmask.split(), isgroup) 
     208            # self.body += "<pre>%s</pre>" % self.reportingtool.generateReport() 
     209            self.body += "%s" % self.reportingtool.generateReport() 
    205210             
    206211if __name__ == "__main__" :