Changeset - 43a5241e9e74
[Not reviewed]
default
0 1 1
nathang - 15 years ago 2010-12-24 22:38:07
ngelderloos7@gmail.com
added favicon
2 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
images/favicon.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
inc/class.page.php
Show inline comments
 
@@ -186,25 +186,26 @@ class page
 
  public function head()
 
  {
 
    $this->pageGenTime = round(microtime(), 3);
 

	
 
    if ($this->xhtml)
 
       echo '<?xml version="1.0" encoding="utf-8" ?>' . PHP_EOL;
 

	
 
    echo '<!DOCTYPE ' . $this->doctype . '>'. PHP_EOL .
 
	  '<html ' . $this->htmlargs . '>'. PHP_EOL .
 
	  '  <head>'. PHP_EOL .
 
	  '    <title>' . $this->pagetitle . ' :: ' . $this->base_title . '</title>'. PHP_EOL .
 
          '    <link rel="stylesheet" href="styles/general.css" type="text/css" media="screen" charset="utf-8" />'.  PHP_EOL .
 
	  '    <link rel="stylesheet" type="text/css" media="print" href="styles/print.css" />'. PHP_EOL;
 
	  '    <link rel="stylesheet" type="text/css" media="print" href="styles/print.css" />'. PHP_EOL .
 
    '    <link rel="shortcut icon" href="images/favicon.png" />'. PHP_EOL;
 

	
 
    // Write out all passed scripts
 
    foreach ($this->scripts as $i)
 
      echo '    ' . $this->headCode["$i"] . "\n";
 

	
 
    echo '  </head>' . PHP_EOL .
 
	 '  <body '.$this->bodyargs.'>'. PHP_EOL .
 
         '    <div id="page">'. PHP_EOL;
 
    echo $this->top(); // Write out top
 
  }
 

	
 
  /** Write out the top of the page, including opening div tags, header title and images, etc */
0 comments (0 inline, 0 general)