From: Tobias Diekershoff Date: Sun, 11 Mar 2018 17:54:01 +0000 (+0100) Subject: addon should be commited as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0e0821d072db0156db55541ab502d0caa80bff1;p=friendica-addons.git addon should be commited as well --- diff --git a/pageheader/pageheader.php b/pageheader/pageheader.php index 7b692416..eb121fb5 100644 --- a/pageheader/pageheader.php +++ b/pageheader/pageheader.php @@ -48,14 +48,12 @@ function pageheader_addon_settings(&$a,&$s) { if(! $words) $words = ''; - $s .= '
'; - $s .= '

' . L10n::t('"pageheader" Settings') . '

'; - $s .= '
'; - - $s .= '
'; + $t = get_markup_template("settings.tpl", "addon/pageheader/"); + $s .= replace_macros($t, [ + '$title' => L10n::t('"pageheader" Settings'), + '$phwords' => ['pageheader-words', L10n::t('Message'), $words, L10n::t('Message to display on every page on this server (or put a pageheader.html file in your docroot)')], + '$submit' => L10n::t('Save Settings') + ]); return;