make menu creation for sys channel work

This commit is contained in:
Mario Vavti
2015-07-12 00:40:12 +02:00
parent 138e0fe445
commit d8f03450e7
4 changed files with 5 additions and 10 deletions

View File

@@ -137,7 +137,7 @@ function menu_content(&$a) {
$o = replace_macros(get_markup_template('menuedit.tpl'), array(
'$header' => t('Edit Menu'),
'$menu_id' => intval(argv(1)),
'$menu_edit_link' => 'mitem/' . intval(argv(1)) . (($a->is_sys) ? '?f=&sys=1' : ''),
'$hintedit' => t('Add or remove entries to this menu'),
'$editcontents' => t('Edit menu contents'),
'$menu_name' => array('menu_name', t('Menu name'), $m['menu_name'], t('Must be unique, only seen by you'), '*'),