<?php
//  ------------------------------------------------------------------------ //
// 本模組由 tad 製作
// 製作日期：2008-02-28
// $Id: xoops_version.php,v 1.2 2008/05/14 01:22:58 tad Exp $
// ------------------------------------------------------------------------- //

//---基本設定---//
//模組名稱
$modversion['name'] = _MI_TADPLAYER_NAME;
//模組版次
$modversion['version']	= '1.2';
//模組作者
$modversion['author'] = '_MI_TADPLAYER_AUTHOR';
//模組說明
$modversion['description'] = _MI_TADPLAYER_DESC;
//模組授權者
$modversion['credits']	= "_MI_TADPLAYER_CREDITS";
//模組版權
$modversion['license']		= "GPL see LICENSE";
//模組是否為官方發佈1，非官方2
$modversion['official']		= 2;
//模組圖示
$modversion['image']		= "images/logo.png";
//模組目錄名稱
$modversion['dirname']		= "tad_player";

//---資料表架構---//
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
$modversion['tables'][1] = "tad_player_cate";
$modversion['tables'][2] = "tad_player";

//---管理介面設定---//
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";

//---使用者主選單設定---//
$modversion['hasMain'] = 1;


//---安裝設定---//
$modversion['onInstall'] = "include/onInstall.php";
$modversion['onUpdate'] = "include/onUpdate.php";
$modversion['onUninstall'] = "include/onUninstall.php";


//---評論設定---//
$modversion['hasComments'] = 1;
$modversion['comments']['pageName'] = 'play.php';
$modversion['comments']['itemName'] = 'psn';

//---搜尋設定---//
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.php";
$modversion['search']['func'] = "tad_player_search";

//---樣板設定---//

$modversion['templates'][1]['file'] = 'main_tpl.html';
$modversion['templates'][1]['description'] = _MI_TADPLAYER_TEMPLATE_DESC1;
$modversion['templates'][2]['file'] = 'play_tpl.html';
$modversion['templates'][2]['description'] = _MI_TADPLAYER_TEMPLATE_DESC2;

//---區塊設定---//
$modversion['blocks'][1]['file'] = "tad_player.php";
$modversion['blocks'][1]['name'] = _MI_TADPLAYER_BNAME1;
$modversion['blocks'][1]['description'] = _MI_TADPLAYER_BDESC1;
$modversion['blocks'][1]['show_func'] = "tad_player";
$modversion['blocks'][1]['template'] = "tad_player.html";
$modversion['blocks'][1]['edit_func'] = "tad_player_edit";
$modversion['blocks'][1]['options'] = "|320|240|0|true";

$modversion['blocks'][2]['file'] = "tad_new_media.php";
$modversion['blocks'][2]['name'] = _MI_TADPLAYER_BNAME2;
$modversion['blocks'][2]['description'] = _MI_TADPLAYER_BDESC2;
$modversion['blocks'][2]['show_func'] = "tad_new_media";
$modversion['blocks'][2]['template'] = "tad_new_media.html";
$modversion['blocks'][2]['edit_func'] = "tad_new_media_edit";
$modversion['blocks'][2]['options'] = "10";

$modversion['blocks'][3]['file'] = "tad_hot_media.php";
$modversion['blocks'][3]['name'] = _MI_TADPLAYER_BNAME3;
$modversion['blocks'][3]['description'] = _MI_TADPLAYER_BDESC3;
$modversion['blocks'][3]['show_func'] = "tad_player_b_show_3";
$modversion['blocks'][3]['template'] = "tad_hot_media.html";
$modversion['blocks'][3]['edit_func'] = "tad_tad_hot_media_edit";
$modversion['blocks'][3]['options'] = "10";

$modversion['blocks'][4]['file'] = "tad_play_list.php";
$modversion['blocks'][4]['name'] = _MI_TADPLAYER_BNAME4;
$modversion['blocks'][4]['description'] = _MI_TADPLAYER_BDESC4;
$modversion['blocks'][4]['show_func'] = "tad_player_play_list";
$modversion['blocks'][4]['template'] = "tad_play_list.html";
$modversion['blocks'][4]['edit_func'] = "tad_player_play_list_edit";
$modversion['blocks'][4]['options'] = "|160|120|0|100|true";


