missed this one

This commit is contained in:
Jean-Christian Denis 2023-04-10 23:29:38 +02:00
parent 114d443f88
commit 6186e3ec5e
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -112,10 +112,10 @@ class Manage extends dcNsProcess
dcCore::app()->callBehavior('arlequinAddModels', $models);
$models = iterator_to_array($models);
$s = dcCore::app()->blog->settings->get(My::id());
$model = json_decode((string) $s->get('model'), true);
$header = '';
$models = iterator_to_array($models);
$s = dcCore::app()->blog->settings->get(My::id());
$model = json_decode((string) $s->get('model'), true);
$header = '';
foreach ($models as $m) {
$header .= "\t" .
@ -172,7 +172,7 @@ class Manage extends dcNsProcess
(new Div())->class('two-boxes odd')->items([
(new Para())->items([
(new Label(__('Excluded themes:'), Label::OUTSIDE_LABEL_BEFORE))->for('exclude'),
(new Input('exclude'))->size(50)->maxlenght(200)->value(Html::escapeHTML($s->exclude)),
(new Input('exclude'))->size(50)->maxlenght(200)->value(Html::escapeHTML($s->get('exclude'))),
]),
(new Note())->class('form-note')->text('Semicolon separated list of themes IDs (theme folder name). Ex: ductile;berlin'),
]),