Skip to content

Commit

Permalink
Item13634: TreePlugin updates for foswiki 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Aug 25, 2015
1 parent b38b064 commit ebd5de8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 13 deletions.
10 changes: 10 additions & 0 deletions .gitignore
@@ -0,0 +1,10 @@
*,v
*,pfv
*.gz
/TreePlugin.md5
/TreePlugin.sha1
/TreePlugin.tgz
/TreePlugin.txt
/TreePlugin.zip
/TreePlugin_installer
/TreePlugin_installer.pl
30 changes: 20 additions & 10 deletions data/System/TreePlugin.txt
@@ -1,3 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1440477332" format="1.1" version="1"}%
%META:TOPICPARENT{name="Plugins"}%
---+!! Tree Plugin
<!--
Expand Down Expand Up @@ -68,16 +69,25 @@ Specify plug-in settings in =LocalSite.cfg=:

%$INSTALL_INSTRUCTIONS%

<div class="foswikiHelp">%X% in order to access the default icons used by this
extensions, your Apache configuration must enable access to the shared icons directory. (Actual
location may differ between linux versions)
<verbatim>
Alias /icons "/usr/share/apache2/icons"
</verbatim>
</div>

---++ Plugin Info

| Authors: | TWiki:Main.SlavaKozlov (alpha release), [[Foswiki:Main.StephaneLenclud][Stephane Lenclud]] (2006-2008) |
| Copyright : | Copyright (C) 2002 Slava Kozlov. All Rights Reserved. |
| Authors: | TWiki:Main.SlavaKozlov (alpha release), [[Foswiki:Main.StephaneLenclud][Stephane Lenclud]] (2006-2008), Fowiki Contributors (2008-2015) |
| Copyright &copy;: | Copyright &copy; 2002 Slava Kozlov. All Rights Reserved.<br /> Copyright &copy;: Foswiki Contributors (2008-2015) |
| License: | [[http://www.gnu.org/copyleft/gpl.html][GPL]] |
| Dependencies: | None |
| CPAN Dependencies: | none _(test package relies on Wiki:PerlUnit)_ |
| Version: | %$VERSION% |
| Release: | %$RELEASE% |
| Change History: | <!-- specify latest version first --> |
| 25 Aug 2015 | 1.92 - Remove copyright symbol from docs. Remove SVN revision numbering. |
| 27 Jan 2010 | 1.91 - Documentation tweaks. By [[Foswiki:Main.PaulHarvey]] |
| 11 Nov 2009 | 1.9 - Fixed version numbering for configure. By [[Foswiki:Main.IngoKappler][Ingo Kappler]] |
| 12 Dec 2008 | 1.8 - Foswiki port. By [[Foswiki:Main.StephaneLenclud][Stephane Lenclud]] |
Expand All @@ -104,11 +114,11 @@ Specify plug-in settings in =LocalSite.cfg=:

__Related Topics:__ %SYSTEMWEB%.DefaultPreferences, %USERSWEB%.SitePreferences, [[%SYSTEMWEB%.Plugins][Plugins]]

%META:FILEATTACHMENT{name="oT.gif" attr="h" autoattached="1" comment="" date="1158432770" path="oT.gif" size="879" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="I.gif" attr="h" autoattached="1" comment="" date="1158432770" path="I.gif" size="869" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="white.gif" attr="h" autoattached="1" comment="" date="1158432770" path="white.gif" size="56" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="pL.gif" attr="h" autoattached="1" comment="" date="1158432770" path="pL.gif" size="880" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="oL.gif" attr="h" autoattached="1" comment="" date="1158432770" path="oL.gif" size="874" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="L.gif" attr="h" autoattached="1" comment="" date="1158432770" path="L.gif" size="864" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="T.gif" attr="h" autoattached="1" comment="" date="1158432770" path="T.gif" size="873" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="pT.gif" attr="h" autoattached="1" comment="" date="1158432770" path="pT.gif" size="883" user="UnknownUser" version=""}%
%META:FILEATTACHMENT{name="oT.gif" attr="h" comment="" date="1440477332" size="879" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="I.gif" attr="h" comment="" date="1440477332" size="869" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="white.gif" attr="h" comment="" date="1440477332" size="56" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="pL.gif" attr="h" comment="" date="1440477332" size="880" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="oL.gif" attr="h" comment="" date="1440477332" size="874" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="L.gif" attr="h" comment="" date="1440477332" size="864" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="T.gif" attr="h" comment="" date="1440477332" size="873" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="pT.gif" attr="h" comment="" date="1440477332" size="883" user="ProjectContributor" version="1"}%
5 changes: 4 additions & 1 deletion data/System/TreePluginSamples.txt
@@ -1,5 +1,5 @@
%META:TOPICPARENT{name="TreePlugin"}%
%META:TOPICINFO{author="BaseUserMapping_333" date="1229284277" format="1.1" version="1.2"}%
%META:TOPICINFO{author="ProjectContributor" date="1440477332" format="1.1" version="1.2"}%
---+!! %SYSTEMWEB%.TreePlugin Samples

%TOC%
Expand Down Expand Up @@ -328,6 +328,9 @@ format="<table border=0 cellspacing=0 cellpadding=0><tr><td nowrap>
---+++ Folder trees

These are pretty ugly (the default relies on Apache icons). But if you need it...
<div class="foswikiHelp">%X% in order to access these icons, your Apache
configuration must enable access to the shared icons directory. See
[[TreePlugin#Plugin_Installation_Instructions]]</div>

<verbatim>
%TREEVIEW{topic="TreeTop" stoplevel="3"
Expand Down
5 changes: 3 additions & 2 deletions lib/Foswiki/Plugins/TreePlugin.pm
Expand Up @@ -3,6 +3,7 @@
#
# Copyright (C) 2002 Slava Kozlov,
# Copyright (C) 2006-2008 Stéphane Lenclud,
# Copyright (C) 2008-2015 Foswiki Contributors
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -42,8 +43,8 @@ use vars qw(
our $pluginName = 'TreePlugin';
our $SHORTDESCRIPTION =
"Renders topics' parent-child relationships as hierarchical tree view. Useful for dynamic site maps and threads.";
our $VERSION = '$Rev$';
our $RELEASE = '1.9.1';
our $VERSION = 1.92;
our $RELEASE = '1.92';
our $RootLabel =
"_RootLabel_"; # what we use to label the root of a tree if not a topic

Expand Down

0 comments on commit ebd5de8

Please sign in to comment.