aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/mitemedit.tpl
blob: 5fb8f0a9ef910c61190365d2a440f4de66fc4265 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{if $header}}
<div class="section-title-wrapper">
	<h2>{{$header}}</h2>
</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" >

		<input type="hidden" name="menu_id" value="{{$menu_id}}" />

		{{if $mitem_id}}
		<input type="hidden" name="mitem_id" value="{{$mitem_id}}" />
		{{/if}}

		{{include file="field_input.tpl" field=$mitem_desc}}
		{{include file="field_input.tpl" field=$mitem_link}}
		{{include file="field_input.tpl" field=$mitem_order}}
		{{include file="field_checkbox.tpl" field=$usezid}}
		{{include file="field_checkbox.tpl" field=$newwin}}

		<div id="settings-default-perms" class="settings-default-perms form-group">
			<button class="btn btn-default btn-xs" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button>
			{{$aclselect}}
		</div>
		<div class="mitemedit-submit-wrapper" >
			{{if $submit_more}}
			<input type="submit" name="submit-more" class="mitemedit-submit" value="{{$submit_more}}" />
			{{/if}}
			<input type="submit" name="submit" class="mitemedit-submit" value="{{$submit}}" />
		</div>

	</form>
</div>