added DocNav EVENT
Event to overide DocNav two small css changes to indent notice footer correctly.
This commit is contained in:
parent
27bc654b5b
commit
b9d4a9c9f9
|
@ -1481,3 +1481,9 @@ EndSubMenu: After outputting a submenu (including enclosing tags) to HTML
|
|||
- $out: HTMLOutputter used to output (usually an Action, but not always!)
|
||||
- $menu: The Menu object outputted as a submenu.
|
||||
- $label: Localized text which represents the menu item.
|
||||
|
||||
StartDocNav: Before outputting the docs Nav
|
||||
- $nav: The DoclNav widget
|
||||
|
||||
EndDocNav: After outputting the docs Nav
|
||||
- $nav: The DoclNav widget
|
||||
|
|
|
@ -174,11 +174,15 @@ class DocNav extends Menu
|
|||
{
|
||||
function show()
|
||||
{
|
||||
if (Event::handle('StartDocNav', array($this))) {
|
||||
$stub = new HomeStubNav($this->action);
|
||||
$this->submenu(_m('MENU','Home'), $stub);
|
||||
|
||||
$docs = new DocListNav($this->action);
|
||||
$this->submenu(_m('MENU','Docs'), $docs);
|
||||
|
||||
Event::handle('EndDocNav', array($this));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1456,6 +1456,10 @@ margin-left:0;
|
|||
margin-left: 56px;
|
||||
}
|
||||
|
||||
.threaded-replies .notice > footer, .section .notice > footer {
|
||||
margin-left:33px;
|
||||
}
|
||||
|
||||
.notice > footer .timestamp span.p-name {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user