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