diff --git a/data/System/FindElsewherePlugin.txt b/data/System/FindElsewherePlugin.txt index 8e7e13d..2435017 100644 --- a/data/System/FindElsewherePlugin.txt +++ b/data/System/FindElsewherePlugin.txt @@ -80,7 +80,7 @@ __Compatibility__ ---++++ Enabling and disabling the plugin globally -You can enable or disable the %TOPIC% plugin sitewide (in %USERSWEB%.SitePreferences), per web (in WebPreferences) or pr. topic by defining DISABLELOOKELSEWHERE = 1. +You can enable or disable the %TOPIC% plugin sitewide (in %USERSWEB%.SitePreferences), per web (in WebPreferences) or per topic by defining DISABLELOOKELSEWHERE = 1. ---++++ Scope of the plugin - webs to find topics in diff --git a/lib/Foswiki/Plugins/FindElsewherePlugin.pm b/lib/Foswiki/Plugins/FindElsewherePlugin.pm index 1177e40..9cbba4b 100644 --- a/lib/Foswiki/Plugins/FindElsewherePlugin.pm +++ b/lib/Foswiki/Plugins/FindElsewherePlugin.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2002 Mike Barton, Marco Carnut, Peter HErnst +# Copyright (C) 2002 Mike Barton, Marco Carnut, Peter Hernst # (C) 2003 Martin Cleaver, (C) 2004 Matt Wilkie (C) 2007 Crawford Currie # (C) 2008 Foswiki Contributors # @@ -28,8 +28,8 @@ use vars qw( $NO_PREFS_IN_TOPIC = 1; -$RELEASE = '$Date: 2007-09-26 04:16:46 +1000 (Wed, 26 Sep 2007) $'; -$VERSION = '$Rev: 15055 $'; +$VERSION = '$Rev: $Rev$ $'; +$RELEASE = 'Foswiki-1.0.1' sub initPlugin { #my( $topic, $web, $user, $installWeb ) = @_; @@ -40,12 +40,10 @@ sub initPlugin { return 0; } - $disabled = - Foswiki::Func::getPreferencesFlag( "DISABLELOOKELSEWHERE" ); + $disabled = Foswiki::Func::getPreferencesFlag( "DISABLELOOKELSEWHERE" ); unless( defined( $disabled )) { # Compatibility, deprecated - $disabled = - Foswiki::Func::getPluginPreferencesFlag( "DISABLELOOKELSEWHERE" ); + $disabled = Foswiki::Func::getPluginPreferencesFlag( "DISABLELOOKELSEWHERE" ); } return !$disabled;