1
0

Use functions (not global variables) for protocol and base_url

This commit is contained in:
2014-01-24 22:44:19 -05:00
parent 98e62cf748
commit 0bcbf328da
24 changed files with 55 additions and 53 deletions

View File

@ -8,7 +8,7 @@ include("../header_top.php");
<div id="content">
<h2 class="center">Error 400 - Bad Request</h2>
<p>This HTTP request was malformed, and could not be processed. You may attempt to reload this page, but the software you are using (your browser) may be at fault.</p>
<p>If you believe you are seeing this page in error, please <a href="<?php echo $base_url; ?>/contact/">contact me</a>.</p>
<p>If you believe you are seeing this page in error, please <a href="<?php echo get_base_url(); ?>/contact/">contact me</a>.</p>
</div>
<?php include("../footer.php"); ?>

View File

@ -7,8 +7,8 @@ include("../header_top.php");
<div id="content">
<h2 class="center">Error 401 - Authorization Required</h2>
<p>The page you are requesting requires authorization. Please refresh this page and provide your login credentials, if you have them, or continue browsing with our <a href="<?php echo $base_url; ?>">homepage</a>.</p>
<p>If you believe you are seeing this page in error, please <a href="<?php echo $base_url; ?>/contact/">contact me</a>.</p>
<p>The page you are requesting requires authorization. Please refresh this page and provide your login credentials, if you have them, or continue browsing with our <a href="<?php echo get_base_url(); ?>">homepage</a>.</p>
<p>If you believe you are seeing this page in error, please <a href="<?php echo get_base_url(); ?>/contact/">contact me</a>.</p>
</div>
<?php include("../footer.php"); ?>

View File

@ -7,8 +7,8 @@ include("../header_top.php");
<div id="content">
<h2 class="center">Error 403 - Forbidden</h2>
<p>The page you are requesting will not be returned. Refreshing the page won't help either. Please use your browser's back buttons to return to the page you came from, or continue browsing with our <a href="<?php echo $base_url; ?>">homepage</a>.</p>
<p>If you believe you are seeing this page in error, please <a href="<?php echo $base_url; ?>/contact/">contact me</a>.</p>
<p>The page you are requesting will not be returned. Refreshing the page won't help either. Please use your browser's back buttons to return to the page you came from, or continue browsing with our <a href="<?php echo get_base_url(); ?>">homepage</a>.</p>
<p>If you believe you are seeing this page in error, please <a href="<?php echo get_base_url(); ?>/contact/">contact me</a>.</p>
</div>
<?php include("../footer.php"); ?>

View File

@ -7,8 +7,8 @@ include("../header_top.php");
<div id="content">
<h2 class="center">Error 404 - Page Not Found</h2>
<p>Oops, the page you are looking for does not exist. You may use your browser's back button to return to the page from which you came, or visit the <a href="<?php echo $base_url; ?>">homepage</a>.</p>
<p>If you believe you are seeing this page in error, or are searching for a page which no longer exists (but may still be linked to by other sites), please <a href="<?php echo $base_url; ?>/contact/">contact me</a>. I will do my best to point you in the right direction.</p>
<p>Oops, the page you are looking for does not exist. You may use your browser's back button to return to the page from which you came, or visit the <a href="<?php echo get_base_url(); ?>">homepage</a>.</p>
<p>If you believe you are seeing this page in error, or are searching for a page which no longer exists (but may still be linked to by other sites), please <a href="<?php echo get_base_url(); ?>/contact/">contact me</a>. I will do my best to point you in the right direction.</p>
</div>
<?php include("../footer.php"); ?>

View File

@ -7,7 +7,7 @@ include("../header_top.php");
<div id="content">
<h2 class="center">Error 500 - Internal Server Error</h2>
<p>Oops, the server encountered an error while processing your request for this page. Please refresh the page and try again. If the error persists, please <a href="<?php echo $base_url; ?>/contact">contact me</a>.</p>
<p>Oops, the server encountered an error while processing your request for this page. Please refresh the page and try again. If the error persists, please <a href="<?php echo get_base_url(); ?>/contact">contact me</a>.</p>
</div>
<?php include("../footer.php"); ?>