Ignore:
Timestamp:
2000-06-27T17:10:07+12:00 (24 years ago)
Author:
sjboddie
Message:

Caught up most general plugins (that's the ones in gsdlhome/perllib/plugins)
with changes to BasPlug so that they can all now use the new general plugin
options. Those I didn't do were FoxPlug (as it's not actually used anywhere
and I don't know what it does) and WebPlug (as it's kind of a work in
progress and doesn't really work anyway). All plugins will still work
(including all the collection specific ones that are laying around), some
of them just won't have access to the general options.
I also wrote a short perl script (pluginfo.pl) that prints out all the
options available to a given plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugin.pm

    r1243 r1244  
    5151    map { $_ = "\"$_\""; } @$pluginoptions;
    5252    my $options = join (",", @$pluginoptions);
     53    $options =~ s/\$/\\\$/g;
    5354    eval ("\$plugobj = new \$pluginname($options)");
    5455    die "$@" if $@;
Note: See TracChangeset for help on using the changeset viewer.