forked from GNUsocial/gnu-social
Revert "abstraction for starting and ending a menu"
This reverts commit b4f1281799
.
This commit is contained in:
parent
6ab7329e85
commit
b751ab70fb
17
lib/menu.php
17
lib/menu.php
@ -62,23 +62,6 @@ class Menu extends Widget
|
||||
$this->actionName = $action->trimmed('action');
|
||||
}
|
||||
|
||||
function id()
|
||||
{
|
||||
return 'unknown_menu';
|
||||
}
|
||||
|
||||
function menuStart()
|
||||
{
|
||||
$this->action->elementStart('div', array('id' => $this->id()));
|
||||
$this->action->elementStart('ul', array('class' => 'nav'));
|
||||
}
|
||||
|
||||
function menuEnd()
|
||||
{
|
||||
$this->action->elementEnd('ul');
|
||||
$this->action->elementEnd('div');
|
||||
}
|
||||
|
||||
function item($actionName, $args, $label, $description, $id=null)
|
||||
{
|
||||
if (empty($id)) {
|
||||
|
Loading…
Reference in New Issue
Block a user