Changeset 841 for trunk/wiki.cgi

Show
Ignore:
Timestamp:
08/24/06 16:45:37 (2 years ago)
Author:
nick
Message:

Fix a typo, and support the node image for editing (but not yet display)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wiki.cgi

    r834 r841  
    265265        my %tt_vars = ( 
    266266            %tt_metadata_vars, 
     267            config                 => $config, 
    267268            content                => $q->escapeHTML($content), 
    268269            preview_html           => $wiki->format($content), 
    269270            preview_above_edit_box => get_cookie( "preview_above_edit_box" ), 
    270271            checksum               => $q->escapeHTML($checksum) 
    271     ); 
     272        ); 
    272273        process_template("edit_form.tt", $node, \%tt_vars); 
    273274    } else { 
    274275        my %node_data = $wiki->retrieve_node($node); 
    275276        my %tt_vars = ( checksum       => $node_data{checksum}, 
     277                        config         => $config, 
    276278                        new_content    => $content, 
    277279                        stored_content => $node_data{content} ); 
     
    313315                    checksum        => $q->escapeHTML($checksum), 
    314316                    %metadata_vars, 
    315             username        => $username, 
     317                    config          => $config, 
     318                    username        => $username, 
    316319                    edit_type       => $edit_type, 
    317320                    deter_robots    => 1,