From 5c7f743680ba41f1869f3f88a67ee6a8080e5c50 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Tue, 28 May 2019 20:19:15 -0700 Subject: [PATCH] Fix di sicurezza --- assets/src/css/style.css | 7 +++++- modules/aggiornamenti/edit.php | 4 +-- modules/backups/actions.php | 45 ++++++++++++++++++++++++---------- modules/backups/edit.php | 26 ++++++++++---------- modules/import/add.php | 2 +- plugins/importFE/edit.php | 2 +- 6 files changed, 55 insertions(+), 31 deletions(-) diff --git a/assets/src/css/style.css b/assets/src/css/style.css index e2e982a29..bc4893862 100644 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -47,6 +47,11 @@ a.disabled { font-weight: bold; } +input[type=file]{ + height: initial; + margin-bottom: 5px; +} + #datetime { font-size: 11px; font-weight: normal; @@ -838,4 +843,4 @@ input.small-width { -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; -} \ No newline at end of file +} diff --git a/modules/aggiornamenti/edit.php b/modules/aggiornamenti/edit.php index dc6c5da14..b2505d408 100644 --- a/modules/aggiornamenti/edit.php +++ b/modules/aggiornamenti/edit.php @@ -147,10 +147,10 @@ function search(button) {
-
+ - + {[ "type": "file", "name": "blob", "required": 1, "accept": ".zip" ]}