|
@@ -4,6 +4,7 @@ if (!is_readable('./config.yaml')) {
|
|
|
exit('Error: The configuration file is not present, move config.yaml.default to config.yaml');
|
|
|
}
|
|
|
$config = yaml_parse_file('./config.yaml');
|
|
|
+@include_once('./header.php');
|
|
|
include('./lib/functions.php');
|
|
|
|
|
|
if (isset($_GET['id'])){
|
|
@@ -150,7 +151,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'del') {
|
|
|
}
|
|
|
exit();
|
|
|
}
|
|
|
-@include_once('./header.php');
|
|
|
+
|
|
|
?>
|
|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
@@ -289,7 +290,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'del') {
|
|
|
$linkDownload=$config['baseUrl'].$id.'.zip';
|
|
|
echo '<div class="fileGlobal fileAll file-ext-zip" >';
|
|
|
echo '<div class="file fileAll icone" onclick="location.href=\''.$linkDownload.'\'"><div class="fi fi-zip fi-size-lg"><div class="fi-content">zip</div></div></div>';
|
|
|
- echo '<div class="file fileAll name"><a href="'.$linkDownload.'" target="_blank">'._('All').'</a> - <a class="deleteLink" href="'.$config['baseUrl'].'del/'.$id.'/KEYHERE/"><img width="15" src="'.$config['baseUrl'].'/lib/trash.svg" /> '._('Delete all (permanently)').'</a></div>';
|
|
|
+ echo '<div class="file fileAll name"><a href="'.$linkDownload.'" target="_blank">'._('All').'</a> - <a class="delete deleteLink" href="'.$config['baseUrl'].'del/'.$id.'/KEYHERE/"><img width="15" src="'.$config['baseUrl'].'/lib/trash.svg" /> '._('Delete all (permanently)').'</a></div>';
|
|
|
echo '<div class="file fileAll read input"><a href="'.$config['baseUrl'].$id.'/" target="_blank"><img src="'.$config['baseUrl'].'/lib/eye.svg" /></a> <input class="copy read fileAll" name="read" type="text" value="'.$config['baseUrl'].$id.'/" readonly=""></div>';
|
|
|
echo '<div class="file fileAll dl input"><a href="'.$linkDownload.'" target="_blank"><img src="'.$config['baseUrl'].'/lib/download.svg"</a> /><input class="copy dl fileAll" name="dl" type="text" value="'.$linkDownload.'" readonly=""></div>';
|
|
|
echo '</div>';
|