move to PSR-2 coding style and short array
This commit is contained in:
parent
ac274d3349
commit
f64f1f6157
5 changed files with 543 additions and 543 deletions
|
@ -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
|
||||
|
|
10
README.md
10
README.md
|
@ -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
|
||||
|
@ -26,4 +26,10 @@ 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.
|
||||
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 ------------------------------------
|
||||
|
||||
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'
|
||||
]
|
||||
);
|
1036
_public.php
1036
_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 a new issue