From 1cb5af1ee03ac2e3dc20ad513d5df94ce708ccf6 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 12 Feb 2020 10:48:57 -0700 Subject: [PATCH] Extensions - Import: Misc consistency updates. --- app/extensions/extension_imports.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/extensions/extension_imports.php b/app/extensions/extension_imports.php index 3589388db7..13882ad2bd 100644 --- a/app/extensions/extension_imports.php +++ b/app/extensions/extension_imports.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2018-2019 + Portions created by the Initial Developer are Copyright (C) 2018-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -25,7 +25,7 @@ */ //includes - include "root.php"; + require_once "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; @@ -57,8 +57,6 @@ //get the http get values and set them as php variables $action = $_POST["action"]; $from_row = $_POST["from_row"]; - $order_by = $_POST["order_by"]; - $order = $_POST["order"]; $delimiter = $_POST["data_delimiter"]; $enclosure = $_POST["data_enclosure"]; @@ -153,7 +151,7 @@ echo "
\n"; echo "
\n"; - echo "
".$text['header-import']."
\n"; + echo "
".$text['header-extension_import']."
\n"; echo "
\n"; echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'style'=>'margin-right: 15px;','link'=>'extension_imports.php']); echo button::create(['type'=>'submit','label'=>$text['button-import'],'icon'=>$_SESSION['theme']['button_icon_import']]); @@ -200,6 +198,7 @@ } echo "\n"; + echo "

\n"; echo "\n"; echo "\n"; @@ -331,7 +330,7 @@ $row_id = 0; } - } //if ($from_row <= $row_id) + } //if ($from_row <= $row_number) $row_number++; $row_id++; } //end while @@ -382,7 +381,7 @@ echo " ".$text['label-import_data']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-import_data']."\n"; echo "\n";