Changeset 15911 for gsdl/trunk/perllib
- Timestamp:
- 2008-06-09T13:12:28+12:00 (16 years ago)
- Location:
- gsdl/trunk/perllib/plugins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/MP3Plugin.pm
r15872 r15911 105 105 } 106 106 107 #whats this crap? 108 my $text = &gsprintf::lookup_string("{BasePlugin.dummy_text}",1); 107 my $text = &gsprintf::lookup_string("{BasePlugin.dummy_text}",1); 109 108 if ($self->{'assoc_images'}) { 110 109 $text .= "[img1]<br>"; … … 112 111 } 113 112 $doc_obj->add_utf8_text($doc_obj->get_top_section(), $text); 113 $doc_obj->add_metadata ($doc_obj->get_top_section(), "NoText", "1"); 114 114 115 115 } … … 188 188 $doc_obj->add_metadata ($section, $assoc_field, $assoc_name); 189 189 $doc_obj->add_metadata ($section, "srcurl", $assoc_url); 190 $doc_obj->add_metadata ($section, "NoText", "1");191 190 192 191 my $mp3_info = get_mp3info($filename); -
gsdl/trunk/perllib/plugins/OggVorbisPlugin.pm
r15872 r15911 130 130 $doc_obj->add_metadata ($top_section, "srcicon", "<img src=\"_httpprefix_/images/iogg.gif\" title=\"Download\" border=0>"); 131 131 132 # add NoText metadata which can be used to suppress the dummy text133 $ doc_obj->add_metadata ($top_section, "NoText", "1");132 # add dummy text and NoText metadata which can be used to suppress the dummy text 133 $self->add_dummy_text($doc_obj, $top_section); 134 134 135 135 # Add the actual file as an associated file -
gsdl/trunk/perllib/plugins/PagedImagePlugin.pm
r15905 r15911 547 547 # if we want a header page, we need to add some text into the top section, otherwise this section will become invisible 548 548 if ($self->{'headerpage'}) { 549 $ doc_obj->add_text($topsection, &gsprintf::lookup_string("{BasePlugin.dummy_text}"));549 $self->add_dummy_text($doc_obj, $topsection); 550 550 } 551 551
Note:
See TracChangeset
for help on using the changeset viewer.