Changeset 11493


Ignore:
Timestamp:
2006-03-27T15:05:21+12:00 (18 years ago)
Author:
kjdon
Message:

only add [img1], [img2] to the dummy text if assoc_images is on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/MP3Plug.pm

    r11305 r11493  
    336336    #create an empty text string so we don't break downstream plugins
    337337    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
    338     $text .= "[img1]<br>";
    339     $text .= "[img2]<br>";
    340 
     338    if ($self->{'assoc_images'}) {
     339    $text .= "[img1]<br>";
     340    $text .= "[img2]<br>";
     341    }
    341342    # include any metadata passed in from previous plugins
    342343    my $section = $doc_obj->get_top_section();
Note: See TracChangeset for help on using the changeset viewer.