Changeset 831 for trunk/wiki.cgi

Show
Ignore:
Timestamp:
08/10/06 15:29:14 (2 years ago)
Author:
nick
Message:

Tweak display of un-moderated pages, and listings of them

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wiki.cgi

    r829 r831  
    393393    my @nodes = $wiki->list_unmoderated_nodes; 
    394394 
    395     # Build the moderate link 
     395    # Build the moderate links 
    396396    foreach my $node (@nodes) { 
    397397        my $node_param = 
    398398            uri_escape($formatter->node_name_to_node_param($node->{'name'})); 
    399399        $node->{'moderate_url'} = $script_url . "?action=moderate&id=".$node_param."&version=".$node->{'version'}; 
     400        $node->{'view_url'} = $script_url . "?id=".$node_param."&version=".$node->{'version'}; 
    400401        $node->{'diff_url'} = $script_url . "?id=".$node_param."&version=".$node->{'moderated_version'}."&diffversion=".$node->{'version'}; 
    401402    }