Changeset 8365
- Timestamp:
- 2004-10-18T16:08:56+13:00 (20 years ago)
- Location:
- trunk/gsdl/perllib/plugins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ImagePlug.pm
r8350 r8365 207 207 208 208 $doc_obj->add_metadata ($section, "srclink", 209 "<a href= _httpcollection_/index/assoc/[assocfilepath]/[Image]>");209 "<a href=\"_httpcollection_/index/assoc/[assocfilepath]/[Image]\">"); 210 210 $doc_obj->add_metadata ($section, "/srclink", "</a>"); 211 211 212 $doc_obj->add_metadata ($section, "srcicon", "<img src= _httpcollection_/index/assoc/[assocfilepath]/[Image]width=100>");212 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpcollection_/index/assoc/[assocfilepath]/[Image]\" width=100>"); 213 213 214 214 … … 239 239 $doc_obj->add_metadata ($section, "Thumb", "thumbnail.$thumbnailtype"); 240 240 241 $doc_obj->add_metadata ($section, "thumbicon", "<img src= _httpcollection_/index/assoc/[assocfilepath]/[Thumb]width=[ThumbWidth] height=[ThumbHeight]>");241 $doc_obj->add_metadata ($section, "thumbicon", "<img src=\"_httpcollection_/index/assoc/[assocfilepath]/[Thumb]\" width=[ThumbWidth] height=[ThumbHeight]>"); 242 242 } 243 243 … … 284 284 $doc_obj->add_metadata ($section, "Screen", "screenview.$screenviewtype"); 285 285 286 $doc_obj->add_metadata ($section, "screenicon", "<img src= _httpcollection_/index/assoc/[assocfilepath]/[Screen]width=[ScreenWidth] height=[ScreenHeight]>");286 $doc_obj->add_metadata ($section, "screenicon", "<img src=\"_httpcollection_/index/assoc/[assocfilepath]/[Screen]\" width=[ScreenWidth] height=[ScreenHeight]>"); 287 287 } else { 288 288 print $outhandle "ImagePlug: couldn't find \"$screenviewfilename\"\n"; -
trunk/gsdl/perllib/plugins/MP3Plug.pm
r8166 r8365 230 230 231 231 $doc_obj->add_metadata ($section, "srclink", 232 "<a href= _httpcollection_/index/assoc/[assocfilepath]/[srcurl]>");233 $doc_obj->add_metadata ($section, "srcicon", "<img src= _httpimg_/mp3icon.gif>");232 "<a href=\"_httpcollection_/index/assoc/[assocfilepath]/[srcurl]\">"); 233 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpimg_/mp3icon.gif\">"); 234 234 $doc_obj->add_metadata ($section, "/srclink", "</a>"); 235 235 … … 269 269 my $gi_query_url = gi_query_url(\@search_terms); 270 270 271 $doc_obj->add_metadata ($section, "giquery", "<a href= $gi_base$gi_query_urltarget=giwindow>");271 $doc_obj->add_metadata ($section, "giquery", "<a href=\"$gi_base$gi_query_url\" target=giwindow>"); 272 272 $doc_obj->add_metadata ($section, "/giquery", "</a>"); 273 273 … … 288 288 my $imgref_url = $imgref_urls->[$i-1]; 289 289 290 $doc_obj->add_metadata ($section, "imgref$i", "<a href= $imgref_urltarget=giwindow>");290 $doc_obj->add_metadata ($section, "imgref$i", "<a href=\"$imgref_url\" target=giwindow>"); 291 291 $doc_obj->add_metadata ($section, "/imgref$i", "</a>"); 292 292 } -
trunk/gsdl/perllib/plugins/OggVorbisPlug.pm
r8138 r8365 147 147 # srclink 148 148 $doc_obj->add_metadata ($section, "FileFormat", "OggVorbis"); 149 $doc_obj->add_metadata ($section, "srclink", "<a href= _httpcollection_/index/assoc/[assocfilepath]/[Source]>");149 $doc_obj->add_metadata ($section, "srclink", "<a href=\"_httpcollection_/index/assoc/[assocfilepath]/[Source]\">"); 150 150 $doc_obj->add_metadata ($section, "/srclink", "</a>"); 151 151 # srcicon (need to include "ogg.png" in the greenstone images directory 152 $doc_obj->add_metadata ($section, "srcicon", "<img src= _httpprefix_/images/ogg.pngtitle=\"Download\" border=0>");152 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/images/ogg.png\" title=\"Download\" border=0>"); 153 153 154 154 # Add the actual file as an associated file -
trunk/gsdl/perllib/plugins/PagedImgPlug.pm
r8246 r8365 329 329 if ($top) { 330 330 $doc_obj->add_metadata ($section, "srclink", 331 "<a href= _httpcollection_/index/assoc/[assocfilepath]/[Image]>");332 $doc_obj->add_metadata ($section, "srcicon", "<img src= _httpcollection_/index/assoc/[assocfilepath]/[Image]>");331 "<a href=\"_httpcollection_/index/assoc/[assocfilepath]/[Image]\">"); 332 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpcollection_/index/assoc/[assocfilepath]/[Image]\">"); 333 333 334 334 } else { 335 335 $doc_obj->add_metadata ($section, "srclink", 336 "<a href= _httpcollection_/index/assoc/[parent:assocfilepath]/[Image]>");337 $doc_obj->add_metadata ($section, "srcicon", "<img src= _httpcollection_/index/assoc/[parent:assocfilepath]/[Image]>");336 "<a href=\"_httpcollection_/index/assoc/[parent:assocfilepath]/[Image]\">"); 337 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpcollection_/index/assoc/[parent:assocfilepath]/[Image]\">"); 338 338 339 339 } … … 374 374 $doc_obj->add_metadata ($section, "Thumb", $id."thumb.$thumbnailtype"); 375 375 376 $doc_obj->add_metadata ($section, "thumbicon", "<img src= _httpcollection_/index/assoc/[parent:assocfilepath]/[Thumb]width=[ThumbWidth] height=[ThumbHeight]>");376 $doc_obj->add_metadata ($section, "thumbicon", "<img src=\"_httpcollection_/index/assoc/[parent:assocfilepath]/[Thumb]\" width=[ThumbWidth] height=[ThumbHeight]>"); 377 377 } 378 378 … … 428 428 429 429 if ($top) { 430 $doc_obj->add_metadata ($section, "screenicon", "<img src= _httpcollection_/index/assoc/[assocfilepath]/[Screen]width=[ScreenWidth] height=[ScreenHeight]>");430 $doc_obj->add_metadata ($section, "screenicon", "<img src=\"_httpcollection_/index/assoc/[assocfilepath]/[Screen]\" width=[ScreenWidth] height=[ScreenHeight]>"); 431 431 } else { 432 $doc_obj->add_metadata ($section, "screenicon", "<img src= _httpcollection_/index/assoc/{If}{[parent:assocfilepath],[parent:assocfilepath],[assocfilepath]}/[Screen]width=[ScreenWidth] height=[ScreenHeight]>");432 $doc_obj->add_metadata ($section, "screenicon", "<img src=\"_httpcollection_/index/assoc/{If}{[parent:assocfilepath],[parent:assocfilepath],[assocfilepath]}/[Screen]\" width=[ScreenWidth] height=[ScreenHeight]>"); 433 433 434 434 } -
trunk/gsdl/perllib/plugins/UnknownPlug.pm
r8315 r8365 146 146 147 147 $doc_obj->add_metadata ($section, "srclink", 148 "<a href= _httpcollection_/index/assoc/[assocfilepath]/[$assoc_field]>");148 "<a href=\"_httpcollection_/index/assoc/[assocfilepath]/[$assoc_field]\">"); 149 149 $doc_obj->add_metadata ($section, "srcicon", "_iconunknown_"); 150 150 $doc_obj->add_metadata ($section, "/srclink", "</a>");
Note:
See TracChangeset
for help on using the changeset viewer.