//---模組設定---//
$modversion['config'][15]['name']	= 'index_show_num';
$modversion['config'][15]['title']	= '_MI_TADPLAYER_SHOW_NUM';
$modversion['config'][15]['description']	= '_MI_TADPLAYER_SHOW_NUM_DESC';
$modversion['config'][15]['formtype']	= 'textbox';
$modversion['config'][15]['valuetype']	= 'int';
$modversion['config'][15]['default']	= '10';

$modversion['config'][16]['name']	= 'col_num';
$modversion['config'][16]['title']	= '_MI_TADPLAYER_COL_NUM';
$modversion['config'][16]['description']	= '_MI_TADPLAYER_COL_NUM_DESC';
$modversion['config'][16]['formtype']	= 'select';
$modversion['config'][16]['valuetype']	= 'int';
$modversion['config'][16]['default']	= '2';
$modversion['config'][16]['options']	= array('_MI_ONE_COL' => '1','_MI_TWO_COL' => '2');

$modversion['config'][1]['name']	= 'width';
$modversion['config'][1]['title']	= '_MI_TADPLAYER_WIDTH';
$modversion['config'][1]['description']	= '_MI_TADPLAYER_WIDTH_DESC';
$modversion['config'][1]['formtype']	= 'textbox';
$modversion['config'][1]['valuetype']	= 'int';
$modversion['config'][1]['default']	= 480;

$modversion['config'][2]['name']	= 'height';
$modversion['config'][2]['title']	= '_MI_TADPLAYER_HEIGHT';
$modversion['config'][2]['description']	= '_MI_TADPLAYER_HEIGHT_DESC';
$modversion['config'][2]['formtype']	= 'textbox';
$modversion['config'][2]['valuetype']	= 'int';
$modversion['config'][2]['default']	= 360;

$modversion['config'][3]['name']	= 'display';
$modversion['config'][3]['title']	= '_MI_TADPLAYER_DISPLAY';
$modversion['config'][3]['description']	= '_MI_TADPLAYER_DISPLAY_DESC';
$modversion['config'][3]['formtype']	= 'select';
$modversion['config'][3]['valuetype']	= 'text';
$modversion['config'][3]['default']	= 'bottom';
$modversion['config'][3]['options']	= array('_MI_TADPLAYER_DISPLAY_BOTTOM' => 'bottom','_MI_TADPLAYER_DISPLAY_RIGHT' => 'right');

$modversion['config'][4]['name']	= 'display_max';
$modversion['config'][4]['title']	= '_MI_TADPLAYER_DISPLAY_MAX';
$modversion['config'][4]['description']	= '_MI_TADPLAYER_DISPLAY_MAX_DESC';
$modversion['config'][4]['formtype']	= 'textbox';
$modversion['config'][4]['valuetype']	= 'int';
$modversion['config'][4]['default']	= 200;

$modversion['config'][5]['name']	= 'download';
$modversion['config'][5]['title']	= '_MI_TADPLAYER_DOWNLOAD';
$modversion['config'][5]['description']	= '_MI_TADPLAYER_DOWNLOAD_DESC';
$modversion['config'][5]['formtype']	= 'yesno';
$modversion['config'][5]['valuetype']	= 'int';
$modversion['config'][5]['default']	= '0';

$modversion['config'][6]['name']	= 'prevent_hotlinking';
$modversion['config'][6]['title']	= '_MI_TADPLAYER_P_HOTLINKING';
$modversion['config'][6]['description']	= '_MI_TADPLAYER_P_HOTLINKING_DESC';
$modversion['config'][6]['formtype']	= 'yesno';
$modversion['config'][6]['valuetype']	= 'int';
$modversion['config'][6]['default']	= '0';

