moe to Franck style
This commit is contained in:
parent
5f5fdfcb01
commit
836f6eaf88
@ -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
|
@ -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)
|
15
_admin.php
15
_admin.php
@ -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'),
|
||||
|
@ -13,7 +13,6 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_CONTEXT_MODULE')) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
24
_define.php
24
_define.php
@ -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'
|
||||
]
|
||||
);
|
@ -13,7 +13,6 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_RC_PATH')) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
10
index.php
10
index.php
@ -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&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>';
|
||||
'</body></html>';
|
Loading…
Reference in New Issue
Block a user