aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menulist.tpl
blob: 71c2a89fb547a28a55a74523d7ee2f66fd705b82 (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
34
35
36
<div class="section-title-wrapper">
	<div class="pull-right">
		<button id="webpage-create-btn" class="btn btn-xs btn-success" onclick="openClose('menu-creator');"><i class="icon-edit"></i>&nbsp;{{$hintnew}}</button>
	</div>
	<h2>{{$title}}</h2>
	<div class="clear"></div>
</div>

{{$create}}

{{if $menus }}
<div id="menulist-content-wrapper" class="section-content-wrapper-np">
	<table id="menu-list-table">
		<tr>
			<th width="1%"></th>
			<th width="1%">{{$nametitle}}</th>
			<th width="94%">{{$desctitle}}</th>
			<th width="1%"></th>
			<th width="1%"></th>
			<th width="1%" class="hidden-xs">{{$created}}</th>
			<th width="1%" class="hidden-xs">{{$edited}}</th>
		</tr>
		{{foreach $menus as $m }}
		<tr id="menu-list-item-{{$m.menu_id}}">
			<td width="1%">{{if $m.bookmark}}<i class="icon-bookmark menu-list-tool" title="{{$bmark}}" ></i>{{/if}}</td>
			<td width="1%"><a href="mitem/{{$m.menu_id}}{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintcontent}}">{{$m.menu_name}}</a></td>
			<td width="94%">{{$m.menu_desc}}</td>
			<td width="1%" class="menu-list-tool"><a href="menu/{{$m.menu_id}}{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintedit}}"><i class="icon-pencil"></i></a></td>
			<td width="1%" class="menu-list-tool"><a href="#" title="{{$hintdrop}}"  onclick="dropItem('menu/{{$m.menu_id}}/drop{{if $sys}}?f=&sys=1{{/if}}', '#menu-list-item-{{$m.menu_id}}'); return false;"><i class="icon-trash drop-icons"></i></a></td>
			<td width="1%" class="hidden-xs">{{$m.menu_created}}</td>
			<td width="1%" class="hidden-xs">{{$m.menu_edited}}</td>
		</tr>
		{{/foreach}}
	</table>
</div>
{{/if}}