source: trunk/templates/navbar_this_page.tt @ 1243

Last change on this file since 1243 was 1243, checked in by Dominic Hargreaves, 13 years ago

Don't add delete links unless the user requests (fixes #159 - thanks bob)

File size: 828 bytes
Line 
1[% UNLESS not_editable %]
2  <div id="navbar_this_page">
3    <div class="navbar_group_title">This page:</div>
4    <ul>
5      <li><a class="edit_page_link" href="[% source_site or full_cgi_url %]?id=[% node_param %];action=edit">Edit this page</a></li>
6      <li><a href="[% full_cgi_url %]?action=show_backlinks;id=[% node_param %]">Show pages linking here</a></li>
7      [% IF version AND version > 1 %]
8        <li><a href="[% full_cgi_url %]?action=list_all_versions;id=[% node_param %]">List all revisions</a></li>
9      [% END %]
10      <li><a href="[% full_cgi_url %]?id=[% node_param %];format=rdf">RDF/XML version</a></li>
11      [% IF enable_page_deletion and is_admin %]
12        <li><a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete (admin only)</a></li>
13      [% END %]
14    </ul>
15  </div>
16[% END %]
Note: See TracBrowser for help on using the repository browser.