Fix site notice
This commit is contained in:
parent
62ed9d3e73
commit
443e4a48c7
|
@ -265,12 +265,14 @@ class Action extends HTMLOutputter // lawsuit
|
||||||
// Revist. Should probably do an hAtom pattern here
|
// Revist. Should probably do an hAtom pattern here
|
||||||
function showSiteNotice()
|
function showSiteNotice()
|
||||||
{
|
{
|
||||||
|
$text = common_config('site', 'notice');
|
||||||
|
if ($text) {
|
||||||
$this->elementStart('dl', array('id' => 'site_notice',
|
$this->elementStart('dl', array('id' => 'site_notice',
|
||||||
'class' => 'system_notice'));
|
'class' => 'system_notice'));
|
||||||
$this->element('dt', null, _('Site notice'));
|
$this->element('dt', null, _('Site notice'));
|
||||||
$this->elementStart('dd', null);
|
$this->element('dd', null, $text);
|
||||||
// Output a bunch of paragraphs here
|
$this->elementEnd('dl');
|
||||||
$this->elementEnd('dd');
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MAY overload if no notice form needed... or direct message box????
|
// MAY overload if no notice form needed... or direct message box????
|
||||||
|
|
Loading…
Reference in New Issue
Block a user