Skip to content

Commit

Permalink
Item491: moved UserListByPhotograph into the ImageGalleryPlugin, as i…
Browse files Browse the repository at this point in the history
…t depends on this plugin (and also makes a nice little demo of it)

git-svn-id: http://svn.foswiki.org/trunk/ImageGalleryPlugin@1509 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Dec 22, 2008
1 parent 6c61b01 commit 6be1d48
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions data/Main/UserListByPhotograph.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
%META:TOPICINFO{author="ProjectContributor" date="1121218644" format="1.1" version="$Rev$"}%
---+ User List showing all photographs

%INCLUDE{"UserListHeader"}%

%IMAGEGALLERY{thumbtitle="[[$topic]]" topics="%SEARCH{"form.name='UserForm'" type="query" nonoise="on" separator="," format="$topic"}%" size="large" title="[[$topic]]"}%

If Foswiki:Extensions.ImageGalleryPlugin is installed this page will show photos and names of all registered users.
1 change: 1 addition & 0 deletions lib/TWiki/Plugins/ImageGalleryPlugin/MANIFEST
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
data/TWiki/ImageGalleryPlugin.txt 0644
data/Main/UserListByPhotograph.txt 0644
lib/TWiki/Plugins/ImageGalleryPlugin/Core.pm 0644
lib/TWiki/Plugins/ImageGalleryPlugin.pm 0644
pub/TWiki/ImageGalleryPlugin/navi.png 0644
Expand Down
4 changes: 2 additions & 2 deletions lib/TWiki/Plugins/ImageGalleryPlugin/build.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ BEGIN
}
}

use TWiki::Contrib::Build;
use Foswiki::Contrib::Build;

# Create the build object
$build = new TWiki::Contrib::Build( 'ImageGalleryPlugin' );
$build = new Foswiki::Contrib::Build( 'ImageGalleryPlugin' );

# Build the target on the command line, or the default target
$build->build($build->{target});
Expand Down

0 comments on commit 6be1d48

Please sign in to comment.