We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 443e4a48 authored by Evan Prodromou's avatar Evan Prodromou

Fix site notice

parent 62ed9d3e
......@@ -265,14 +265,16 @@ class Action extends HTMLOutputter // lawsuit
// Revist. Should probably do an hAtom pattern here
function showSiteNotice()
{
$this->elementStart('dl', array('id' => 'site_notice',
'class' => 'system_notice'));
$this->element('dt', null, _('Site notice'));
$this->elementStart('dd', null);
// Output a bunch of paragraphs here
$this->elementEnd('dd');
}
$text = common_config('site', 'notice');
if ($text) {
$this->elementStart('dl', array('id' => 'site_notice',
'class' => 'system_notice'));
$this->element('dt', null, _('Site notice'));
$this->element('dd', null, $text);
$this->elementEnd('dl');
}
}
// MAY overload if no notice form needed... or direct message box????
function showNoticeForm()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment