Changeset 3449 for trunk/TwistyPlugin/lib/Foswiki/Plugins/TwistyPlugin.pm
- Timestamp:
- 04/15/09 16:59:44 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TwistyPlugin/lib/Foswiki/Plugins/TwistyPlugin.pm
r3204 r3449 25 25 package Foswiki::Plugins::TwistyPlugin; 26 26 27 use Foswiki::Func ;28 use CGI::Cookie ;27 use Foswiki::Func (); 28 use CGI::Cookie (); 29 29 use strict; 30 30 31 31 use vars 32 qw( $VERSION $RELEASE $pluginName@modes $doneHeader $doneDefaults $twistyCount32 qw( @modes $doneHeader $doneDefaults $twistyCount 33 33 $prefMode $prefShowLink $prefHideLink $prefRemember); 34 34 35 # This should always be $Rev$ so that Foswiki can determine the checked-in 36 # status of the plugin. It is used by the build automation tools, so 37 # you should leave it alone. 38 $VERSION = '$Rev$'; 39 40 # This is a free-form string you can use to "name" your own plugin version. 41 # It is *not* used by the build automation tools, but is reported as part 42 # of the version number in PLUGINDESCRIPTIONS. 43 $RELEASE = '1.5.2'; 44 45 $pluginName = 'TwistyPlugin'; 35 our $VERSION = '$Rev$'; 36 37 our $RELEASE = '1.5.2'; 38 our $SHORTDESCRIPTION = 'Twisty section Javascript library to open/close content dynamically'; 39 our $NO_PREFS_IN_TOPIC = 1; 40 41 our $pluginName = 'TwistyPlugin'; 46 42 47 43 my $TWISTYPLUGIN_COOKIE_PREFIX = "TwistyPlugin_"; … … 86 82 Foswiki::Func::getPreferencesValue('TWISTYSHOWLINK') 87 83 || Foswiki::Func::getPluginPreferencesValue('TWISTYSHOWLINK') 88 || ' ';84 || '%MAKETEXT{"More..."}%'; 89 85 $prefHideLink = 90 86 Foswiki::Func::getPreferencesValue('TWISTYHIDELINK') 91 87 || Foswiki::Func::getPluginPreferencesValue('TWISTYHIDELINK') 92 || ' ';88 || '%MAKETEXT{"Close"}%'; 93 89 $prefRemember = 94 90 Foswiki::Func::getPreferencesValue('TWISTYREMEMBER')
Note: See TracChangeset
for help on using the changeset viewer.
