<?php
$modversion['name'] = _MI_POLLS_NAME;
$modversion['version'] = 1.00;
$modversion['description'] = _MI_POLLS_DESC;
$modversion['author'] = "Kazumi Ono<br />( http://www.myweb.ne.jp/ )";
$modversion['credits'] = "The XOOPS Project";
$modversion['help'] = "xoopspoll.html";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "xoopspoll_slogo.jpg";
$modversion['dirname'] = "xoopspoll";

// 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] = "xoopspoll_option";
$modversion['tables'][1] = "xoopspoll_desc";
$modversion['tables'][2] = "xoopspollcomments";
$modversion['tables'][3] = "xoopspoll_log";

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

//Blocks
$modversion['blocks'][1]['file'] = "xoopspoll.php";
$modversion['blocks'][1]['name'] = _MI_POLLS_BNAME1;
$modversion['blocks'][1]['description'] = "Shows unlimited number of polls/surveys";
$modversion['blocks'][1]['show_func'] = "b_xoopspoll_show";

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