[showmore_dyn] Normalize addon use setting display with accordion behavior

This commit is contained in:
Hypolite Petovan 2020-12-31 09:13:42 -05:00
parent 39280ea6bd
commit 14ebf55d56
2 changed files with 8 additions and 3 deletions

View file

@ -57,7 +57,7 @@ function showmore_dyn_settings(App &$a, &$o)
$t = Renderer::getMarkupTemplate('settings.tpl', 'addon/showmore_dyn/');
$o .= Renderer::replaceMacros($t, [
'$submit' => DI::l10n()->t('Save Settings'),
'$title' => 'Showmore Dynamic',
'$header' => 'Show More Dynamic',
'$limitHeight' => ['limitHeight', DI::l10n()->t('Limit Height'), $limitHeight, 'The maximal pixel height of posts, 0 to disable', '', '', 'number'],
]);