From a18c35046daee15e7ac5f85db290d54541a03e3c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 11 Nov 2025 08:17:12 +0100 Subject: Housekeeping lib_rss.php (#8193) * Housekeeping lib_rss.php `lib_rss.php` had become much too large, especially after https://github.com/FreshRSS/FreshRSS/pull/7924 Moved most functions to other places. Mostly no change of code otherwise (see comments). * Extension: composer run-script phpstan-third-party --- app/views/auth/formLogin.phtml | 2 +- app/views/auth/index.phtml | 4 ++-- app/views/configure/shortcut.phtml | 2 +- app/views/configure/system.phtml | 2 +- app/views/user/details.phtml | 2 +- app/views/user/profile.phtml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'app/views') diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml index 24427193d..658adc912 100644 --- a/app/views/auth/formLogin.phtml +++ b/app/views/auth/formLogin.phtml @@ -5,7 +5,7 @@

- + diff --git a/app/views/auth/index.phtml b/app/views/auth/index.phtml index a0aa28256..f11d29ae4 100644 --- a/app/views/auth/index.phtml +++ b/app/views/auth/index.phtml @@ -16,9 +16,9 @@ + FreshRSS_password_Util::cryptAvailable() ? '' : ' disabled="disabled"' ?>> + (REMOTE_USER = '') diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml index 0b9b6dd1c..3f7f84759 100644 --- a/app/views/configure/shortcut.phtml +++ b/app/views/configure/shortcut.phtml @@ -16,7 +16,7 @@ $s = array_map(static fn(string $string) => htmlspecialchars($string, ENT_COMPAT, 'UTF-8'), FreshRSS_Context::userConf()->shortcuts); ?> - +

, ', $nonStandard)) ?>

diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 6269b5c95..2bee35227 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -80,7 +80,7 @@
- + (= )(= )
diff --git a/app/views/user/details.phtml b/app/views/user/details.phtml index 648bbfd27..8bad08a81 100644 --- a/app/views/user/details.phtml +++ b/app/views/user/details.phtml @@ -60,7 +60,7 @@
username ? '' : 'disabled="disabled" ' ?>/> + pattern=".{7,}" username ? '' : 'disabled="disabled" ' ?>/>

diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml index dbbe07b5f..9f89306bf 100644 --- a/app/views/user/profile.phtml +++ b/app/views/user/profile.phtml @@ -121,7 +121,7 @@ placeholder="" - pattern=".{7,}" /> + pattern=".{7,}" />

-- cgit v1.2.3