allow menu management even if there are no menu items
This commit is contained in:
parent
d194ee091a
commit
9ba6fd7d28
@ -111,8 +111,8 @@ function mitem_content(&$a) {
|
||||
local_user()
|
||||
);
|
||||
|
||||
if($r) {
|
||||
$o = replace_macros(get_markup_template('mitemlist.tpl'),array(
|
||||
|
||||
$o .= replace_macros(get_markup_template('mitemlist.tpl'),array(
|
||||
'$title' => t('Manage Menu Elements'),
|
||||
'$menuname' => $a->data['menu']['menu_name'],
|
||||
'$menudesc' => $a->data['menu']['menu_desc'],
|
||||
@ -128,7 +128,6 @@ function mitem_content(&$a) {
|
||||
'$hintedit' => t('Edit this menu item')
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
||||
|
@ -1 +1 @@
|
||||
2013-09-06.428
|
||||
2013-09-07.429
|
||||
|
Reference in New Issue
Block a user