Changeset 866


Ignore:
Timestamp:
Sep 14, 2006, 8:42:36 AM (15 years ago)
Author:
Dominic Hargreaves
Message:

Include deletion link in pending moderation page (closes #143)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/needing_moderation.tt

    r831 r866  
    1616     <td align="center">[% node.moderated_version %]</td>
    1717     <td><a href="[% node.moderate_url %]">Moderate this version</a>
     18         or <a href="[% node.delete_url %]">Delete this version</a>
    1819         or <a href="[% node.view_url %]">View this version</a>
    1920         or <a href="[% node.diff_url %]">See changes</a>
  • trunk/wiki.cgi

    r859 r866  
    409409        $node->{'view_url'} = $script_name . "?id=".$node_param."&version=".$node->{'version'};
    410410        $node->{'diff_url'} = $script_name . "?id=".$node_param."&version=".$node->{'moderated_version'}."&diffversion=".$node->{'version'};
     411        $node->{'delete_url'} = $script_name . "?action=delete;version=".$node->{'version'}.";id=".$node_param;
    411412    }
    412413
Note: See TracChangeset for help on using the changeset viewer.