diff --git a/CHANGELOG b/CHANGELOG deleted file mode 100644 index 9d10791..0000000 --- a/CHANGELOG +++ /dev/null @@ -1,40 +0,0 @@ -postWidgetText 2013.11.21 -=========================================================== - * Switch to Dotclear 2.6 and clean up code - * Change icons - * Add dashboard icon - -postWidgetText 2011.06.10 -=========================================================== - * Fixed export bug (thks @noe) - * (c) 2011 - -postWidgetText 2011.04.11 -=========================================================== - * Changed version numbering - * Fixed Dotclear 2.2.3 chage on plugin page (thks @tomek) - * Fixed call to $core->blog on prepend - -postWidgetText 0.6.1 - 2010-11-12 -=========================================================== - * Fixed install on nightly build - -postWidgetText 0.6 - 2010-06-08 -=========================================================== - * Switched to DC 2.2 - -postWidgetText 0.5 - 2010-04-07 -=========================================================== - * Rewrited and cleaned extension - * Changed table - -postWidgetText 0.4 - 2009-08-23 -=========================================================== - * Added behaviors - * Added custom widget title - * Added "plugin page'' support - -postWidgetText 0.3 -=========================================================== - * Fixed php 5.3 compatibility - * Fixed typo in export function \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4d8787f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,39 @@ +2021.00.00 - dev +- clean up code +- update license +- update translations +- check Dotclear 2.19 +- check php7.3+, php8.0 + +2013.11.21 +- Switch to Dotclear 2.6 and clean up code +- Change icons +- Add dashboard icon + +2011.06.10 +- Fixed export bug (thks @noe) +- (c) 2011 + +2011.04.11 +- Changed version numbering +- Fixed Dotclear 2.2.3 chage on plugin page (thks @tomek) +- Fixed call to $core->blog on prepend + +0.6.1 - 2010.11.12 +- Fixed install on nightly build + +0.6 - 2010-06-08 +- Switched to DC 2.2 + +0.5 - 2010.04.07 +- Rewrited and cleaned extension +- Changed table + +0.4 - 2009.08.23 +- Added behaviors +- Added custom widget title +- Added "plugin page'' support + +0.3 +- Fixed php 5.3 compatibility +- Fixed typo in export function \ No newline at end of file diff --git a/README.md b/README.md index 8f6d77c..a55e9d2 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Add a widget related to an entry with custom titles and content. * permissions to manage widgets * permissions to manage entries - * Dotclear 2.6 + * Dotclear 2.19 ## USAGE @@ -22,4 +22,10 @@ Dotaddict repository. (See Dotclear's documentation to know how do this) Add and configure "Post widget text" from widgets manager. Manage "widget" related to an entry from entry edition page. -Manage (deleted) "widgets" from sidebar menu called "Post widget text". +Manage (delete) "widgets" from sidebar menu called "Post widget text". + +## MORE + + * License : GNU GPL v2 + * Source & contribution : [GitHub Page](https://github.com/JcDenis/postWidgetText) + * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/postWidgetText) \ No newline at end of file diff --git a/_define.php b/_define.php index b1e07a9..d98f9a4 100644 --- a/_define.php +++ b/_define.php @@ -12,26 +12,22 @@ # # -- END LICENSE BLOCK ------------------------------------ -if (!defined('DC_RC_PATH')) { - return null; +if (!defined('DC_RC_PATH')) { + return null; } $this->registerModule( - /* Name */ - "Post widget text", - /* Description*/ - "Add a widget with a text related to an entry", - /* Author */ - "Jean-Christian Denis", - /* Version */ - '2013.11.20', - /* Properies */ - array( - 'permissions' => 'usage,contentadmin', - 'type' => 'plugin', - 'dc_min' => '2.6', - 'support' => 'http://jcd.lv/q=postWidgetText', - 'details' => 'http://plugins.dotaddict.org/dc2/details/postWidgetText' - ) -); + 'Post widget text', + 'Add a widget with a text related to an entry', + 'Jean-Christian Denis and Contributors', + '2021.00.00.1', + [ + 'requires' => [['core', '2.19']], + 'permissions' => 'usage,contentadmin', + 'type'=> 'plugin', + 'support'=> 'https://github.com/JcDenis/postWidgetText', + 'details'=> 'https://plugins.dotaddict.org/dc2/details/postWidgetText', + 'repository' => 'https://raw.githubusercontent.com/JcDenis/postWidgetText/master/dcstore.xml' + ] +); \ No newline at end of file