Show
Ignore:
Timestamp:
10/22/08 13:35:20 (3 months ago)
Author:
dom
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/footer.tt

    r1204 r1243  
    1212<div id="footer"> 
    1313  [% BLOCK delete_link %] 
    14     [% IF enable_page_deletion AND NOT not_deletable %] 
     14    [% IF enable_page_deletion AND is_admin AND NOT not_deletable %] 
    1515      <div id="footer_delete_link"> 
    1616        <a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete page</a> (admins only)