Update the references for header.php and footer.php files to point the resources directory.

This commit is contained in:
Mark Crane
2013-07-06 06:29:50 +00:00
parent f267e45e67
commit e9aa47069c
230 changed files with 884 additions and 884 deletions
+6 -6
View File
@@ -115,7 +115,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (strlen($enabled) == 0) { $msg .= $text['message-required']." ".$text['label-enabled']."<br>\n"; }
//if (strlen($description) == 0) { $msg .= $text['message-required']." ".$text['label-description']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
@@ -123,7 +123,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "includes/footer.php";
require_once "resources/footer.php";
return;
}
@@ -262,7 +262,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//redirect the user
if (isset($action)) {
require_once "includes/header.php";
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=gateways.php\">\n";
echo "<div align='center'>\n";
if ($action == "add") {
@@ -272,7 +272,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['message-update']."\n";
}
echo "</div>\n";
require_once "includes/footer.php";
require_once "resources/footer.php";
return;
}
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
@@ -318,7 +318,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
//show the header
require_once "includes/header.php";
require_once "resources/header.php";
//show the content
echo "<script type=\"text/javascript\" language=\"JavaScript\">\n";
@@ -802,5 +802,5 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</div>";
//include the footer
require_once "includes/footer.php";
require_once "resources/footer.php";
?>