Changeset 2262
- Timestamp:
- 05/19/05 21:54:47 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 9 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/dumpykota.cgi
r2229 r2262 49 49 <td> 50 50 <p> 51 <a href="http://www.librelogiciel.com/software/"><img src=" http://www.librelogiciel.com/software/PyKota/pykota.png?version=%s" alt="PyKota's Logo" /></a>51 <a href="http://www.librelogiciel.com/software/"><img src="%s?version=%s" alt="PyKota's Logo" /></a> 52 52 <br /> 53 53 <a href="http://www.librelogiciel.com/software/">PyKota v%s</a> … … 85 85 """Displays the dumper interface.""" 86 86 global header, footer 87 print header % (self.getCharset(), _("PyKota Data Dumper"), version.__version__, version.__version__, _("PyKota Data Dumper"), _("Dump"), _("Please click on the above button"))87 print header % (self.getCharset(), _("PyKota Data Dumper"), self.config.getLogoURL(), version.__version__, version.__version__, _("PyKota Data Dumper"), _("Dump"), _("Please click on the above button")) 88 88 print self.htmlListDataTypes(self.options.get("data", "")) 89 89 print "<br />" -
pykota/trunk/cgi-bin/printquota.cgi
r2229 r2262 49 49 <td> 50 50 <p> 51 <a href="http://www.librelogiciel.com/software/"><img src=" http://www.librelogiciel.com/software/PyKota/pykota.png?version=%s" alt="PyKota's Logo" /></a>51 <a href="http://www.librelogiciel.com/software/"><img src="%s?version=%s" alt="PyKota's Logo" /></a> 52 52 <br /> 53 53 <a href="http://www.librelogiciel.com/software/">PyKota v%s</a> … … 82 82 """Displays the administrative interface.""" 83 83 global header, footer 84 print header % (self.getCharset(), _("PyKota Reports"), version.__version__, version.__version__, _("PyKota Reports"), _("Report"))84 print header % (self.getCharset(), _("PyKota Reports"), self.config.getLogoURL(), version.__version__, version.__version__, _("PyKota Reports"), _("Report")) 85 85 print self.body 86 86 print footer % _("Report") -
pykota/trunk/cgi-bin/pykotme.cgi
r2232 r2262 50 50 <td> 51 51 <p> 52 <a href="http://www.librelogiciel.com/software/"><img src=" http://www.librelogiciel.com/software/PyKota/pykota.png?version=%s" alt="PyKota's Logo" /></a>52 <a href="http://www.librelogiciel.com/software/"><img src="%s?version=%s" alt="PyKota's Logo" /></a> 53 53 <br /> 54 54 <a href="http://www.librelogiciel.com/software/">PyKota v%s</a> … … 83 83 """Displays the administrative interface.""" 84 84 global header, footer 85 print header % (self.getCharset(), _("PyKota Reports"), version.__version__, version.__version__, _("PyKota Quotes"), _("Quote"))85 print header % (self.getCharset(), _("PyKota Reports"), self.config.getLogoURL(), version.__version__, version.__version__, _("PyKota Quotes"), _("Quote")) 86 86 print self.body 87 87 print footer % _("Quote") -
pykota/trunk/conf/pykota.conf.sample
r2252 r2262 191 191 # logs. 192 192 debug : Yes 193 194 # 195 # The URL to PyKota's logo when used from the CGI scripts. 196 # You can use your own logo by modifying the URL below. 197 # If not defined, the default URL is the same as the 198 # one defined below 199 logourl : http://www.librelogiciel.com/software/PyKota/pykota.png 193 200 194 201 # Mail server to use to warn users -
pykota/trunk/NEWS
r2257 r2262 22 22 PyKota NEWS : 23 23 24 - 1.23alpha3 : 25 26 - The URL to the logo displayed in the CGI scripts is configurable. 27 24 28 - 1.23alpha2 : 25 29 -
pykota/trunk/pykota/config.py
r2147 r2262 143 143 return logger 144 144 145 def getLogoURL(self) : 146 """Returns the URL to use for the logo in the CGI scripts.""" 147 url = self.getGlobalOption("logourl", ignore=1) or \ 148 "http://www.librelogiciel.com/software/PyKota/pykota.png" 149 return url.strip() 150 145 151 def getAccounterBackend(self, printername) : 146 152 """Returns the accounter backend to use for a given printer. -
pykota/trunk/pykota/version.py
r2254 r2262 22 22 # 23 23 24 __version__ = "1.23alpha 2_unofficial"24 __version__ = "1.23alpha3_unofficial" 25 25 26 26 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng.""" -
pykota/trunk/README
r2243 r2262 648 648 look, especially quota violations will appear in different colors. 649 649 650 For differentsecurity concerns, please give a look at the SECURITY650 For additionnal security concerns, please give a look at the SECURITY 651 651 file which is part of this software. 652 652 -
pykota/trunk/TODO
r2256 r2262 35 35 at least we avoid the problematic '<' and '>' on command 36 36 lines, which would mandate the use of quotes... 37 38 - Make the PyKota's logo URL a new configuration directive.39 37 40 38 - Pass-through mode for printers : history correctly filled (including