moe to Franck style
parent
5f5fdfcb01
commit
836f6eaf88
|
@ -1,33 +1,29 @@
|
||||||
|
licenseBootstrap 2021.08.17
|
||||||
|
* Move to Franck style
|
||||||
|
|
||||||
licenseBootstrap 2013.12.01
|
licenseBootstrap 2013.12.01
|
||||||
===========================================================
|
|
||||||
* Fix install
|
* Fix install
|
||||||
* Fix user info
|
* Fix user info
|
||||||
|
|
||||||
licenseBootstrap 2013.10.29
|
licenseBootstrap 2013.10.29
|
||||||
===========================================================
|
|
||||||
* Fix full license bug
|
* Fix full license bug
|
||||||
* Fix french help and support links
|
* Fix french help and support links
|
||||||
|
|
||||||
licenseBootstrap 2013.10.28
|
licenseBootstrap 2013.10.28
|
||||||
===========================================================
|
|
||||||
* Switched to DC 2.6
|
* Switched to DC 2.6
|
||||||
* New icon
|
* New icon
|
||||||
* Add dashboard icon
|
* Add dashboard icon
|
||||||
* Clean up code and (again) lighter admin interface
|
* Clean up code and (again) lighter admin interface
|
||||||
|
|
||||||
licenseBootstrap 2013.05.11
|
licenseBootstrap 2013.05.11
|
||||||
===========================================================
|
|
||||||
* Fixed page title and messages and contents
|
* Fixed page title and messages and contents
|
||||||
|
|
||||||
licenseBootstrap 0.3 - 2010-06-05
|
licenseBootstrap 0.3 - 2010-06-05
|
||||||
===========================================================
|
|
||||||
* Switched to DC 2.2
|
* Switched to DC 2.2
|
||||||
* Changed admin interface (easy, light, fast)
|
* Changed admin interface (easy, light, fast)
|
||||||
|
|
||||||
licenseBootstrap 0.2 - 2009-11-09
|
licenseBootstrap 0.2 - 2009-11-09
|
||||||
===========================================================
|
|
||||||
* Changed lots of things
|
* Changed lots of things
|
||||||
|
|
||||||
licenseBootstrap 0.1 - 2009-10-09
|
licenseBootstrap 0.1 - 2009-10-09
|
||||||
===========================================================
|
|
||||||
* First lab release
|
* First lab release
|
|
@ -25,3 +25,9 @@ go to ''configure plugin'', fill in form.
|
||||||
|
|
||||||
Once it's done you can manage your modules license from menu
|
Once it's done you can manage your modules license from menu
|
||||||
''License bootstrap'' on sidebar or you can add dashboard icon.
|
''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)
|
15
_admin.php
15
_admin.php
|
@ -13,21 +13,18 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$core->blog->settings->addNamespace('licenseBootstrap');
|
$core->blog->settings->addNamespace('licenseBootstrap');
|
||||||
|
|
||||||
$core->addBehavior(
|
$core->addBehavior('adminDashboardFavorites', [
|
||||||
'adminDashboardFavorites',
|
'licenseBootstrapBehaviors', 'adminDashboardFavorites'
|
||||||
array('licenseBootstrapBehaviors', 'adminDashboardFavorites')
|
]);
|
||||||
);
|
|
||||||
|
|
||||||
$core->addBehavior(
|
$core->addBehavior('packmanBeforeCreatePackage', [
|
||||||
'packmanBeforeCreatePackage',
|
'licenseBootstrapBehaviors', 'packmanBeforeCreatePackage'
|
||||||
array('licenseBootstrapBehaviors', 'packmanBeforeCreatePackage')
|
]);
|
||||||
);
|
|
||||||
|
|
||||||
$_menu['Plugins']->addItem(
|
$_menu['Plugins']->addItem(
|
||||||
__('License bootstrap'),
|
__('License bootstrap'),
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_MODULE')) {
|
if (!defined('DC_CONTEXT_MODULE')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
24
_define.php
24
_define.php
|
@ -13,25 +13,19 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_RC_PATH')) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->registerModule(
|
$this->registerModule(
|
||||||
/* Name */
|
'License bootstrap', // Name
|
||||||
"License bootstrap",
|
'Add license to your plugins and themes', // Description
|
||||||
/* Description*/
|
'Jean-Christian Denis', // Author
|
||||||
"Add license to your plugins and themes",
|
'2021.08.17', // Version
|
||||||
/* Author */
|
[
|
||||||
"Jean-Christian Denis",
|
|
||||||
/* Version */
|
|
||||||
'2013.12.01',
|
|
||||||
/* Properties */
|
|
||||||
array(
|
|
||||||
'permissions' => null,
|
'permissions' => null,
|
||||||
'type' => 'plugin',
|
'type' => 'plugin',
|
||||||
'dc_min' => '2.6',
|
'dc_min' => '2.19',
|
||||||
'support' => 'http://jcd.lv/q=licenseBootstrap',
|
'support' => 'https://github.com/JcDenis/licenseBootstrap',
|
||||||
'details' => 'http://plugins.dotaddict.org/dc2/details/licenseBootstrap'
|
'details' => 'https://plugins.dotaddict.org/dc2/details/licenseBootstrap'
|
||||||
)
|
]
|
||||||
);
|
);
|
|
@ -13,7 +13,6 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_RC_PATH')) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
10
index.php
10
index.php
|
@ -13,7 +13,6 @@
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,11 +110,4 @@ libLicenseBootstrap::modules(
|
||||||
dcPage::helpBlock('licenseBootstrap');
|
dcPage::helpBlock('licenseBootstrap');
|
||||||
|
|
||||||
echo
|
echo
|
||||||
'<hr class="clear"/><p class="right modules">
|
'</body></html>';
|
||||||
<a class="module-config" '.
|
|
||||||
'href="plugins.php?module=licenseBootstrap&conf=1&redir='.
|
|
||||||
urlencode('plugin.php?p=licenseBootstrap').'">'.__('Configuration').'</a> -
|
|
||||||
licenseBootstrap - '.$core->plugins->moduleInfo('licenseBootstrap', 'version').'
|
|
||||||
<img alt="'.__('licenseBootstrap').'" src="index.php?pf=licenseBootstrap/icon.png" />
|
|
||||||
</p>
|
|
||||||
</body></html>';
|
|
Loading…
Reference in New Issue