forked from GNUsocial/gnu-social
add a hook for the page notice
This commit is contained in:
parent
6b4410d9ea
commit
9d13890a85
@ -591,7 +591,10 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
'class' => 'system_notice'));
|
'class' => 'system_notice'));
|
||||||
$this->element('dt', null, _('Page notice'));
|
$this->element('dt', null, _('Page notice'));
|
||||||
$this->elementStart('dd');
|
$this->elementStart('dd');
|
||||||
|
if (Event::handle('StartShowPageNotice', array($this))) {
|
||||||
$this->showPageNotice();
|
$this->showPageNotice();
|
||||||
|
Event::handle('EndShowPageNotice', array($this));
|
||||||
|
}
|
||||||
$this->elementEnd('dd');
|
$this->elementEnd('dd');
|
||||||
$this->elementEnd('dl');
|
$this->elementEnd('dl');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user