############################################################################### # ModList.pm # # $Date: 10.03.13 $ # ############################################################################### # YaBB: Yet another Bulletin Board # # Open-Source Community Software for Webmasters # # Version: YaBB 2.5.41 # # Packaged: September 1, 2013 # # Distributed by: http://www.yabbforum.nz # # =========================================================================== # # Copyright (c) 2000-2013 YaBB (www.yabbforum.nz) - All Rights Reserved. # # Software by: The YaBB Development Team # # with assistance from the YaBB community. # ############################################################################### # use strict; use CGI::Carp qw(fatalsToBrowser); our $VERSION = '2.5.41'; $modlistpmver = 'YaBB 2.5.4 RC1 $Revision$'; my ($action); if ( $action eq 'detailedversion' ) { return 1; } sub ListMods { my @installed_mods = (); # You need to list your mod in this file for full compliance. # Add it in the following way: # $my_mod = "Name of Mod|Author|Description|Version|Date Released"; # push (@installed_mods, "$my_mod"); # It is reccomended that you do a "add before" on the end boardmod tag # This preserves the installation order. # Also note, you should pick a unique name instead of "$my_mod". # If your mod is called "SuperMod For Doing Cool Things" # You could use "$SuperMod_CoolThings" ### BOARDMOD ANCHOR ### ### END BOARDMOD ANCHOR ### our ( $yymain, %mod_list, $imagesdir, $yytitle ); my ( $action_area, $mod_text_list, $full_description ); $total_mods = @installed_mods; if ( !@installed_mods ) { $yymain .= qq~
| $admin_img{'prefimg'} $mod_list{'5'} |
|
$mod_list{'8'} $mod_list{'9'}
|
| $admin_img{'prefimg'} $mod_displayname $mod_list{'4'}: $mod_version |
| $mod_list{'2'}: $mod_author |
| $mod_desc |
|
$mod_list{'3'}: $mod_date
|
| $admin_img{'prefimg'} $mod_list{'5'} ($total_mods) | ||
| $mod_list{'1'} | $mod_list{'2'} | $mod_list{'4'} |