Ignore:
Timestamp:
Aug 24, 2006, 4:45:37 PM (15 years ago)
Author:
nick
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Template.pm

    r785 r841  
    320320        summary                => $summary,
    321321    );
     322
     323    my $node_image = $args{metadata} ? $metadata{node_image}[0]
     324                                     : $q->param("node_image");
     325    if ($config->enable_node_image && $node_image) {
     326        $vars{node_image} = $node_image;
     327    }
    322328
    323329    if (exists $metadata{source}) {
Note: See TracChangeset for help on using the changeset viewer.