forked from GNUsocial/gnu-social
Added hook for Aside container
This commit is contained in:
parent
cc776478e2
commit
acc7897238
@ -87,6 +87,12 @@ StartShowContentBlock: Showing before the content container
|
|||||||
EndShowContentBlock: Showing after the content container
|
EndShowContentBlock: Showing after the content container
|
||||||
- $action: the current action
|
- $action: the current action
|
||||||
|
|
||||||
|
StartShowAside: Showing before the Aside container
|
||||||
|
- $action: the current action
|
||||||
|
|
||||||
|
EndShowAside: Showing after the Aside container
|
||||||
|
- $action: the current action
|
||||||
|
|
||||||
StartNoticeSave: before inserting a notice (good place for content filters)
|
StartNoticeSave: before inserting a notice (good place for content filters)
|
||||||
- $notice: notice being saved (no ID or URI)
|
- $notice: notice being saved (no ID or URI)
|
||||||
|
|
||||||
|
@ -525,7 +525,10 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
$this->showContentBlock();
|
$this->showContentBlock();
|
||||||
Event::handle('EndShowContentBlock', array($this));
|
Event::handle('EndShowContentBlock', array($this));
|
||||||
}
|
}
|
||||||
|
if (Event::handle('StartShowAside', array($this))) {
|
||||||
$this->showAside();
|
$this->showAside();
|
||||||
|
Event::handle('EndShowAside', array($this));
|
||||||
|
}
|
||||||
$this->elementEnd('div');
|
$this->elementEnd('div');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user