|
|
@@ -6,11 +6,11 @@ if ($lastExcelForSFTP = salaries::lastExcelForSFTP()) {
|
|
|
}
|
|
|
json::create("host");
|
|
|
|
|
|
- $json1 = "/json.php?jsonData=proweb-transfert-sftp";
|
|
|
- $json2 = "/json.php?jsonData=proweb-transfert-local";
|
|
|
+ $jsonTarget1 = "/json.php?jsonData=proweb-transfert-sftp";
|
|
|
+ $jsonTarget2 = "/json.php?jsonData=proweb-transfert-local";
|
|
|
if(core::isDebug()){
|
|
|
- debug::log(debug::getBadge($json1, "OUVRIR LE JSON : ".$json1), "JSON chargé en arrière plan");
|
|
|
- debug::log(debug::getBadge($json2, "OUVRIR LE JSON : ".$json2), "JSON chargé en arrière plan");
|
|
|
+ debug::log(debug::getBadge($jsonTarget1, "OUVRIR LE JSON : ".$jsonTarget1), "JSON chargé en arrière plan");
|
|
|
+ debug::log(debug::getBadge($jsonTarget2, "OUVRIR LE JSON : ".$jsonTarget2), "JSON chargé en arrière plan");
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
@@ -68,7 +68,7 @@ echo core::filAriane(array(
|
|
|
<div class="col m-3">
|
|
|
<label style="color: gray;">Fichiers présents sur le serveur</label>
|
|
|
|
|
|
- <table id="table" class="table-striped table-hover table-sm" data-toggle="table" data-sort-name="date" data-sort-order="desc" data-url="<?php echo $json1 ?>">
|
|
|
+ <table id="table" class="table-striped table-hover table-sm" data-toggle="table" data-sort-name="date" data-sort-order="desc" data-url="<?php echo $jsonTarget1 ?>">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th data-formatter="downloadFileRemote" data-sortable="true" data-field="file" data-filter-control="input" data-align="left">Nom</th>
|
|
|
@@ -120,7 +120,7 @@ echo core::filAriane(array(
|
|
|
<div class="col m-3">
|
|
|
<label style="color: gray;">Fichiers présents dans le dossier du CSE</label>
|
|
|
|
|
|
- <table id="table" class="table-striped table-hover table-sm" data-toggle="table" data-sort-name="date" data-sort-order="desc" data-url="<?php echo $json2 ?>">
|
|
|
+ <table id="table" class="table-striped table-hover table-sm" data-toggle="table" data-sort-name="date" data-sort-order="desc" data-url="<?php echo $jsonTarget2 ?>">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th data-formatter="downloadFileLocal" data-sortable="true" data-field="file" data-filter-control="input" data-align="left">Nom</th>
|