<?php
//v1.0.4 www.bcoos.net 2006/10 GPL
//v1.5  www.bcoos.net 2006/09 GPL 
//v1.4 www.exoops.info 2006/03 
$modversion['name']        = _MI_MYADRESSES_NAME;
$modversion['version']     = 1.4;
$modversion['author']      = "Shine aka Triangle. http://www.adoptietrefpunt.nl";
$modversion['description'] = _MI_MYADRESSES_DESC;
$modversion['credits']     = "Modified by Reintjan<br />( http://www.exoops-support.nl ) <br />Based on MyLinks by Kazumi Ono<br />( http://www.mywebaddons.com/ )<br />The XOOPS Project";
$modversion['license']     = "GPL see LICENSE";
$modversion['official']    = 1;
$modversion['dirname']     = "adresses";
// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
$modversion['tables'][0] = "adresses_broken";
$modversion['tables'][1] = "adresses_cat";
$modversion['tables'][2] = "adresses_adresses";
$modversion['tables'][3] = "adresses_mod";
$modversion['tables'][4] = "adresses_votedata";
// Admin things
$modversion['hasAdmin']   = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu']  = "admin/menu.php";
// Blocks
$modversion['blocks'][1]['file']        = "adresses_top.php";
$modversion['blocks'][1]['name']        = _MI_MYADRESSES_BNAME1;
$modversion['blocks'][1]['description'] = "Shows recently added adresses";
$modversion['blocks'][1]['show_func']   = "b_adresses_top_show";
$modversion['blocks'][1]['edit_func']   = "b_adresses_top_edit";
$modversion['blocks'][1]['options']     = "date|0|19|5|0";
$modversion['blocks'][2]['file']        = "adresses_top.php";
$modversion['blocks'][2]['name']        = _MI_MYADRESSES_BNAME2;
$modversion['blocks'][2]['description'] = "Shows most viewed adresses";
$modversion['blocks'][2]['show_func']   = "b_adresses_top_show";
$modversion['blocks'][2]['edit_func']   = "b_adresses_top_edit";
$modversion['blocks'][2]['options']     = "hits|0|19|5|0";
// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = "<img src=\"../../images/icons/".$bcoosConfig['iconset']."pen.gif\" alt=\"Submit\">";
$modversion['sub'][1]['url']  = "submit.php";
$modversion['sub'][2]['name'] = _POPULAR;
$modversion['sub'][2]['url']  = "topten.php?hit=1";
$modversion['sub'][3]['name'] = _TOPRATED;
$modversion['sub'][3]['url']  = "topten.php?rate=1";
// Search
$modversion['hasSearch']      = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "adresses_search";
// Waiting Rev3
$modversion['hasWaiting']     = 1;
$modversion['waiting']['file'] = 'include/waiting.inc.php';
$modversion['waiting']['func'] = 'adresses_waiting';
?>
