moe to Franck style

This commit is contained in:
Jean-Christian Paul Denis 2021-08-17 23:46:17 +02:00
parent 5f5fdfcb01
commit 836f6eaf88
11 changed files with 679 additions and 700 deletions

View File

@ -1,33 +1,29 @@
licenseBootstrap 2021.08.17
* Move to Franck style
licenseBootstrap 2013.12.01
===========================================================
* Fix install
* Fix user info
licenseBootstrap 2013.10.29
===========================================================
* Fix full license bug
* Fix french help and support links
licenseBootstrap 2013.10.28
===========================================================
* Switched to DC 2.6
* New icon
* Add dashboard icon
* Clean up code and (again) lighter admin interface
licenseBootstrap 2013.05.11
===========================================================
* Fixed page title and messages and contents
licenseBootstrap 0.3 - 2010-06-05
===========================================================
* Switched to DC 2.2
* Changed admin interface (easy, light, fast)
licenseBootstrap 0.2 - 2009-11-09
===========================================================
* Changed lots of things
licenseBootstrap 0.1 - 2009-10-09
===========================================================
* First lab release

View File

@ -25,3 +25,9 @@ go to ''configure plugin'', fill in form.
Once it's done you can manage your modules license from menu
''License bootstrap'' on sidebar or you can add dashboard icon.
## MORE
* License : GNU GPL v2
* Source & contribution : [GitHub Page](https://github.com/licenseBootstrap)
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/licenseBootstrap)

View File

@ -13,21 +13,18 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) {
return null;
}
$core->blog->settings->addNamespace('licenseBootstrap');
$core->addBehavior(
'adminDashboardFavorites',
array('licenseBootstrapBehaviors', 'adminDashboardFavorites')
);
$core->addBehavior('adminDashboardFavorites', [
'licenseBootstrapBehaviors', 'adminDashboardFavorites'
]);
$core->addBehavior(
'packmanBeforeCreatePackage',
array('licenseBootstrapBehaviors', 'packmanBeforeCreatePackage')
);
$core->addBehavior('packmanBeforeCreatePackage', [
'licenseBootstrapBehaviors', 'packmanBeforeCreatePackage'
]);
$_menu['Plugins']->addItem(
__('License bootstrap'),

View File

@ -13,7 +13,6 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_MODULE')) {
return null;
}

View File

@ -13,25 +13,19 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) {
return null;
}
$this->registerModule(
/* Name */
"License bootstrap",
/* Description*/
"Add license to your plugins and themes",
/* Author */
"Jean-Christian Denis",
/* Version */
'2013.12.01',
/* Properties */
array(
'License bootstrap', // Name
'Add license to your plugins and themes', // Description
'Jean-Christian Denis', // Author
'2021.08.17', // Version
[
'permissions' => null,
'type' => 'plugin',
'dc_min' => '2.6',
'support' => 'http://jcd.lv/q=licenseBootstrap',
'details' => 'http://plugins.dotaddict.org/dc2/details/licenseBootstrap'
)
'dc_min' => '2.19',
'support' => 'https://github.com/JcDenis/licenseBootstrap',
'details' => 'https://plugins.dotaddict.org/dc2/details/licenseBootstrap'
]
);

View File

@ -13,7 +13,6 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) {
return null;
}

View File

@ -13,7 +13,6 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) {
return null;
}

View File

@ -13,7 +13,6 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) {
return null;
}

View File

@ -13,7 +13,6 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) {
return null;
}

View File

@ -13,7 +13,6 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) {
return null;
}

View File

@ -13,7 +13,6 @@
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) {
return null;
}
@ -111,11 +110,4 @@ libLicenseBootstrap::modules(
dcPage::helpBlock('licenseBootstrap');
echo
'<hr class="clear"/><p class="right modules">
<a class="module-config" '.
'href="plugins.php?module=licenseBootstrap&amp;conf=1&amp;redir='.
urlencode('plugin.php?p=licenseBootstrap').'">'.__('Configuration').'</a> -
licenseBootstrap - '.$core->plugins->moduleInfo('licenseBootstrap', 'version').'&nbsp;
<img alt="'.__('licenseBootstrap').'" src="index.php?pf=licenseBootstrap/icon.png" />
</p>
</body></html>';
'</body></html>';