Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
This commit is contained in:
commit
f9bb35369a
@ -194,6 +194,12 @@ StartShowExportData: just before showing the <div> with export data (feeds)
|
|||||||
EndShowExportData: just after showing the <div> with export data (feeds)
|
EndShowExportData: just after showing the <div> with export data (feeds)
|
||||||
- $action: action object being shown
|
- $action: action object being shown
|
||||||
|
|
||||||
|
StartShowNoticeItem: just before showing the notice item
|
||||||
|
- $action: action object being shown
|
||||||
|
|
||||||
|
EndShowNoticeItem: just after showing the notice item
|
||||||
|
- $action: action object being shown
|
||||||
|
|
||||||
StartShowPageNotice: just before showing the page notice (instructions or error)
|
StartShowPageNotice: just before showing the page notice (instructions or error)
|
||||||
- $action: action object being shown
|
- $action: action object being shown
|
||||||
|
|
||||||
|
@ -178,9 +178,12 @@ class NoticeListItem extends Widget
|
|||||||
function show()
|
function show()
|
||||||
{
|
{
|
||||||
$this->showStart();
|
$this->showStart();
|
||||||
|
if (Event::handle('StartShowNoticeItem', array($this))) {
|
||||||
$this->showNotice();
|
$this->showNotice();
|
||||||
$this->showNoticeInfo();
|
$this->showNoticeInfo();
|
||||||
$this->showNoticeOptions();
|
$this->showNoticeOptions();
|
||||||
|
Event::handle('EndShowNoticeItem', array($this));
|
||||||
|
}
|
||||||
$this->showEnd();
|
$this->showEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user