From 5872d0682a9687469ca0e87fb46c391a42cad31b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Jun 2021 15:20:44 +0000 Subject: [PATCH 01/15] Bump phpmailer/phpmailer from 6.4.1 to 6.5.0 Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.4.1 to 6.5.0. - [Release notes](https://github.com/PHPMailer/PHPMailer/releases) - [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md) - [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.4.1...v6.5.0) --- updated-dependencies: - dependency-name: phpmailer/phpmailer dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- composer.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index f66deb47..364abc0b 100644 --- a/composer.lock +++ b/composer.lock @@ -150,16 +150,16 @@ }, { "name": "phpmailer/phpmailer", - "version": "v6.4.1", + "version": "v6.5.0", "source": { "type": "git", "url": "https://github.com/PHPMailer/PHPMailer.git", - "reference": "9256f12d8fb0cd0500f93b19e18c356906cbed3d" + "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/9256f12d8fb0cd0500f93b19e18c356906cbed3d", - "reference": "9256f12d8fb0cd0500f93b19e18c356906cbed3d", + "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a5b5c43e50b7fba655f793ad27303cd74c57363c", + "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c", "shasum": "" }, "require": { @@ -214,7 +214,7 @@ "description": "PHPMailer is a full-featured email creation and transfer class for PHP", "support": { "issues": "https://github.com/PHPMailer/PHPMailer/issues", - "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.4.1" + "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.0" }, "funding": [ { @@ -222,7 +222,7 @@ "type": "github" } ], - "time": "2021-04-29T12:25:04+00:00" + "time": "2021-06-16T14:33:43+00:00" }, { "name": "psr/log", @@ -4133,5 +4133,5 @@ "php": ">=7.3", "ext-pcntl": "*" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" } From c69ef20b177d23980bf4d10c333c8dd80ac4c983 Mon Sep 17 00:00:00 2001 From: Daniel Schmitz Date: Wed, 23 Jun 2021 10:58:52 +0800 Subject: [PATCH 02/15] wip --- .gitignore | 1 + lib/init.php | 5 ++++- templates/Sparkle/2fa/entercode.tpl | 2 +- templates/Sparkle/login/fpwd.tpl | 2 +- templates/Sparkle/login/login.tpl | 2 +- templates/Sparkle/login/login_ftp.tpl | 2 +- templates/Sparkle/login/rpwd.tpl | 2 +- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3d547882..42d3b189 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,5 @@ logs/* !templates/Sparkle/ !templates/misc/ templates/Froxlor/assets/img/logo_custom.png +templates/Froxlor/assets/img/logo_custom_login.png vendor/ diff --git a/lib/init.php b/lib/init.php index a0a8a431..7a9e9de5 100644 --- a/lib/init.php +++ b/lib/init.php @@ -380,11 +380,14 @@ if (! array_key_exists('variants', $_themeoptions) || ! array_key_exists($themev // check for custom header-graphic $hl_path = 'templates/' . $theme . '/assets/img'; -$header_logo = $hl_path . '/logo.png'; +$header_logo = $header_logo_login = $hl_path . '/logo.png'; if (file_exists($hl_path . '/logo_custom.png')) { $header_logo = $hl_path . '/logo_custom.png'; } +if (file_exists($hl_path . '/logo_custom_login.png')) { + $header_logo_login = $hl_path . '/logo_custom_login.png'; +} /** * Redirects to index.php (login page) if no session exists diff --git a/templates/Sparkle/2fa/entercode.tpl b/templates/Sparkle/2fa/entercode.tpl index 2f2d84f6..b79090e6 100644 --- a/templates/Sparkle/2fa/entercode.tpl +++ b/templates/Sparkle/2fa/entercode.tpl @@ -1,7 +1,7 @@ $header