diff options
| author | 2025-11-11 08:17:12 +0100 | |
|---|---|---|
| committer | 2025-11-11 08:17:12 +0100 | |
| commit | a18c35046daee15e7ac5f85db290d54541a03e3c (patch) | |
| tree | ec638cf7c93537a4f81b27216097d8509252eb81 /app/views/user | |
| parent | 5e622c60fa5c40793138807280319f7e84d00cc6 (diff) | |
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
Diffstat (limited to 'app/views/user')
| -rw-r--r-- | app/views/user/details.phtml | 2 | ||||
| -rw-r--r-- | app/views/user/profile.phtml | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ <div class="group-controls"> <div class="stick"> <input type="password" id="newPasswordPlain" name="newPasswordPlain" autocomplete="new-password" - pattern=".{7,}" <?= cryptAvailable() && Minz_User::name() !== $this->username ? '' : 'disabled="disabled" ' ?>/> + pattern=".{7,}" <?= FreshRSS_password_Util::cryptAvailable() && Minz_User::name() !== $this->username ? '' : 'disabled="disabled" ' ?>/> <button type="button" class="btn toggle-password"><?= _i('key') ?></button> </div> <p class="help"><?= _i('help'); ?> <?= _t('admin.user.password_format') ?></p> 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 @@ <?php } else {?> placeholder="<?= _t('conf.profile.api.api_not_set') ?>" <?php } ?> - pattern=".{7,}" <?= cryptAvailable() ? '' : 'disabled="disabled" ' ?>/> + pattern=".{7,}" <?= FreshRSS_password_Util::cryptAvailable() ? '' : 'disabled="disabled" ' ?>/> <button type="button" class="btn toggle-password"><?= _i('key') ?></button> </div> <p class="help"><?= _i('help') ?> <?= _t('conf.profile.api.check_link', Minz_Url::display('/api/', 'html', true)) ?></p> |
