<?php
$modversion['name'] = _MI_NEWBB_NAME;
$modversion['version'] = 1.00;
$modversion['description'] = _MI_NEWBB_DESC;
$modversion['credits'] = "Enhanced and Modularized into XOOPS by<br>Kazumi Ono<br>( http://www.mywebaddons.com/ )";
$modversion['author'] = "Original phpBB 1.4.4 by<br>The phpBB Group<br>( http://www.phpbb.com/ )<br>";
$modversion['help'] = "newbb.html";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "images/xoopsbb_slogo.gif";
$modversion['dirname'] = "newbb";

// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
//$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql";

// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "bb_categories";
$modversion['tables'][1] = "bb_forum_access";
$modversion['tables'][2] = "bb_forum_mods";
$modversion['tables'][3] = "bb_forums";
$modversion['tables'][4] = "bb_posts";
$modversion['tables'][5] = "bb_posts_text";
$modversion['tables'][6] = "bb_topics";


// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";

// Menu
$modversion['hasMain'] = 1;

// Blocks
$modversion['blocks'][1]['file'] = "newbb_new.php";
$modversion['blocks'][1]['name'] = _MI_NEWBB_BNAME1;
$modversion['blocks'][1]['description'] = "Shows recent topics in the forums";
$modversion['blocks'][1]['show_func'] = "b_newbb_new_show";
$modversion['blocks'][1]['options'] = "10|1";
$modversion['blocks'][1]['edit_func'] = "b_newbb_new_edit";

// Search
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "newbb_search";
?>