diff --git a/README.md b/README.md index 00f6c5d..edae523 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,44 @@ # README +[![Release](https://img.shields.io/github/v/release/JcDenis/tweakStores)](https://github.com/JcDenis/tweakStores/releases) +[![Date](https://img.shields.io/github/release-date/JcDenis/tweakStores)](https://github.com/JcDenis/tweakStores/releases) +[![Issues](https://img.shields.io/github/issues/JcDenis/tweakStores)](https://github.com/JcDenis/tweakStores/issues) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.19-blue.svg)](https://fr.dotclear.org/download) +[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/tweakStores) +[![License](https://img.shields.io/github/license/JcDenis/tweakStores)](https://github.com/JcDenis/tweakStores/blob/master/LICENSE) + ## WHAT IS TWEAKSTORES ? "tweakStores" is a plugin for the open-source web publishing software called Dotclear. -It help devs to manage dcstore.xml file. +It helps devs to manage dcstore.xml file. ## REQUIREMENTS - tweakStores requires: + _tweakStores_ requires: * superadmin permissions * Dotclear 2.19 ## USAGE -First install tweakStores, manualy from a zip package or from +First install _tweakStores_, manualy from a zip package or from Dotaddict repository. (See Dotclear's documentation to know how do this) -Manage manual installation or overwriting from tab "store tools" on plugins page. +Manage plugins/themes dcstore.xml file from tab "store tools" on plugins/themes page. Manage settings from plugins configuration page. -tweakStores can interact with plugin pacKman to create .xml file at +_tweakStores_ can interact with plugin pacKman to create .xml file at package creation. -## MORE +## LINKS - * License : GNU GPL v2 + * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) * Source & contribution : [GitHub Page](https://github.com/JcDenis/tweakStores) * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/tweakStores) + +## CONTRIBUTORS + + * Jean-Christian Denis + + You are welcome to contribute to this code. \ No newline at end of file diff --git a/_config.php b/_config.php index ee1e4b3..8def099 100644 --- a/_config.php +++ b/_config.php @@ -1,15 +1,15 @@ getURL('module=tweakStores&conf=1&redir=' . - $list->getRedir()) + $list->getURL('module=tweakStores&conf=1&redir=' . $list->getRedir()) ); } catch (Exception $e) { $core->error->add($e->getMessage()); @@ -54,12 +53,12 @@ echo '

' . __('Tweak store') . '

-

' . __('If enabled, new tab "Tweak stores" allows your to perfom actions relative to third-party repositories.') .'

-

' . __('If enabled, plugin pacKman (re)generate on the fly dcstore.xml file at root directory of the module.') .'

diff --git a/_define.php b/_define.php index 8654584..aba258c 100644 --- a/_define.php +++ b/_define.php @@ -1,15 +1,15 @@ registerModule( 'Jean-Christian Denis and Contributors', '0.1.0', [ + 'requires' => [['core', '2.19']], 'permissions' => null, - 'type' => 'plugin', - 'dc_min' => '2.19', - 'support' => 'https://github.com/JcDenis/tweakStores', - 'details' => 'https://plugins.dotaddict.org/dc2/details/tweakStores', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/tweakStores/master/' + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/tweakStores', + 'details' => 'https://plugins.dotaddict.org/dc2/details/tweakStores', + 'repository' => 'https://raw.githubusercontent.com/JcDenis/tweakStores/master/' ] ); \ No newline at end of file diff --git a/_prepend.php b/_prepend.php index 106afc6..bad57f1 100644 --- a/_prepend.php +++ b/_prepend.php @@ -1,15 +1,15 @@ https://github.com/JcDenis/tweakStores/releases/download/v0.1.0/plugin-tweakStores.zip 2.19 https://plugins.dotaddict.org/dc2/details/tweakStores - https://github.com/JcDenis/tweakStores \ No newline at end of file diff --git a/inc/class.tweakstores.php b/inc/class.tweakstores.php index f716d74..c5ffd41 100644 --- a/inc/class.tweakstores.php +++ b/inc/class.tweakstores.php @@ -95,7 +95,7 @@ class tweakStores } $module = self::sanitizeModule($id, $module); $rsp = new xmlTag('module'); - + self::$notice = []; self::$failed = [];