Initial commit
This commit is contained in:
26
site/layout/html.php
Executable file
26
site/layout/html.php
Executable file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title><?php echo $this->title ?></title>
|
||||
<?php
|
||||
|
||||
# print out all of our CSS file links
|
||||
foreach($this->cssFiles as $file)
|
||||
{
|
||||
print "<link href='$file' rel='stylesheet' type='text/css' />\n";
|
||||
}
|
||||
|
||||
# print out all of our Javascript file links
|
||||
foreach($this->jsFiles as $file)
|
||||
{
|
||||
print "<script type='text/javascript' src='$file'></script>\n";
|
||||
}
|
||||
|
||||
?>
|
||||
</head>
|
||||
<body id='<?php echo $this->pageName ?>'>
|
||||
<?php include $this->layout ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user