aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menuedit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/menuedit.tpl')
-rw-r--r--view/tpl/menuedit.tpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/view/tpl/menuedit.tpl b/view/tpl/menuedit.tpl
new file mode 100644
index 000000000..1ccfb3d68
--- /dev/null
+++ b/view/tpl/menuedit.tpl
@@ -0,0 +1,25 @@
+
+<h2>{{$header}}</h2>
+
+{{if $menu_id}}
+<a href="mitem/{{$menu_id}}" title="{{$hintedit}}">{{$editcontents}}</a>
+{{/if}}
+
+<form id="menuedit" action="menu{{if $menu_id}}/{{$menu_id}}{{/if}}" method="post" >
+
+{{if $menu_id}}
+<input type="hidden" name="menu_id" value="{{$menu_id}}" />
+{{/if}}
+{{if $menu_system}}
+<input type="hidden" name="menu_system" value="{{$menu_system}}" />
+{{/if}}
+
+
+{{include file="field_input.tpl" field=$menu_name}}
+{{include file="field_input.tpl" field=$menu_desc}}
+{{include file="field_checkbox.tpl" field=$menu_bookmark}}
+<div class="menuedit-submit-wrapper" >
+<input type="submit" name="submit" class="menuedit-submit" value="{{$submit}}" />
+</div>
+
+</form>