aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-13 17:43:10 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-13 17:43:10 -0700
commit6916c1076cd238779a9653adce81eabda2b655ab (patch)
treeedaf7d6f86573c8f19b4d420496b59b0f6476a6f /view/tpl
parent69a4cf73a310b3df1f80460addb27acf1fea5f2b (diff)
parent86633bda48af77483a082d79c1bec7abc3febab3 (diff)
downloadvolse-hubzilla-6916c1076cd238779a9653adce81eabda2b655ab.tar.gz
volse-hubzilla-6916c1076cd238779a9653adce81eabda2b655ab.tar.bz2
volse-hubzilla-6916c1076cd238779a9653adce81eabda2b655ab.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/menuedit.tpl4
-rw-r--r--view/tpl/mitemedit.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/menuedit.tpl b/view/tpl/menuedit.tpl
index 0e5df2c47..5c8734ef7 100644
--- a/view/tpl/menuedit.tpl
+++ b/view/tpl/menuedit.tpl
@@ -1,9 +1,9 @@
{{if $header}}
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
- {{if $menu_id}}
+ {{if $menu_edit_link}}
<div class="pull-right">
- <a href="mitem/{{$menu_id}}" title="{{$hintedit}}" class="btn btn-xs btn-success"><i class="icon-edit"></i>&nbsp;{{$editcontents}}</a>
+ <a href="{{$menu_edit_link}}" title="{{$hintedit}}" class="btn btn-xs btn-success"><i class="icon-edit"></i>&nbsp;{{$editcontents}}</a>
</div>
{{/if}}
<h2>{{$header}}</h2>
diff --git a/view/tpl/mitemedit.tpl b/view/tpl/mitemedit.tpl
index 8715d6391..f9dc4e2cc 100644
--- a/view/tpl/mitemedit.tpl
+++ b/view/tpl/mitemedit.tpl
@@ -5,7 +5,7 @@
</div>
{{/if}}
<div id="menu-element-creator" class="section-content-tools-wrapper" style="display: {{$display}};">
- <form id="mitemedit" action="mitem/{{$menu_id}}{{if $mitem_id}}/{{$mitem_id}}{{/if}}" method="post" >
+ <form id="mitemedit" action="mitem/{{$menu_id}}{{if $mitem_id}}/{{$mitem_id}}{{/if}}{{if $sys}}?f=&sys=1{{/if}}" method="post" >
<input type="hidden" name="menu_id" value="{{$menu_id}}" />
{{if $mitem_id}}
<input type="hidden" name="mitem_id" value="{{$mitem_id}}" />