|
|
@@ -47,6 +47,14 @@ if (core::ifGet("add")) {
|
|
|
$lienFil = "/document-" . core::getGet("id") . ".html";
|
|
|
}
|
|
|
|
|
|
+if (isset($document["id"]) and access::ifAccesss("add-document")) {
|
|
|
+ ?>
|
|
|
+ <div style="float:right; margin-top: -60px;">
|
|
|
+ <a href="/submit.php?from=document-delete&id=<?php echo $document["id"] ?>" style="color: #dc3545; text-decoration:none;" onclick="return confirm('Voulez-vous supprimer ce document ?')"><button type="submit" class="btn btn-outline-danger btn-sm"><?php icon::getFont(["icon" => "bi-trash-fill"]) ?></i> Supprimer</button></a>
|
|
|
+ </div>
|
|
|
+ <?php
|
|
|
+ }
|
|
|
+
|
|
|
echo core::filAriane(array(
|
|
|
"current" => $labelFil,
|
|
|
"arbo" => array(
|
|
|
@@ -55,14 +63,6 @@ echo core::filAriane(array(
|
|
|
$labelFil => $lienFil
|
|
|
)
|
|
|
));
|
|
|
-
|
|
|
-if (isset($document["id"]) and access::ifAccesss("add-document")) {
|
|
|
-?>
|
|
|
- <div style="float:right; margin-top: -60px;">
|
|
|
- <a href="/submit.php?from=document-delete&id=<?php echo $document["id"] ?>" style="color: #dc3545; text-decoration:none;" onclick="return confirm('Voulez-vous supprimer ce document ?')"><button type="submit" class="btn btn-outline-danger btn-sm"><?php icon::getFont(["icon" => "bi-trash-fill"]) ?></i> Supprimer</button></a>
|
|
|
- </div>
|
|
|
-<?php
|
|
|
-}
|
|
|
?>
|
|
|
|
|
|
<link rel="stylesheet" href="css/dragAndDrop.css">
|