forked from GNUsocial/gnu-social
Add missing li tags in settings and admin menus.
This commit is contained in:
parent
2a0dc2291d
commit
fbc5de3268
@ -61,6 +61,7 @@ class AdminPanelNav extends Menu
|
|||||||
|
|
||||||
// Stub section w/ home link
|
// Stub section w/ home link
|
||||||
$this->action->elementStart('ul');
|
$this->action->elementStart('ul');
|
||||||
|
$this->action->elementStart('li');
|
||||||
// TRANS: Header in administrator navigation panel.
|
// TRANS: Header in administrator navigation panel.
|
||||||
$this->action->element('h3', null, _m('HEADER','Home'));
|
$this->action->element('h3', null, _m('HEADER','Home'));
|
||||||
$this->action->elementStart('ul', 'nav');
|
$this->action->elementStart('ul', 'nav');
|
||||||
@ -74,9 +75,11 @@ class AdminPanelNav extends Menu
|
|||||||
$this->action == 'all', 'nav_timeline_personal');
|
$this->action == 'all', 'nav_timeline_personal');
|
||||||
|
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
|
$this->action->elementEnd('li');
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
|
|
||||||
$this->action->elementStart('ul');
|
$this->action->elementStart('ul');
|
||||||
|
$this->action->elementStart('li');
|
||||||
// TRANS: Header in administrator navigation panel.
|
// TRANS: Header in administrator navigation panel.
|
||||||
$this->action->element('h3', null, _m('HEADER','Admin'));
|
$this->action->element('h3', null, _m('HEADER','Admin'));
|
||||||
$this->action->elementStart('ul', array('class' => 'nav'));
|
$this->action->elementStart('ul', array('class' => 'nav'));
|
||||||
@ -166,6 +169,7 @@ class AdminPanelNav extends Menu
|
|||||||
Event::handle('EndAdminPanelNav', array($this));
|
Event::handle('EndAdminPanelNav', array($this));
|
||||||
}
|
}
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
|
$this->action->elementEnd('li');
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,6 +61,7 @@ class SettingsNav extends Menu
|
|||||||
|
|
||||||
// Stub section w/ home link
|
// Stub section w/ home link
|
||||||
$this->action->elementStart('ul');
|
$this->action->elementStart('ul');
|
||||||
|
$this->action->elementStart('li');
|
||||||
// TRANS: Header in settings navigation panel.
|
// TRANS: Header in settings navigation panel.
|
||||||
$this->action->element('h3', null, _m('HEADER','Home'));
|
$this->action->element('h3', null, _m('HEADER','Home'));
|
||||||
$this->action->elementStart('ul', 'nav');
|
$this->action->elementStart('ul', 'nav');
|
||||||
@ -72,11 +73,12 @@ class SettingsNav extends Menu
|
|||||||
// TRANS: %s is a username.
|
// TRANS: %s is a username.
|
||||||
sprintf(_('%s and friends'), $name),
|
sprintf(_('%s and friends'), $name),
|
||||||
$this->action == 'all', 'nav_timeline_personal');
|
$this->action == 'all', 'nav_timeline_personal');
|
||||||
|
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
|
$this->action->elementEnd('li');
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
|
|
||||||
$this->action->elementStart('ul');
|
$this->action->elementStart('ul');
|
||||||
|
$this->action->elementStart('li');
|
||||||
// TRANS: Header in settings navigation panel.
|
// TRANS: Header in settings navigation panel.
|
||||||
$this->action->element('h3', null, _m('HEADER','Settings'));
|
$this->action->element('h3', null, _m('HEADER','Settings'));
|
||||||
$this->action->elementStart('ul', array('class' => 'nav'));
|
$this->action->elementStart('ul', array('class' => 'nav'));
|
||||||
@ -155,6 +157,7 @@ class SettingsNav extends Menu
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
|
$this->action->elementEnd('li');
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user