From: Hypolite Petovan Date: Thu, 31 Dec 2020 14:13:42 +0000 (-0500) Subject: [showmore_dyn] Normalize addon use setting display with accordion behavior X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=14ebf55d56472c5abc3f14806b9830efe8e20f7b;p=friendica-addons.git [showmore_dyn] Normalize addon use setting display with accordion behavior --- diff --git a/showmore_dyn/showmore_dyn.php b/showmore_dyn/showmore_dyn.php index ccb96bc6..da384faa 100644 --- a/showmore_dyn/showmore_dyn.php +++ b/showmore_dyn/showmore_dyn.php @@ -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'], ]); diff --git a/showmore_dyn/templates/settings.tpl b/showmore_dyn/templates/settings.tpl index 5e8bc3f1..ac37e937 100644 --- a/showmore_dyn/templates/settings.tpl +++ b/showmore_dyn/templates/settings.tpl @@ -1,5 +1,10 @@ -
-

{{$title}}

+ +

{{$header}}

+
+