$modversion['config'][7]['name']	= 'allow_hotlinking';
$modversion['config'][7]['title']	= '_MI_TADPLAYER_ALLOW_HOTLINKING';
$modversion['config'][7]['description']	= '_MI_TADPLAYER_ALLOW_HOTLINKING_DESC';
$modversion['config'][7]['formtype']	= 'textarea';
$modversion['config'][7]['valuetype']	= 'text';
$modversion['config'][7]['default']	= '';

$modversion['config'][8]['name']	= 'show_code';
$modversion['config'][8]['title']	= '_MI_TADPLAYER_SHOW_CODE';
$modversion['config'][8]['description']	= '_MI_TADPLAYER_SHOW_CODE_DESC';
$modversion['config'][8]['formtype']	= 'group_multi';
$modversion['config'][8]['valuetype']	= 'array';
$modversion['config'][8]['default']	= '';

$modversion['config'][9]['name']	= 'backcolor';
$modversion['config'][9]['title']	= '_MI_TADPLAYER_BACKCOLOR';
$modversion['config'][9]['description']	= '_MI_TADPLAYER_BACKCOLOR_DESC';
$modversion['config'][9]['formtype']	= 'textbox';
$modversion['config'][9]['valuetype']	= 'text';
$modversion['config'][9]['default']	= '#000000';


$modversion['config'][10]['name']	= 'frontcolor';
$modversion['config'][10]['title']	= '_MI_TADPLAYER_FONTCOLOR';
$modversion['config'][10]['description']	= '_MI_TADPLAYER_FONTCOLOR_DESC';
$modversion['config'][10]['formtype']	= 'textbox';
$modversion['config'][10]['valuetype']	= 'text';
$modversion['config'][10]['default']	= '#FFFFFF';


$modversion['config'][11]['name']	= 'lightcolor';
$modversion['config'][11]['title']	= '_MI_TADPLAYER_LIGHTCOLOR';
$modversion['config'][11]['description']	= '_MI_TADPLAYER_LIGHTCOLOR_DESC';
$modversion['config'][11]['formtype']	= 'textbox';
$modversion['config'][11]['valuetype']	= 'text';
$modversion['config'][11]['default']	= '#FFFF00';


$modversion['config'][12]['name']	= 'screencolor';
$modversion['config'][12]['title']	= '_MI_TADPLAYER_SCREENCOLOR';
$modversion['config'][12]['description']	= '_MI_TADPLAYER_SCREENCOLOR_DESC';
$modversion['config'][12]['formtype']	= 'textbox';
$modversion['config'][12]['valuetype']	= 'text';
$modversion['config'][12]['default']	= '#FCFCFC';


$modversion['config'][13]['name']	= 'show_border';
$modversion['config'][13]['title']	= '_MI_TADPLAYER_SHOW_BORDER';
$modversion['config'][13]['description']	= '_MI_TADPLAYER_SHOW_BORDER_DESC';
$modversion['config'][13]['formtype']	= 'yesno';
$modversion['config'][13]['valuetype']	= 'int';
$modversion['config'][13]['default']	= '1';

$modversion['config'][14]['name']	= 'border_color';
$modversion['config'][14]['title']	= '_MI_TADPLAYER_BORDER_COLOR';
$modversion['config'][14]['description']	= '_MI_TADPLAYER_BORDER_COLOR_DESC';
$modversion['config'][14]['formtype']	= 'textbox';
$modversion['config'][14]['valuetype']	= 'text';
$modversion['config'][14]['default']	= '#FFFFFF';


$modversion['config'][17]['name']	= 'index_mode';
$modversion['config'][17]['title']	= '_MI_TADPLAYER_INDEX_MODE';
$modversion['config'][17]['description']	= '_MI_TADPLAYER_INDEX_MODE_DESC';
$modversion['config'][17]['formtype']	= 'select';
$modversion['config'][17]['valuetype']	= 'text';
$modversion['config'][17]['default']	= 'index';
$modversion['config'][17]['options']	= array('_MI_TADPLAYER_INDEX_MODE1' => 'index','_MI_TADPLAYER_INDEX_MODE2' => 'cate');
?>
