mirror of
https://github.com/boostorg/website.git
synced 2026-01-24 18:32:38 +00:00
Merged revisions 52740,52742,52963,53164,53320-53321,53323-53324,53326,53507,53509,53710 via svnmerge from https://svn.boost.org/svn/boost/website/public_html/beta ........ r52740 | danieljames | 2009-05-02 18:25:29 +0100 (Sat, 02 May 2009) | 1 line Merge from live, up to 52379. ........ r52742 | danieljames | 2009-05-02 18:33:49 +0100 (Sat, 02 May 2009) | 1 line Release 1.39 ........ r52963 | joaquin | 2009-05-13 11:42:54 +0100 (Wed, 13 May 2009) | 1 line merged [52962] from live website ........ r53164 | danieljames | 2009-05-21 22:33:28 +0100 (Thu, 21 May 2009) | 1 line Make the check for '<body' case insensitive when processing the doucmentation. ........ r53320 | danieljames | 2009-05-27 20:23:01 +0100 (Wed, 27 May 2009) | 1 line Add link to 'Die Boost C++ Bibliotheken' to bibliography. ........ r53321 | danieljames | 2009-05-27 20:23:10 +0100 (Wed, 27 May 2009) | 1 line Correct mime type for csshover.htc ........ r53323 | danieljames | 2009-05-27 20:50:45 +0100 (Wed, 27 May 2009) | 2 lines Upgrade to css hover 3 and only use it for IE 7 as it causes IE 6 to crash and isn't needed on IE 8. ........ r53324 | danieljames | 2009-05-27 20:51:26 +0100 (Wed, 27 May 2009) | 1 line Try to prevent wide content on sidebar from messing up layout on IE. ........ r53326 | danieljames | 2009-05-27 21:46:51 +0100 (Wed, 27 May 2009) | 1 line Try to deal with content overflowing in the directory element in IE6. ........ r53507 | danieljames | 2009-05-31 18:53:02 +0100 (Sun, 31 May 2009) | 1 line Missing redirect for writingdoc. ........ r53509 | danieljames | 2009-05-31 19:05:53 +0100 (Sun, 31 May 2009) | 1 line Link to the wiki on the front page. ........ r53710 | danieljames | 2009-06-07 11:32:33 +0100 (Sun, 07 Jun 2009) | 1 line Add a hook for pre-processing the extracted file from the zipfile. ........ [SVN r53714]
79 lines
2.1 KiB
PHP
79 lines
2.1 KiB
PHP
<?php
|
|
function error_page_404($location = null) {
|
|
if(!$location && isset($_SERVER['REQUEST_URI'])) {
|
|
$location = $_SERVER['REQUEST_URI'];
|
|
}
|
|
|
|
error_page('HTTP/1.0 404 Not Found', '404 Not Found',
|
|
$location ? 'File "' . $location . '" not found.' : null);
|
|
}
|
|
|
|
function error_page($header, $title, $message) {
|
|
if($header) header($header);
|
|
?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<title><?php print htmlentities($title); ?></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="icon" href="/favicon.ico" type="image/ico" />
|
|
<link rel="stylesheet" type="text/css" href="/style/section-boost.css" />
|
|
<!--[if IE 7]> <style type="text/css"> body { behavior: url(/style/csshover3.htc); } </style> <![endif]-->
|
|
</head>
|
|
|
|
<body>
|
|
<div id="heading">
|
|
<?php virtual("/common/heading.html"); ?>
|
|
</div>
|
|
|
|
<div id="body">
|
|
<div id="body-inner">
|
|
<div id="content">
|
|
<div class="section" id="intro">
|
|
<div class="section-0">
|
|
<div class="section-title">
|
|
<h1><?php print htmlentities($title); ?></h1>
|
|
</div>
|
|
|
|
<?php if($message) : ?>
|
|
<div class="section-body">
|
|
<p><?php print htmlentities($message); ?></p>
|
|
</div>
|
|
<?php endif ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="sidebar">
|
|
<?php virtual("/common/sidebar-common.html"); ?><?php virtual("/common/sidebar-boost.html"); ?>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="footer">
|
|
<div id="footer-left">
|
|
<div id="revised">
|
|
<p>Revised $Date$</p>
|
|
</div>
|
|
|
|
<div id="copyright">
|
|
<p>Copyright Rene Rivera 2006-2007.</p>
|
|
</div><?php virtual("/common/footer-license.html"); ?>
|
|
</div>
|
|
|
|
<div id="footer-right">
|
|
<?php virtual("/common/footer-banners.html"); ?>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<?php
|
|
}
|
|
?>
|