- Timestamp:
- 2003-12-10T17:05:57+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/UnknownPlug.pm
r5924 r6214 136 136 # } 137 137 138 # Escape spaces in the filename139 $filename =~ s/ /%20/g;140 $ file=~ s/ /%20/g;138 # Add the image metadata 139 my $url = $file; 140 $url =~ s/ /%20/g; 141 141 142 142 # Add the file as an associated file ... … … 147 147 $doc_obj->associate_file($filename, $file, $mime_type, $section); 148 148 $doc_obj->add_metadata ($section, $assoc_field, $file); 149 150 151 $doc_obj->add_metadata ($section, "srclink", 152 "<a href=_httpcollection_/index/assoc/[assocfilepath]/[$assoc_field]>"); 153 $doc_obj->add_metadata ($section, "/srclink", "</a>"); 149 154 150 155 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.