[Bio] / GBBergeyDB / GBBergeyDB.tmpl Repository:
ViewVC logotype

View of /GBBergeyDB/GBBergeyDB.tmpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (annotate)
Thu Mar 1 20:04:52 2007 UTC (12 years, 9 months ago) by paczian
Branch: MAIN
CVS Tags: HEAD
initial version

<html>
  
  <head>
    
    <title><TMPL_VAR NAME="TITLE"></title>
    <TMPL_IF NAME="STYLESHEET">
      <link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STYLESHEET">">
    </TMPL_IF>
    <TMPL_IF NAME="JAVASCRIPT">
      <script type="text/javascript" src="<TMPL_VAR NAME="JAVASCRIPT">"></script>
      <script src="./Html/ie7-standard-p.js" type="text/javascript"></script>
      <script type="text/javascript">
            // a regular expression to test for Base64 data
            var BASE64_DATA = /^data:.*;base64/i;
            // path to the PHP module that will decode the encoded data
            var base64Path = "./Html/ie7-base64.php";
            function fixBase64(img) {
                  // check the image source
                  if (BASE64_DATA.test(img.src)) {
                        // pass the data to the PHP routine
                        img.src = base64Path + "?" + img.src.slice(5);
                  }
            };
            // fix images on page load
            onload = function() {
                if (navigator.appName == "Microsoft Internet Explorer") {
                     for (var i = 0; i < document.images.length; i++) {
                         fixBase64(document.images[i]);
                     }
                }
            };
      </script>
    </TMPL_IF>
 
  </head>
  
  <body>
    
    <div id="header">
      <span id="logo">
	<img height="50px" src="<TMPL_VAR NAME="LOGO">" alt="<TMPL_VAR NAME="LOGO_ALT">" />
      </span>
      <p>
	<span id="title">
	  <img src="<TMPL_VAR NAME="TITLE_IMAGE">" alt="<TMPL_VAR NAME="TITLE_ALT">" />
	</span>
	<span id="version"><TMPL_VAR NAME="VERSION"></span>
      </p>
      <p><TMPL_VAR NAME="TITLE_DESCRIPTION"></p>
    </div>

    <TMPL_IF NAME="MENU">
    <TMPL_VAR NAME="MENU">
    </TMPL_IF>

    <div id="content">
      <TMPL_VAR NAME="CONTENT">
    </div>

    <div id="footer">
      <TMPL_VAR NAME="FOOTER">
    </div>
    
  </body>
  
</html>

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3