move to PSR-2 coding style and short array
This commit is contained in:
parent
ac274d3349
commit
f64f1f6157
@ -2,6 +2,7 @@
|
||||
* update license
|
||||
* fix query
|
||||
* change template titles to h3
|
||||
* move to PSR-2 coding style and short array
|
||||
|
||||
2013.10.28
|
||||
* Switch to Dotclear 2.6
|
||||
|
@ -13,7 +13,7 @@ show related entries to visitor.
|
||||
saba requires:
|
||||
|
||||
* administrator permissions
|
||||
* Dotclear 2.6
|
||||
* Dotclear 2.18
|
||||
* Custom templates if default theme is not used.
|
||||
|
||||
## USAGE
|
||||
@ -27,3 +27,9 @@ go to ''configure plugin'', fill in form.
|
||||
If you use a custom theme (not Dotclear's default theme)
|
||||
you must create custom templates that match yours.
|
||||
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)
|
30
_define.php
30
_define.php
@ -12,25 +12,19 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_RC_PATH')) {
|
||||
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->registerModule(
|
||||
/* Name */
|
||||
"saba",
|
||||
/* Description*/
|
||||
"Search across blog's archive",
|
||||
/* Author */
|
||||
"Jean-Christian Denis",
|
||||
/* Version */
|
||||
'2021.08.20.3',
|
||||
/* Properies */
|
||||
array(
|
||||
'permissions' => 'admin',
|
||||
'type' => 'plugin',
|
||||
'dc_min' => '2.6',
|
||||
'support' => 'http://jcd.lv/q=saba',
|
||||
'details' => 'http://plugins.dotaddict.org/dc2/details/saba'
|
||||
)
|
||||
'saba',
|
||||
'Search across blog archive',
|
||||
'Jean-Christian Denis and Contributors',
|
||||
'2021.08.20.5',
|
||||
[
|
||||
'permissions' => 'admin',
|
||||
'type' => 'plugin',
|
||||
'dc_min' => '2.18',
|
||||
'support' => 'https://github.com/JcDenis/saba',
|
||||
'details' => 'https://plugins.dotaddict.org/dc2/details/saba'
|
||||
]
|
||||
);
|
1024
_public.php
1024
_public.php
File diff suppressed because it is too large
Load Diff
@ -12,10 +12,9 @@
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_RC_PATH')) {
|
||||
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
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