git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit b9d4a9c9 authored by buttle's avatar buttle

added DocNav EVENT

Event to overide DocNav
two small css changes to indent notice footer correctly.
parent 27bc654b
......@@ -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()
{
$stub = new HomeStubNav($this->action);
$this->submenu(_m('MENU','Home'), $stub);
$docs = new DocListNav($this->action);
$this->submenu(_m('MENU','Docs'), $docs);
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;
}
......
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