00001 <?php
00002
00003
00015 if (is_standard_page())
00016 {
00017
00018 if (strstr($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
00019 header('Content-type: application/xhtml+xml');
00020 else
00021 header('Content-type: text/html');
00022
00023 echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
00024 ?>
00025 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
00026 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
00027 <html xmlns="http://www.w3.org/1999/xhtml">
00028 <head>
00029 <title><?php echo get_entry('config', 'title'); ?></title>
00030 <?php if (get_entry('config', 'stylesheet') != '') { ?>
00031 <link
00032 rel="stylesheet"
00033 type="text/css"
00034 href="<?php echo get_entry('config', 'stylesheet'); ?>"
00035 />
00036 <?php
00037 }
00038 CallHooks('in_head');
00039 ?>
00040
00041 </head>
00042 <body>
00043 <?php
00044 if (show_install_warning)
00045 {
00046 echo "<p class=\"debug_warning\">Security Warning: install.php exists, allowed "
00047 . "to proceed as debug_mode == true.</p>\n";
00048 } elseif (debug_mode) {
00049 echo "<p class=\"debug_warning\">Warning: debug_mode == true</p>\n";
00050 }
00051 CallHooks('at_top');
00052 }
00053 ?>