Changeset 2262 for pykota/trunk/cgi-bin

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

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

Location:
pykota/trunk/cgi-bin
Files:
3 modified

Legend:

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

    r2229 r2262  
    4949          <td> 
    5050            <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> 
    5252              <br /> 
    5353              <a href="http://www.librelogiciel.com/software/">PyKota v%s</a> 
     
    8585        """Displays the dumper interface.""" 
    8686        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")) 
    8888        print self.htmlListDataTypes(self.options.get("data", ""))  
    8989        print "<br />" 
  • pykota/trunk/cgi-bin/printquota.cgi

    r2229 r2262  
    4949          <td> 
    5050            <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> 
    5252              <br /> 
    5353              <a href="http://www.librelogiciel.com/software/">PyKota v%s</a> 
     
    8282        """Displays the administrative interface.""" 
    8383        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")) 
    8585        print self.body 
    8686        print footer % _("Report") 
  • pykota/trunk/cgi-bin/pykotme.cgi

    r2232 r2262  
    5050          <td> 
    5151            <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> 
    5353              <br /> 
    5454              <a href="http://www.librelogiciel.com/software/">PyKota v%s</a> 
     
    8383        """Displays the administrative interface.""" 
    8484        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")) 
    8686        print self.body 
    8787        print footer % _("Quote")