Changeset 2262 for pykota/trunk/pykota

Show
Ignore:
Timestamp:
05/19/05 21:54:47 (19 years ago)
Author:
jerome
Message:

The URL to the logo used in the CGI scripts is now configurable

Location:
pykota/trunk/pykota
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/config.py

    r2147 r2262  
    143143        return logger     
    144144         
     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     
    145151    def getAccounterBackend(self, printername) :     
    146152        """Returns the accounter backend to use for a given printer. 
  • pykota/trunk/pykota/version.py

    r2254 r2262  
    2222# 
    2323 
    24 __version__ = "1.23alpha2_unofficial" 
     24__version__ = "1.23alpha3_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""