![]() |
|---|
| [ Index ] |
Source Code Reference for V1.00 |
[Summary view] [Print] [Text view]
1 <?php /* $Id: setup.php 40 2008-02-11 12:11:44Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/modules/forums/setup.php $ */ 2 if (!defined('W2P_BASE_DIR')) { 3 die('You should not access this file directly.'); 4 } 5 6 /* 7 * Name: Forums 8 * Directory: forums 9 * Version: 1.0.0 10 * Class: core 11 * UI Name: Forums 12 * UI Icon: communicate.gif 13 */ 14 15 // MODULE CONFIGURATION DEFINITION 16 $config = array(); 17 $config['mod_name'] = 'Forums'; 18 $config['mod_version'] = '1.0.0'; 19 $config['mod_directory'] = 'forums'; 20 $config['mod_setup_class'] = 'CSetupForums'; 21 $config['mod_type'] = 'core'; 22 $config['mod_ui_name'] = 'Forums'; 23 $config['mod_ui_icon'] = 'communicate.gif'; 24 $config['mod_description'] = ''; 25 $config['mod_config'] = true; // show 'configure' link in viewmods 26 27 if ($a == 'setup') { 28 echo w2PshowModuleConfig($config); 29 } 30 31 class CSetupForums { 32 33 function configure() { // configure this module 34 global $AppUI; 35 $AppUI->redirect('m=forums&a=configure'); // load module specific configuration page 36 return true; 37 } 38 39 } 40 41 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Jan 9 03:00:02 2009 | Cross-referenced by PHPXref 0.7 |