<?php
/*
 * Name:      Forums
 * Directory: forums
 * Version:   1.0.0
 * Class:     core
 * UI Name:   Forums
 * UI Icon:   communicate.gif
 */

// MODULE CONFIGURATION DEFINITION
$config = array();
$config['mod_name'] = 'Forums';
$config['mod_version'] = '1.0.0';
$config['mod_directory'] = 'forums';
$config['mod_setup_class'] = 'CSetupForums';
$config['mod_type'] = 'core';
$config['mod_ui_name'] = 'Forums';
$config['mod_ui_icon'] = 'communicate.gif';
$config['mod_description'] = '';
$config['mod_config'] = true;			// show 'configure' link in viewmods

if (@$a == 'setup') {
	echo dPshowModuleConfig( $config );
}

class CSetupForums {

	function configure() {		// configure this module
	global $AppUI;
		$AppUI->redirect( 'm=forums&a=configure' );	// load module specific configuration page
  		return true;
	}

}

?>
