Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item12583: Item13198: Fix default template in SlideShowPlugin
And revert to decimal version strings.
  • Loading branch information
gac410 committed Jan 10, 2015
1 parent dec104e commit 3b2273e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
18 changes: 10 additions & 8 deletions SlideShowPlugin/data/System/SlideShowPlugin.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1395043797" format="1.1" version="2"}%
%META:TOPICINFO{author="ProjectContributor" date="1420905056" format="1.1" version="1"}%
%META:TOPICPARENT{name="Plugins"}%
---+!! Slide Show Plugin

Expand Down Expand Up @@ -177,13 +177,15 @@ The part between the rulers defines the default format of a slide:
| Version: | %$VERSION% |
| Release: | %$RELEASE% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 28 Nov 2012: | 2.1.6: Foswikitask:Item11267: Convert to perl version strings. |
| 06 Apr 2012: | 2.1.5: Foswiki:Main.RichMorin documentation cleanup%BR%\
Foswikitask:Item11649: SlideShowPlugin un-necessarily breaks jquery widgets (TABPANES for eg are just blank). |
| 28 Aug 2011: | 2.1.4: URL encoding of query parameters did not include the parameter names |
| 11 Apr 2011: | 2.1.3: Version released with Foswiki 1.1.3. Only a minor change related to how the plugin is being upgraded |
| 24 Nov 2010: | 2.1.2: Changed the VarSLIDESHOWSTART so the example does not add to the TOC of the Macros listing |
| 12 Sep 2010: | 2.1.1: Restored default template to HTML table as the CSS one was unfinished and not at all showing what the plugin can do. Re-added the 20 empty lines after each slide so you do not see the next slide below. Changed from using cover to using skin so the left bar margin in pattern skin is not destroying the layout |
| 10 Jan 2014: (2.20) | Foswikitask:Item13198. Fully qualify default template topic.<br />\
Foswikitask:Item12583: Revert to simple decimal version strings. |
| 28 Nov 2012: (2.1.6) | Foswikitask:Item11267: Convert to perl version strings. |
| 06 Apr 2012: (2.1.5) | Foswiki:Main.RichMorin documentation cleanup%BR%\
Foswikitask:Item11649: SlideShowPlugin un-necessarily breaks jquery widgets (TABPANES for eg are just blank). |
| 28 Aug 2011: (2.1.4) | URL encoding of query parameters did not include the parameter names |
| 11 Apr 2011: (2.1.3) | Version released with Foswiki 1.1.3. Only a minor change related to how the plugin is being upgraded |
| 24 Nov 2010: (2.1.2) | Changed the VarSLIDESHOWSTART so the example does not add to the TOC of the Macros listing |
| 12 Sep 2010: (2.1.1) | Restored default template to HTML table as the CSS one was unfinished and not at all showing what the plugin can do. Re-added the 20 empty lines after each slide so you do not see the next slide below. Changed from using cover to using skin so the left bar margin in pattern skin is not destroying the layout |
| 31 Jul 2010: | Foswikitask:Item9415 - Documentation updates |
| 17 Jun 2009: | 2.0 Arthur Clemens: optimize to default template and CSS to make the plugin work with older templates. |
| 31 Mar 2009: | [[Foswiki:Main.GilmarSantosJr][GilmarSantosJr]]: [[Foswiki:Tasks/Item1401]] - Make it work in persistent environments |
Expand Down
4 changes: 2 additions & 2 deletions SlideShowPlugin/lib/Foswiki/Plugins/SlideShowPlugin.pm
Expand Up @@ -15,8 +15,8 @@ BEGIN {
}
}

use version; our $VERSION = version->declare("v2.2.0");
our $RELEASE = '2.2.0';
our $VERSION = 2.20;
our $RELEASE = '2.20';
our $SHORTDESCRIPTION =
'Create web based presentations based on topics with headings';
our $NO_PREFS_IN_TOPIC = 1;
Expand Down
Expand Up @@ -28,7 +28,7 @@ sub init {

$this->{defaultTemplateTopic} =
Foswiki::Func::getPreferencesValue("SLIDESHOWPLUGIN_TEMPLATE")
|| "SlideShowPlugin";
|| "$Foswiki::cfg{SystemWebName}.SlideShowPlugin";

my %params = Foswiki::Func::extractParameters($args);
$this->{params} = \%params;
Expand Down

0 comments on commit 3b2273e

Please sign in to comment.