mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 15:30:19 +00:00
addon should be commited as well
This commit is contained in:
parent
5c64ee11cf
commit
b0e0821d07
1 changed files with 6 additions and 8 deletions
|
@ -48,14 +48,12 @@ function pageheader_addon_settings(&$a,&$s) {
|
|||
if(! $words)
|
||||
$words = '';
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<h3>' . L10n::t('"pageheader" Settings') . '</h3>';
|
||||
$s .= '<div id="pageheader-wrapper">';
|
||||
$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>';
|
||||
$s .= '<textarea id="pageheader-words" type="text" name="pageheader-words">' . $words . '</textarea>';
|
||||
$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>';
|
||||
$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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue