diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-07-12 01:04:57 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-07-12 01:04:57 +0200 |
commit | f81874ca49a4a414b359a488b82fd4c274b24472 (patch) | |
tree | 7de4b290d58069adf5f3412d1acf57603608a170 /mod/mitem.php | |
parent | 6ca4240d96280f5fbc26f7f7f8b1372727014e88 (diff) | |
download | volse-hubzilla-f81874ca49a4a414b359a488b82fd4c274b24472.tar.gz volse-hubzilla-f81874ca49a4a414b359a488b82fd4c274b24472.tar.bz2 volse-hubzilla-f81874ca49a4a414b359a488b82fd4c274b24472.zip |
fix sys channel menu in a morre standard way
Diffstat (limited to 'mod/mitem.php')
-rw-r--r-- | mod/mitem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mitem.php b/mod/mitem.php index e3341f5de..ee2de1cf8 100644 --- a/mod/mitem.php +++ b/mod/mitem.php @@ -149,7 +149,6 @@ function mitem_content(&$a) { $create = replace_macros(get_markup_template('mitemedit.tpl'), array( '$menu_id' => $a->data['menu']['menu_id'], - '$action' => 'mitem/' . $a->data['menu']['menu_id'] . (($a->is_sys) ? '?f=&sys=1' : ''), '$permissions' => t('Menu Item Permissions'), '$permdesc' => t("\x28click to open/close\x29"), '$aclselect' => populate_acl($perm_defaults,false), @@ -162,7 +161,8 @@ function mitem_content(&$a) { '$submit_more' => t('Submit and continue'), '$display' => $display, '$lockstate' => $lockstate, - '$menu_names' => $menu_names + '$menu_names' => $menu_names, + '$sys' => $a->is_sys )); $o .= replace_macros(get_markup_template('mitemlist.tpl'),array( |