From fd3aaad433fe7e041f85752a727bb14b8865dc31 Mon Sep 17 00:00:00 2001 From: Dan Untenzu Date: Thu, 30 Mar 2017 15:55:34 +0200 Subject: [PATCH] [FEATURE] Styles: Add classes to forms Enable better styling for classes. --- admin.php | 2 +- f.php | 4 ++-- index.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/admin.php b/admin.php index 230c512..17189da 100644 --- a/admin.php +++ b/admin.php @@ -78,7 +78,7 @@ if (php_sapi_name() == "cli") { elseif ((!isset($_SESSION['admin_auth']) || $_SESSION['admin_auth'] != true) && empty($cfg['admin_http_auth_user'])) { require(JIRAFEAU_ROOT . 'lib/template/header.php'); ?> -
+
diff --git a/f.php b/f.php index d94b55b..0f40638 100644 --- a/f.php +++ b/f.php @@ -126,7 +126,7 @@ if (!empty($link['key'])) { ''; ?> + 'method="post" id="submit_post" class="form login">'; ?> ' . '' . t('Password protection') . @@ -182,7 +182,7 @@ if (!$password_challenged && !$do_download && !$do_preview) { ''; ?> + 'method="post" id="submit_post" class="form download">'; ?> ' . htmlspecialchars($link['file_name']) . '
' . '
' . diff --git a/index.php b/index.php index 09b37e4..9a7b9ec 100644 --- a/index.php +++ b/index.php @@ -60,7 +60,7 @@ if (true === jirafeau_challenge_upload_ip($cfg['upload_ip'], get_ip_address($cfg // Show login form if user session is not authorized yet if (true === empty($_SESSION['upload_auth'])) { ?> - +
@@ -245,7 +245,7 @@ else { - + -- 2.34.1