diff --git a/app/destinations/destination_imports.php b/app/destinations/destination_imports.php index c361d78d7e..a1be437a86 100644 --- a/app/destinations/destination_imports.php +++ b/app/destinations/destination_imports.php @@ -76,6 +76,7 @@ $file = $_SESSION['server']['temp']['dir']."/destinations-".$_SESSION['domain_name'].".csv"; file_put_contents($file, $_POST['data']); $_SESSION['file'] = $file; + $_SESSION['file_name'] = $_FILES['ulfile']['name']; } //copy the csv file @@ -689,13 +690,25 @@ echo "\n"; + if (isset($_SESSION['file_name']) && strlen($_SESSION['file_name']) > 0) { + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + } + //loop through user columns $x = 0; foreach ($line_fields as $line_field) { $line_field = trim(trim($line_field), $enclosure); echo "\n"; echo " \n"; echo "
\n"; + echo " ".$text['label-file_name']."\n"; + echo "\n"; + echo " ".$_SESSION['file_name']."\n"; + echo "
\n"; + //echo $text['description-file_name']."\n"; + echo "
\n"; - //echo " ".$text['label-zzz']."\n"; echo $line_field; echo " \n";