From 00aea1f0cebd86fd349e9ac5a4b41d866dd00870 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 2 Sep 2021 22:53:22 +0200 Subject: [PATCH] clean up and add dcstore.xml --- CHANGELOG.md | 32 ++++++++++++++++++-------------- _admin.php | 22 +++++++++++----------- _define.php | 27 ++++++++++++++------------- _public.php | 26 +++++++++++++------------- _widgets.php | 24 ++++++++++++------------ dcstore.xml | 11 +++++++++++ locales/fr/main.lang.php | 3 +-- locales/fr/public.lang.php | 3 +-- 8 files changed, 81 insertions(+), 67 deletions(-) create mode 100644 dcstore.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ef198a..d042d0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,27 @@ +2021.08.21.1 - dev +- fix widget empty context +- clean up again... + 2021.08.21 - * update license - * fix query - * move to PSR-2 coding style and short array - * move config to widget - * move template to widget - * use default template for search - * use custom template for 404 - * fix public translation +- update license +- fix query +- move to PSR-2 coding style and short array +- move config to widget +- move template to widget +- use default template for search +- use custom template for 404 +- fix public translation 2013.10.28 - * Switch to Dotclear 2.6 - * Add french help +- Switch to Dotclear 2.6 +- Add french help 2013.07.12 - * Enhanced template for search page +- Enhanced template for search page 2013.06.30 - * Fixed 404 template - * Added options to disabled public filters +- Fixed 404 template +- Added options to disabled public filters 0.1 20100909 - * First lab release \ No newline at end of file +- First lab release \ No newline at end of file diff --git a/_admin.php b/_admin.php index 32edb9c..9cab066 100644 --- a/_admin.php +++ b/_admin.php @@ -1,15 +1,15 @@ registerModule( 'Jean-Christian Denis and Contributors', '2021.08.21.1', [ + 'requires' => [['core', '2.19']], 'permissions' => 'admin', 'type' => 'plugin', - 'dc_min' => '2.19', 'support' => 'https://github.com/JcDenis/saba', - 'details' => 'https://plugins.dotaddict.org/dc2/details/saba' + 'details' => 'https://plugins.dotaddict.org/dc2/details/saba', + 'repository' => 'https://raw.githubusercontent.com/JcDenis/saba/master/dcstore.xml' ] ); \ No newline at end of file diff --git a/_public.php b/_public.php index 4943027..3070a32 100644 --- a/_public.php +++ b/_public.php @@ -1,15 +1,15 @@ blog->settings->addNamespace('saba'); if (!$core->blog->settings->saba->active) { diff --git a/dcstore.xml b/dcstore.xml new file mode 100644 index 0000000..d2a84e9 --- /dev/null +++ b/dcstore.xml @@ -0,0 +1,11 @@ + + +saba +2021.08.21.1 +Jean-Christian Denis and Contributors +Search across blog archive +https://github.com/JcDenis/saba/releases/download/v2021.08.21.1/plugin-saba.zip +https://plugins.dotaddict.org/dc2/details/saba +https://github.com/JcDenis/saba + + \ No newline at end of file diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index 337be1c..d02bf13 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -53,5 +53,4 @@ $GLOBALS['__l10n']['Disable filter on order'] = 'Désactiver le filtre d\'ordre' $GLOBALS['__l10n']['Disable filter on age'] = 'Désactiver le filtre de date'; #default-templates/saba_404_dotty.html:22 -$GLOBALS['__l10n']['Suggested items:'] = 'Articles suggérés :'; - +$GLOBALS['__l10n']['Suggested items:'] = 'Articles suggérés :'; \ No newline at end of file diff --git a/locales/fr/public.lang.php b/locales/fr/public.lang.php index 68e5922..bb07b95 100644 --- a/locales/fr/public.lang.php +++ b/locales/fr/public.lang.php @@ -78,5 +78,4 @@ $GLOBALS['__l10n']['Filter by type'] = 'Filtrer par type'; $GLOBALS['__l10n']['Filter by category'] = 'Filter par catégorie'; #_widgets.php:213 -$GLOBALS['__l10n']['Filter by author'] = 'Filtrer par auteur'; - +$GLOBALS['__l10n']['Filter by author'] = 'Filtrer par auteur'; \ No newline at end of file