*/
function showContentBlock()
{
- $this->elementStart('div', array('id' => 'content', 'class' => 'hentry'));
+ $this->elementStart('div', array('id' => 'content', 'class' => 'h-entry'));
$this->showPageTitle();
$this->showPageNoticeBlock();
$this->elementStart('div', array('id' => 'content_inner',
- 'class' => 'entry-content'));
+ 'class' => 'e-content'));
// show the actual content (forms, lists, whatever)
$this->showContent();
$this->elementEnd('div');
{
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));
+ }
}
}