This commit is contained in:
Jean-Christian Paul Denis 2023-05-09 01:33:06 +02:00
parent 37cc921b5f
commit 983eb08bcd
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -165,7 +165,7 @@ class Manage extends dcNsProcess
echo echo
dcPage::breadcrumb([ dcPage::breadcrumb([
__('Plugins') => '', __('Plugins') => '',
My::name() => dcCore::app()->adminurl->get('admin.plugin.' . My::id()) My::name() => dcCore::app()->adminurl->get('admin.plugin.' . My::id()),
]) . ]) .
dcPage::notices(); dcPage::notices();
@ -441,7 +441,8 @@ class Manage extends dcNsProcess
dcPage::openModule( dcPage::openModule(
My::name(), My::name(),
(dcCore::app()->auth->user_prefs->get('interface')->get('colorsyntax') ? (
dcCore::app()->auth->user_prefs->get('interface')->get('colorsyntax') ?
dcPage::jsJson('dotclear_colorsyntax', ['colorsyntax' => dcCore::app()->auth->user_prefs->get('interface')->get('colorsyntax')]) : '' dcPage::jsJson('dotclear_colorsyntax', ['colorsyntax' => dcCore::app()->auth->user_prefs->get('interface')->get('colorsyntax')]) : ''
) . ) .
dcPage::jsJson('theme_editor_msg', [ dcPage::jsJson('theme_editor_msg', [
@ -452,7 +453,8 @@ class Manage extends dcNsProcess
]) . ]) .
dcPage::jsModuleLoad('themeEditor/js/script.js') . dcPage::jsModuleLoad('themeEditor/js/script.js') .
dcPage::jsConfirmClose('file-form') . dcPage::jsConfirmClose('file-form') .
(dcCore::app()->auth->user_prefs->get('interface')->get('colorsyntax') ? (
dcCore::app()->auth->user_prefs->get('interface')->get('colorsyntax') ?
dcPage::jsLoadCodeMirror(is_string($ict) ? $ict : '') : '' dcPage::jsLoadCodeMirror(is_string($ict) ? $ict : '') : ''
) . ) .
dcPage::cssModuleLoad('themeEditor/style.css') dcPage::cssModuleLoad('themeEditor/style.css')
@ -602,13 +604,13 @@ class Manage extends dcNsProcess
echo echo
dcPage::breadcrumb([ dcPage::breadcrumb([
__('Plugins') => '', __('Plugins') => '',
My::id() => '', My::name() => '',
]) . ]) .
dcPage::notices(); dcPage::notices();
$line = '<li><a href="%s">%s</a></li>'; $line = '<li><a href="%s">%s</a></li>';
echo ' echo '
<h4><i>' . __('Manage additional templates') . '</i></h4>' . <h4><i>' . __('Create and select more templates for your posts') . '</i></h4>' .
sprintf( sprintf(
'<h3><ul class="nice">%s</ul></h3>', '<h3><ul class="nice">%s</ul></h3>',
sprintf( sprintf(