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

Files:
1 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.