Changeset 1020


Ignore:
Timestamp:
2000-03-07T11:13:42+13:00 (24 years ago)
Author:
sjboddie
Message:

changed paths to collection images (again!)

Location:
trunk/gsdl/perllib/plugins
Files:
4 edited

Legend:

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

    r733 r1020  
    230230
    231231    if ($foundimage) {
    232     return "${front}_httpcollection_/archives/_thisOID_/${imagefile}${back}";
     232    return "${front}_httpdocimg_/${imagefile}${back}";
    233233    } else {
    234234    return "";
  • trunk/gsdl/perllib/plugins/GBHPlug.pm

    r973 r1020  
    211211
    212212    if ($foundimage) {
    213     return "${front}_httpcollimg_/_thisOID_/${imagefile}${back}";
     213    return "${front}_httpdocimg_/${imagefile}${back}";
    214214    } else {
    215215    return "";
  • trunk/gsdl/perllib/plugins/HBPlug.pm

    r1010 r1020  
    141141    # fix up the image links
    142142    $section =~ s/<img[^>]*?src=\"?([^\">]+)\"?[^>]*>/
    143     <center><img src=\"_httpcollimg_\/_thisOID_\/$1\"><\/center><br>/ig;
     143    <center><img src=\"_httpdocimg_\/$1\"><\/center><br>/ig;
    144144    $section =~ s/&lt;&lt;I&gt;&gt;\s*([^\.]+\.(png|jpg|gif))/
    145     <center><img src=\"_httpcollimg_\/_thisOID_\/$1\"><\/center><br>/ig;
     145    <center><img src=\"_httpdocimg_\/$1\"><\/center><br>/ig;
    146146
    147147    return $section;
     
    247247        # associate any files
    248248        map { $doc_obj->associate_file(&util::filename_cat ($base_dir, $file, $1), $1)
    249               if /_httpcollimg_\/_thisOID_\/([^\"]+)\"/; 0; }
    250              split (/(_httpcollimg_\/_thisOID_\/[^\"]+\")/, $sectiontext);
     249              if /_httpdocimg_\/([^\"]+)\"/; 0; }
     250             split (/(_httpdocimg_\/[^\"]+\")/, $sectiontext);
    251251
    252252        # add the text for this section
  • trunk/gsdl/perllib/plugins/HTMLPlug.pm

    r1010 r1020  
    270270    ($newname) = $filename =~ /([^\/\\]*)$/;
    271271    $doc_obj->associate_file($filename, $newname, undef, $section);
    272     return "_httpcollimg_/_thisOID_/$newname";
     272    return "_httpdocimg_/$newname";
    273273    }
    274274}
Note: See TracChangeset for help on using the changeset viewer.