From d15075fece25397b79f2c57084ec688d5d2d1e12 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 30 Jul 2014 01:12:41 +0000 Subject: [PATCH] Move the account code description to an appropriate location. --- app/destinations/destination_edit.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index b3a3d2ed89..31337fe664 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -35,7 +35,7 @@ else { exit; } -if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")){ +if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")) { require_once "app/billing/resources/functions/currency.php"; require_once "app/billing/resources/functions/rating.php"; } @@ -709,6 +709,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo "
\n"; echo $text['description-accountcode']."\n"; + if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")){ + echo " ".$text['billing-warning']; + } echo "\n"; echo "\n"; @@ -757,7 +760,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " "; echo ""; echo ""; - echo "

".$text['billing-warning']."

"; + //include the footer require_once "resources/footer.php"; ?>