Changeset 1235 for pykota/trunk/cgi-bin/printquota.cgi
- Timestamp:
- 12/02/03 15:40:21 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/printquota.cgi
r1172 r1235 23 23 # 24 24 # $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 # 25 30 # Revision 1.15 2003/10/24 22:06:42 jalet 26 31 # Initial support for browser's language preference added. … … 128 133 print header % version.__version__ 129 134 print self.body 130 print "<!-- %s -->" % str(getLanguagePreference())131 135 print footer 132 136 … … 201 205 self.body += self.htmlGroupsCheckbox(isgroup) 202 206 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() 205 210 206 211 if __name__ == "__main__" :