move to PSR-2 coding style and short array
This commit is contained in:
parent
ac274d3349
commit
f64f1f6157
@ -2,6 +2,7 @@
|
|||||||
* update license
|
* update license
|
||||||
* fix query
|
* fix query
|
||||||
* change template titles to h3
|
* change template titles to h3
|
||||||
|
* move to PSR-2 coding style and short array
|
||||||
|
|
||||||
2013.10.28
|
2013.10.28
|
||||||
* Switch to Dotclear 2.6
|
* Switch to Dotclear 2.6
|
||||||
|
10
README.md
10
README.md
@ -13,7 +13,7 @@ show related entries to visitor.
|
|||||||
saba requires:
|
saba requires:
|
||||||
|
|
||||||
* administrator permissions
|
* administrator permissions
|
||||||
* Dotclear 2.6
|
* Dotclear 2.18
|
||||||
* Custom templates if default theme is not used.
|
* Custom templates if default theme is not used.
|
||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
@ -26,4 +26,10 @@ go to ''configure plugin'', fill in form.
|
|||||||
|
|
||||||
If you use a custom theme (not Dotclear's default theme)
|
If you use a custom theme (not Dotclear's default theme)
|
||||||
you must create custom templates that match yours.
|
you must create custom templates that match yours.
|
||||||
You can find exemple in saba/default-tempaltes.
|
You can find exemple in saba/default-tempaltes.
|
||||||
|
|
||||||
|
## MORE
|
||||||
|
|
||||||
|
* License : GNU GPL v2
|
||||||
|
* Source & contribution : [GitHub Page](https://github.com/JcDenis/saba)
|
||||||
|
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/saba)
|
32
_define.php
32
_define.php
@ -12,25 +12,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 */
|
'saba',
|
||||||
"saba",
|
'Search across blog archive',
|
||||||
/* Description*/
|
'Jean-Christian Denis and Contributors',
|
||||||
"Search across blog's archive",
|
'2021.08.20.5',
|
||||||
/* Author */
|
[
|
||||||
"Jean-Christian Denis",
|
'permissions' => 'admin',
|
||||||
/* Version */
|
'type' => 'plugin',
|
||||||
'2021.08.20.3',
|
'dc_min' => '2.18',
|
||||||
/* Properies */
|
'support' => 'https://github.com/JcDenis/saba',
|
||||||
array(
|
'details' => 'https://plugins.dotaddict.org/dc2/details/saba'
|
||||||
'permissions' => 'admin',
|
]
|
||||||
'type' => 'plugin',
|
);
|
||||||
'dc_min' => '2.6',
|
|
||||||
'support' => 'http://jcd.lv/q=saba',
|
|
||||||
'details' => 'http://plugins.dotaddict.org/dc2/details/saba'
|
|
||||||
)
|
|
||||||
);
|
|
1036
_public.php
1036
_public.php
File diff suppressed because it is too large
Load Diff
@ -12,10 +12,9 @@
|
|||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_RC_PATH')) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
|
return null;
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($_REQUEST['module']) && $_REQUEST['module'] == 'saba') {
|
if (!empty($_REQUEST['module']) && $_REQUEST['module'] == 'saba') {
|
||||||
$__resources['help']['core_plugins_conf'] = dirname(__FILE__).'/help/help.html';
|
$__resources['help']['core_plugins_conf'] = dirname(__FILE__) . '/help/help.html';
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user