aboutsummaryrefslogtreecommitdiffstats
path: root/mod/menu.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-11 16:30:06 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-11 16:30:06 -0700
commit3ec2dc81f242b03668e209cd83488bf9830a8af4 (patch)
treeb4e6357b4bab76e963b92618e8e001c5d86e920e /mod/menu.php
parent04c794da107751674c82e39ce45ee1fad726a987 (diff)
downloadvolse-hubzilla-3ec2dc81f242b03668e209cd83488bf9830a8af4.tar.gz
volse-hubzilla-3ec2dc81f242b03668e209cd83488bf9830a8af4.tar.bz2
volse-hubzilla-3ec2dc81f242b03668e209cd83488bf9830a8af4.zip
allow sys editing of menu
Diffstat (limited to 'mod/menu.php')
-rw-r--r--mod/menu.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/menu.php b/mod/menu.php
index 92ddf5a5f..7763c4ed1 100644
--- a/mod/menu.php
+++ b/mod/menu.php
@@ -137,6 +137,7 @@ function menu_content(&$a) {
$o = replace_macros(get_markup_template('menuedit.tpl'), array(
'$header' => t('Edit Menu'),
+ '$sys' => $a->is_sys,
'$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'),