move to PSR-2 coding style and short array

This commit is contained in:
Jean-Christian Paul Denis 2021-08-22 00:06:07 +02:00
parent ac274d3349
commit f64f1f6157
5 changed files with 543 additions and 543 deletions

View File

@ -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

View File

@ -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)

View File

@ -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'
]
);

File diff suppressed because it is too large Load Diff

View File

@ -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';
}