diff --git a/_define.php b/_define.php index 59f469b..57c6cbd 100644 --- a/_define.php +++ b/_define.php @@ -24,9 +24,9 @@ $this->registerModule( 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/saba', - 'details' => 'https://plugins.dotaddict.org/dc2/details/saba', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/saba/master/dcstore.xml', + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/saba', + 'details' => 'https://plugins.dotaddict.org/dc2/details/saba', + 'repository' => 'https://raw.githubusercontent.com/JcDenis/saba/master/dcstore.xml', ] ); diff --git a/_public.php b/_public.php index 3ac5d91..0551ef8 100644 --- a/_public.php +++ b/_public.php @@ -68,7 +68,7 @@ class pubSaba ]; } - public static function urlHandlerBeforeGetData($_ctx) + public static function urlHandlerBeforeGetData($_) { $options = tplSaba::getSabaDefaultPostsOptions(); @@ -97,7 +97,7 @@ class pubSaba $posts = dcCore::app()->blog->getPosts($params); if ($posts->isEmpty()) { // hack: don't breack context $params = ['limit' => $params['limit']]; - $posts = dcCore::app()->blog->getPosts($params); + $posts = dcCore::app()->blog->getPosts($params); } dcCore::app()->ctx->post_params = $params; dcCore::app()->ctx->posts = $posts; @@ -230,7 +230,7 @@ class pubSaba # decoupe un peu plus la recherche $splits = preg_split("#[\s//,-_]+#", $p['search']); if (!$splits) { - $splits = explode(',', $p['search']); + $splits = explode(',', $p['search']); } foreach ($splits as $sentence) { $AND = []; diff --git a/locales/fr/resources.php b/locales/fr/resources.php index af28f3b..5a29f63 100644 --- a/locales/fr/resources.php +++ b/locales/fr/resources.php @@ -1,17 +1,15 @@