Revert rss20 to using $ENV{PATH_INFO} in self link.
[blosxom-plugins.git] / gavinc / plugin_list
blob59fb9d5459486b2bbbf13a3f73c923791f047a9a
1 # Blosxom Plugin: plugin_list
2 # Author(s): Gavin Carr <gavin@openfusion.com.au>
3 # Version: 0.001000
4 # Documentation: See the bottom of this file or type: perldoc plugin_list
6 package plugin_list;
8 use strict;
10 # --- Configuration variables -----
12 # None
14 # ---------------------------------
16 # Package variables
17 use vars qw( $list );
18 $list = '';
20 sub start { 1 }
22 sub head {
23   return unless @blosxom::plugins; 
24   $list = sprintf "<ul>\n%s</ul>\n", join('', map { "<li>$_</li>\n" } @blosxom::plugins);
29 __END__
31 =head1 NAME
33 plugin_list - blosxom plugin to produce an html list ($plugin_list::list) 
34 of loaded plugins
37 =head1 DESCRIPTION
39 plugin_list is a blosxom plugin to produce an html list ($plugin_list::list)
40 of loaded plugins.
43 =head1 USAGE
45 plugin_list has no particular ordering requirements.
48 =head1 SEE ALSO
50 Blosxom: http://blosxom.sourceforge.net/
53 =head1 AUTHOR
55 Gavin Carr <gavin@openfusion.com.au>, http://www.openfusion.net/
58 =head1 LICENSE
60 Copyright 2007, Gavin Carr.
62 This plugin is licensed under the same terms as blosxom itself i.e.
64 Permission is hereby granted, free of charge, to any person obtaining a
65 copy of this software and associated documentation files (the "Software"),
66 to deal in the Software without restriction, including without limitation
67 the rights to use, copy, modify, merge, publish, distribute, sublicense,
68 and/or sell copies of the Software, and to permit persons to whom the
69 Software is furnished to do so, subject to the following conditions:
71 The above copyright notice and this permission notice shall be included
72 in all copies or substantial portions of the Software.
74 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
77 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
78 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
79 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
80 OTHER DEALINGS IN THE SOFTWARE.
82 =cut
84 # vim:ft=perl:sw=4