aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/webpagelist.tpl
blob: 4e1bc3d5709c5458e574c405ac2e7fd074b2970a (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
{{$listtitle}}
{{if $pages}}

	   <div id="pagelist-content-wrapper" class="generic-content-wrapper-styled">
		<table class="webpage-list-table">
		<tr><td>{{$actions_txt}}</td><td>{{$pagelink_txt}}</td><td>{{$title_txt}}</td><td>{{$created_txt}}</td><td>{{$edited_txt}}</td></tr>
		{{foreach $pages as $key => $items}} 
				{{foreach $items as $item}}
					<tr>
					<td>
					{{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}" class="btn btn-default"><i class="icon-pencil"></i></a> {{/if}}
					</td>
					<td>
					{{if $view}}<a href="page/{{$channel}}/{{$item.pagetitle}}" title="{{$view}}">{{$item.pagetitle}}</a>
					{{else}}{{$item.pagetitle}}
					{{/if}}
					</td>
					<td>
					{{$item.title}}
					</td>
					<td>
					{{$item.created}}
					</td>
					<td>
					{{$item.edited}}
					</td>
					</tr>
				{{/foreach}}
		{{/foreach}}

		</table>
	   </div>
	
	   <div class="clear"></div>

{{/if}}