From b0e2547f1d56ffccd0798beea1d916af14374c6f Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 28 Oct 2021 22:55:43 +0200 Subject: [PATCH] cosmetics --- CHANGELOG.md | 6 ++++-- _admin.php | 10 +++++----- inc/lib.zcfs.list.php | 7 ++++++- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5463499..e4f7ff1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ - [ ] fix disallow self blog feeds - [ ] add plugin muppet support (request Mathieu M.) - [ ] add log for errors -- [ ] add generic filters -- [ ] add user pref for columns and filters options +- add generic filters +- add user pref for columns and filters options +- fix redirections, page title, posts feed form +- update translation 2021.09.16 - fix Dotclear 2.19 compatibility diff --git a/_admin.php b/_admin.php index 6f3f3fb..31a49b7 100644 --- a/_admin.php +++ b/_admin.php @@ -61,11 +61,11 @@ class zcfsAdminBehaviors public static function feedsSortbyCombo() { return [ - __('Date') => 'feed_upddt', - __('Name') => 'lowername', - __('Frequency') => 'feed_upd_int', - __('Date of update') => 'feed_upd_last', - __('Status') => 'feed_status' + __('Date') => 'feed_upddt', + __('Name') => 'lowername', + __('Frequency') => 'feed_upd_int', + __('Update date') => 'feed_upd_last', + __('Status') => 'feed_status' ]; } diff --git a/inc/lib.zcfs.list.php b/inc/lib.zcfs.list.php index 0d484fb..e576255 100644 --- a/inc/lib.zcfs.list.php +++ b/inc/lib.zcfs.list.php @@ -12,7 +12,6 @@ */ if (!defined('DC_CONTEXT_ADMIN')) { - return null; } @@ -268,6 +267,12 @@ class zcfsEntriesList extends adminGenericList } } +/** + * @ingroup DC_PLUGIN_ZONECLEARFEEDSERVER + * @brief Feeds server - Posts list filters methods + * @since 2.20 + * @see adminGenericFilter for more info + */ class adminZcfsPostFilter extends adminGenericFilter { public function __construct(dcCore $core)