cosmetic
This commit is contained in:
parent
1da5fe9674
commit
b4adc18d6d
@ -270,7 +270,7 @@ class urlSaba extends dcUrlHandlers
|
|||||||
|
|
||||||
# Serve saba
|
# Serve saba
|
||||||
$tplset = dcCore::app()->themes->moduleInfo(dcCore::app()->blog->settings->system->theme, 'tplset');
|
$tplset = dcCore::app()->themes->moduleInfo(dcCore::app()->blog->settings->system->theme, 'tplset');
|
||||||
self::serveDocument('saba_404_' . (!empty($tplset) && in_array($tplset, ['dotty', 'mustek']) ? $tplset : 'default') . '.html');
|
self::serveDocument('saba_404_' . (!empty($tplset) && in_array($tplset, ['dotty', 'mustek']) ? $tplset : 'default') . '.html');
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ class sabaWidget
|
|||||||
}
|
}
|
||||||
|
|
||||||
$saba_options = dcCore::app()->ctx->saba_options ?? tplSaba::getSabaDefaultPostsOptions();
|
$saba_options = dcCore::app()->ctx->saba_options ?? tplSaba::getSabaDefaultPostsOptions();
|
||||||
$res = '';
|
$res = '';
|
||||||
|
|
||||||
# advenced search only on search page
|
# advenced search only on search page
|
||||||
if (dcCore::app()->url->type == 'search') {
|
if (dcCore::app()->url->type == 'search') {
|
||||||
|
Loading…
Reference in New Issue
Block a user