addon should be commited as well
parent
5c64ee11cf
commit
b0e0821d07
|
@ -48,14 +48,12 @@ function pageheader_addon_settings(&$a,&$s) {
|
||||||
if(! $words)
|
if(! $words)
|
||||||
$words = '';
|
$words = '';
|
||||||
|
|
||||||
$s .= '<div class="settings-block">';
|
$t = get_markup_template("settings.tpl", "addon/pageheader/");
|
||||||
$s .= '<h3>' . L10n::t('"pageheader" Settings') . '</h3>';
|
$s .= replace_macros($t, [
|
||||||
$s .= '<div id="pageheader-wrapper">';
|
'$title' => L10n::t('"pageheader" Settings'),
|
||||||
$s .= '<label id="pageheader-label" for="pageheader-words">' . L10n::t('Message to display on every page on this server (or put a pageheader.html file in your docroot)') . ' </label>';
|
'$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)')],
|
||||||
$s .= '<textarea id="pageheader-words" type="text" name="pageheader-words">' . $words . '</textarea>';
|
'$submit' => L10n::t('Save Settings')
|
||||||
$s .= '</div><div class="clear"></div>';
|
]);
|
||||||
|
|
||||||
$s .= '<div class="settings-submit-wrapper" ><input type="submit" id="pageheader-submit" name="pageheader-submit" class="settings-submit" value="' . L10n::t('Save Settings') . '" /></div></div>';
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue