{{include file="prettyphoto.tpl"}} {{if $pages}}
{{foreach $pages as $key => $items}} {{foreach $items as $item}}
{{$edit}} | {{$view}} {{$item.title}} | Preview
{{/foreach}} {{/foreach}}
{{/if}}