<?php
//v1.9  www.bcoos.net 2006/09 GPL 
//v1.8 www.exoops.info 2006/03
$modversion['name'] = _MI_CLA_NAME;
$modversion['version'] = 1.8;
$modversion['description'] = _MI_CLA_DESC;
$modversion['credits'] = "Pascal Le Boustouller";
$modversion['author'] = "http://www.perso-search.com/e-xoopsien/";
$modversion['license'] = "GPL";
$modversion['official'] = 0;
$modversion['dirname'] = "MyAnnonces";
// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";
// Blocks
$modversion['blocks'][1]['file'] = "annonces.php";
$modversion['blocks'][1]['name'] = _MB_CLA_TITLE;
$modversion['blocks'][1]['show_func'] = "annonces_show";
$modversion['blocks'][2]['file'] = "cat.php";
$modversion['blocks'][2]['name'] = _MB_CLA_CATEGORY2;
$modversion['blocks'][2]['show_func'] = "cat_show";
// Menu
$modversion['hasMain'] = 1;
// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "ann_annonces";
$modversion['tables'][1] = "ann_categories";
$modversion['tables'][2] = "ann_type";
$modversion['tables'][3] = "ann_prix";
// Search
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "ann_search";
// Waiting
$modversion['hasWaiting']     = 1;
$modversion['waiting']['file'] = "include/waiting.inc.php";
$modversion['waiting']['func'] = "ann_waiting";
?>