<?php
// $Id: xoops_version.php,v 1.1 2004/07/11 10:28:18 Farsus Exp $
// -------------------------------------------------------------------------//
//			                 RUNCMS                                         //
//                                                                          //
//	 reliable - Unique - Nocost &  Simplicity & ease off use                //
//                       < http://www.runcms.org >                          //
// -------------------------------------------------------------------------//

// ------------------------------------------------------------------------- //
// Info
$modversion['name']        = _MI_MYDOWNLOADS_NAME;
$modversion['version']     = 1.02;
$modversion['description'] = _MI_MYDOWNLOADS_DESC;
$modversion['credits']     = 'Modified by wanderer<br />( http://www.mpn-tw.com/ ) <br />Based on MyLinks by Kazumi Ono<br />( http://www.mywebaddons.com/ )<br />The XOOPS Project';
$modversion['license']     = 'GPL: See /manual/LICENSES/GPL.txt';
$modversion['official']    = 1;

// ------------------------------------------------------------------------- //
// Base Info
$modversion['image']       = 'images/mydownloads_slogo.gif';
$modversion['dirname']     = 'mydownloads';

// ------------------------------------------------------------------------- //
// SQL
$modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
$modversion['tables'][0] = 'mydownloads_broken';
$modversion['tables'][1] = 'mydownloads_cat';
$modversion['tables'][2] = 'mydownloads_downloads';
$modversion['tables'][3] = 'mydownloads_mod';
$modversion['tables'][4] = 'mydownloads_votedata';

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

// ------------------------------------------------------------------------- //
// Blocks
$modversion['blocks'][1]['file']        = 'mydownloads_top.php';
$modversion['blocks'][1]['name']        = _MI_MYDOWNLOADS_BNAME1;
$modversion['blocks'][1]['description'] = 'Shows recently added donwload files';
$modversion['blocks'][1]['show_func']   = 'b_mydownloads_top_show';
$modversion['blocks'][1]['edit_func']   = 'b_mydownloads_top_edit';
$modversion['blocks'][1]['options']     = 'date|0|19|5|0';

$modversion['blocks'][2]['file']        = 'mydownloads_top.php';
$modversion['blocks'][2]['name']        = _MI_MYDOWNLOADS_BNAME2;
$modversion['blocks'][2]['description'] = 'Shows most downloaded files';
$modversion['blocks'][2]['show_func']   = 'b_mydownloads_top_show';
$modversion['blocks'][2]['edit_func']   = 'b_mydownloads_top_edit';
$modversion['blocks'][2]['options']     = 'hits|0|19|5|0';

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

$modversion['sub'][1]['name'] = _MI_MYDOWNLOADS_SMNAME1;
$modversion['sub'][1]['url']  = 'submit.php';

$modversion['sub'][2]['name'] = _MI_MYDOWNLOADS_SMNAME2;
$modversion['sub'][2]['url']  = 'topten.php?hit=1';

$modversion['sub'][3]['name'] = _MI_MYDOWNLOADS_SMNAME3;
$modversion['sub'][3]['url']  = 'topten.php?rate=1';

// ------------------------------------------------------------------------- //
// Search
$modversion['hasSearch']      = 1;
$modversion['search']['file'] = 'include/search.inc.php';
$modversion['search']['func'] = 'mydownloads_search';

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