<?php
$modversion['name'] = _CAL_ENDEVENT;
$modversion['version'] = '2.4 Beta';
$modversion['description'] = _CAL_ENDEVENT_DESC;
$modversion['credits'] = 'Nobse, bama webmaster@exoops.de';
$modversion['author'] = 'Nobse, bama webmaster@exoops.de';
$modversion['license'] = 'GPL LICENSE';
$modversion['official'] = 0;
$modversion['image'] = 'images/ecal_logo.gif';
$modversion['dirname'] = 'ecal';

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

// Blocks
$modversion['blocks'][1]['file'] = 'ecal.php';
$modversion['blocks'][1]['name'] = _CALENDEVENTRAND;
$modversion['blocks'][1]['show_func'] = 'ecal_rand';
$modversion['blocks'][2]['file'] = 'ecal.php';
$modversion['blocks'][2]['name'] = _CALENDEVENTWEEK;
$modversion['blocks'][2]['show_func'] = 'ecal_week';
$modversion['blocks'][3]['file'] = 'ecal.php';
$modversion['blocks'][3]['name'] = _CALENDEVENTMONTH;
$modversion['blocks'][3]['show_func'] = 'ecal_month';
$modversion['blocks'][4]['file'] = 'ecal.php';
$modversion['blocks'][4]['name'] = _CALENDEVENTTODAY;
$modversion['blocks'][4]['show_func'] = 'ecal_today';
$modversion['blocks'][5]['file'] = 'ecal.php';
$modversion['blocks'][5]['name'] = _CALENDEVENTNEXTN;
$modversion['blocks'][5]['show_func'] = 'ecal_nextn';
$modversion['blocks'][6]['file'] = 'ecal.php';
$modversion['blocks'][6]['name'] = _CALENDEVENTM;
$modversion['blocks'][6]['show_func'] = 'ecal_showm';
$modversion['blocks'][7]['file'] = 'userblock.php';
$modversion['blocks'][7]['name'] = _CALENDUSERLOC;
$modversion['blocks'][7]['show_func'] = 'ecal_userblockloc';
$modversion['blocks'][8]['file'] = 'userblock.php';
$modversion['blocks'][8]['name'] = _CALENDUSERCAT;
$modversion['blocks'][8]['show_func'] = 'ecal_userblockcat';

// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] =_ADD_EVENT;
$modversion['sub'][1]['url'] = 'addevent.php';

// Sql file 
$modversion['sqlfile']['mysql'] = 'sql/mysql.sql';

$modversion['tables'][0] = 'ecal';
$modversion['tables'][1] = 'ecal_cat';
$modversion['tables'][2] = 'ecal_location';
$modversion['tables'][3] = 'ecal_remind';
$modversion['tables'][4] = 'ecal_userblock';
$modversion['tables'][5] = 'ecal_teiln';

// Waiting
$modversion['hasWaiting']     = 1;
$modversion['waiting']['file'] = 'include/waiting.inc.php';
$modversion['waiting']['func'] = 'ecal_waiting';

?>