cvs: phpweb /error index.php
| From: | Jim Winstead | Date: | Fri, 12 Jan 2001 23:21:21 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3388@lists.php.net to get a copy of this message | ||
jimw Fri Jan 12 15:21:21 2001 EDT
Modified files:
/phpweb/error index.php
Log:
clean up error page
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.11 phpweb/error/index.php:1.12
--- phpweb/error/index.php:1.11 Fri Jan 12 13:40:11 2001
+++ phpweb/error/index.php Fri Jan 12 15:21:20 2001
@@ -59,8 +59,7 @@
?>
<?Header("HTTP/1.0 404 Not Found")?>
-<html><title>404 - <?echo $REDIRECT_REDIRECT_ERROR_NOTES?></title>
-<body>
+<?commonHeader("Not Found - ".$REDIRECT_REDIRECT_ERROR_NOTES);
<?
if(!isset($pattern)) {
$pattern = $uri;
@@ -142,6 +141,7 @@
if ($result[2]=="NOMATCH") {
echo "Sorry, that URL does not exist, and a quick search for the
<b>$pattern</b> ";
echo "keyword did not turn anything up.<br><br>";
+ commonFooter();
exit;
}
$matches=$result[2];
@@ -175,4 +175,4 @@
<BR><I>Search results courtesy of</I><BR>
<A HREF="http://htdig.sdsu.edu/"><IMG
SRC="/gifs/htdig.gif" BORDER=0 ALT="ht:dig"></A>
</CENTER>
-</body></html>
+<?php commonFooter();?>