<?php
 
$modversion['name'] = _MI_YOMI_NAME;
$modversion['version'] = 0.84;
$modversion['description'] = "Yomi-Search[XOOPS]";
$modversion['credits'] = "<a href='http://hypweb.net/'><b>\"Yomi-Search[XOOPS]\"</b></a><br />Based on <a href='http://sql.s28.xrea.com:8080/'>Yomi-Search[PHP]</a><br /><br /><b>\"Yomi-Search[PHP]\"</b><br />Baced on <a href='http://yomi.pekori.to/'>Yomi-Search Ver4.19</a>";
$modversion['author'] = "nao-pon <a href='http://hypweb.net/'>http://hypweb.net/</a>";
$modversion['help'] = "";
$modversion['license'] = "Consent is required";
$modversion['official'] = 1;

//管理画面アイコン好きなほうを選択
//オリジナルバージョン(ダサダサ)
//$modversion['image'] = "img/yomi_logo.gif";
//DAN さん作(XOOPS2風でかっこいい)[http://www.gameha.com/]
$modversion['image'] = "img/ys_slogo.png";

$modversion['dirname'] = "yomi";

// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/yomi.sql";

// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "yomi_key";
$modversion['tables'][1] = "yomi_log";
$modversion['tables'][2] = "yomi_rank";
$modversion['tables'][3] = "yomi_rev";
$modversion['tables'][4] = "yomi_votedata";
$modversion['tables'][5] = "yomi_comments";

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

// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_YOMI_REG;
$modversion['sub'][1]['url'] = "regist_ys.php?mode=new";
$modversion['sub'][2]['name'] = _MI_YOMI_NEW;
$modversion['sub'][2]['url'] = "?mode=new";
$modversion['sub'][3]['name'] = _MI_YOMI_RENEW;
$modversion['sub'][3]['url'] = "?mode=renew";
$modversion['sub'][4]['name'] = _MI_YOMI_RANK;
$modversion['sub'][4]['url'] = "rank.php";

// Search
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "xoops_search.inc.php";
$modversion['search']['func'] = "yomi_search";

// Blocks
$modversion['blocks'][1]['file'] = "yomi_block.php";
$modversion['blocks'][1]['name'] = _MI_YOMI_BNAME1;
$modversion['blocks'][1]['description'] = "Yomi-Search Category's";
$modversion['blocks'][1]['show_func'] = "b_yomi_show";
$modversion['blocks'][1]['edit_func'] = "b_yomi_edit";
$modversion['blocks'][1]['options'] = "2";

$modversion['blocks'][2]['file'] = "yomi_block.php";
$modversion['blocks'][2]['name'] = _MI_YOMI_BNAME2;
$modversion['blocks'][2]['description'] = "Yomi-Search Tops";
$modversion['blocks'][2]['show_func'] = "b_yomi_top";
$modversion['blocks'][2]['edit_func'] = "b_yomi_top_edit";
$modversion['blocks'][2]['options'] = "10|14";

$modversion['blocks'][3]['file'] = "yomi_block.php";
$modversion['blocks'][3]['name'] = _MI_YOMI_BNAME3;
$modversion['blocks'][3]['description'] = "Yomi-Search NewLinks";
$modversion['blocks'][3]['show_func'] = "b_yomi_new";
$modversion['blocks'][3]['edit_func'] = "b_yomi_new_edit";
$modversion['blocks'][3]['options'] = "10";
?>
