Changeset 3449
- Timestamp:
- 04/15/09 16:59:44 (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
SpreadSheetPlugin/data/System/SpreadSheetPlugin.txt (modified) (1 diff)
-
SpreadSheetPlugin/lib/Foswiki/Plugins/SpreadSheetPlugin.pm (modified) (1 diff)
-
TwistyPlugin/data/System/TwistyPlugin.txt (modified) (1 diff)
-
TwistyPlugin/lib/Foswiki/Plugins/TwistyPlugin.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SpreadSheetPlugin/data/System/SpreadSheetPlugin.txt
r3448 r3449 740 740 741 741 <!-- 742 * Set SHORTDESCRIPTION = Add spreadsheet calculation like ="$SUM( $ABOVE() )"= to Foswiki tables and other topic text742 * Set SHORTDESCRIPTION = Add spreadsheet calculations like ="$SUM( $ABOVE() )"= to Foswiki tables and other topic text 743 743 --> 744 744 | *Preference* | *Meaning* | *Default* | -
trunk/SpreadSheetPlugin/lib/Foswiki/Plugins/SpreadSheetPlugin.pm
r3448 r3449 34 34 our $RELEASE = '29 Mar 2009'; 35 35 our $NO_PREFS_IN_TOPIC = 1; 36 our $SHORTDESCRIPTION = 'Add spreadsheet calculations like "$SUM($ABOVE())" to Foswiki tables and other topic text'; 36 37 37 38 $doInit = 0; -
trunk/TwistyPlugin/data/System/TwistyPlugin.txt
r3416 r3449 569 569 ---++ Plugin Settings 570 570 571 Plugin settings are stored as [[%SYSTEMWEB%.PreferenceSettings][preference settings]]. To reference 572 a plugin setting write ==%<nop><plugin>_<setting>%==, i.e. ==%<nop>TWISTYPLUGIN_SHORTDESCRIPTION%== 573 574 * Set TWISTYSHOWLINK = %MAKETEXT{"More..."}% 575 * For example: =More...= 576 * Set TWISTYHIDELINK = %MAKETEXT{"Close"}% 577 * For example: =Close= 578 * Set TWISTYMODE = 579 * Either =div= or =span=; =span= if nothing set 580 * Set TWISTYREMEMBER = 581 * Either =on= or =off=; default is not specified. If set to =on= all Twisty states will be stored in a FOSWIKIPREF cookie; if set to =off= the FOSWIKIPREF cookie will be cleared 582 571 You can override some default settings in the plugin by setting the following [[%SYSTEMWEB%.PreferenceSettings][preferences]]. 572 | *Preference* | *Meaning* | *Default* | 573 | =TWISTYSHOWLINK= | For example: =More...= | %MAKETEXT{"More..."}% | 574 | =TWISTYHIDELINK= | For example: =Close= | %MAKETEXT{"Close"}% | 575 | =TWISTYMODE= | Either =div= or =span= | =span= | 576 | =TWISTYREMEMBER= | Either =on= or =off=. If set to =on= all Twisty states will be stored in a FOSWIKIPREF cookie; if set to =off= the FOSWIKIPREF cookie will be cleared | not specified | 577 578 <!-- 583 579 * Set SHORTDESCRIPTION = Twisty section !JavaScript library to open/close content dynamically 584 * Set DEBUG = 0 580 --> 585 581 586 582 ---++ Plugin Installation Instructions 587 * Download the ZIP file from the Plugin web (see below) 588 * Unzip it in your Foswiki installation directory. Content: 589 | *File:* | *Description:* | 590 %$MANIFEST% 591 592 * Optionally, if it exists, run ==%TOPIC%_installer== to automatically check and install other Foswiki modules that this module depends on. You can also do this step manually. 593 * Alternatively, manually make sure the dependencies listed in the table below are resolved. 594 %$DEPENDECIES% 595 * Visit =configure= in your Foswiki installation, and enable the plugin in the {Plugins} section. 596 583 %$INSTALL_INSTRUCTIONS% 597 584 598 585 ---++ Plugin Info -
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.
