###############################################################################
# ManageBoards.pl #
###############################################################################
# YaBB: Yet another Bulletin Board #
# Open-Source Community Software for Webmasters #
# Version: YaBB 3.0 Beta #
# Packaged: October 05, 2010 #
# Distributed by: http://www.yabbforum.com #
# =========================================================================== #
# Copyright (c) 2000-2010 YaBB (www.yabbforum.com) - All Rights Reserved. #
# Software by: The YaBB Development Team #
# with assistance from the YaBB community. #
###############################################################################
$manageboardsplver = 'YaBB 3.0 Beta $Revision: 348 $';
if ($action eq 'detailedversion') { return 1; }
sub ManageBoards {
&is_admin_or_gmod;
&LoadBoardControl;
&get_forum_master;
if ($INFO{'action'} eq 'managecats') {
$colspan = qq~colspan="2"~;
$add = $admin_txt{'47'};
$act = 'catscreen';
$manage = qq~
$admin_txt{'49'}~;
$managedescr = $admin_txt{'678'};
$act2 = 'addcat';
$action_area = 'managecats';
} else {
$colspan = qq~colspan="4"~;
$add = $admin_txt{'50'};
$act = 'boardscreen';
$manage = qq~
$admin_txt{'51'}~;
$managedescr = $admin_txt{'677'};
$act2 = 'addboard';
$action_area = 'manageboards';
}
$yymain .= qq~