<?php
//  ------------------------------------------------------------------------ //
// 本模組由 tad 製作
// 製作日期：2008-03-23
// $Id: xoops_version.php,v 1.2 2008/04/03 02:56:47 tad Exp $
// ------------------------------------------------------------------------- //

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

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

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

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


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

$modversion['templates'][1]['file'] = 'index_tpl.html';
$modversion['templates'][1]['description'] = _MI_TADGAL_TEMPLATE_DESC1;

//---區塊設定---//

$modversion['blocks'][4]['file'] = "tadgallery_jquery.php";
$modversion['blocks'][4]['name'] = _MI_TADGAL_BNAME4;
$modversion['blocks'][4]['description'] = _MI_TADGAL_BDESC4;
$modversion['blocks'][4]['show_func'] = "tadgallery_jquery_show";
$modversion['blocks'][4]['template'] = "tadgallery_jquery.html";
$modversion['blocks'][4]['edit_func'] = "tadgallery_jquery_edit";
$modversion['blocks'][4]['options'] = "";

$modversion['blocks'][1]['file'] = "tadgallery_carousel.php";
$modversion['blocks'][1]['name'] = _MI_TADGAL_BNAME1;
$modversion['blocks'][1]['description'] = _MI_TADGAL_BDESC1;
$modversion['blocks'][1]['show_func'] = "tadgallery_carousel_show";
$modversion['blocks'][1]['template'] = "tadgallery_carousel.html";
$modversion['blocks'][1]['edit_func'] = "tadgallery_carousel_edit";
$modversion['blocks'][1]['options'] = "10||order by rand()";

$modversion['blocks'][2]['file'] = "tadgallery_shuffle.php";
$modversion['blocks'][2]['name'] = _MI_TADGAL_BNAME2;
$modversion['blocks'][2]['description'] = _MI_TADGAL_BDESC2;
$modversion['blocks'][2]['show_func'] = "tadgallery_shuffle_show";
$modversion['blocks'][2]['template'] = "tadgallery_shuffle.html";
$modversion['blocks'][2]['edit_func'] = "tadgallery_shuffle_edit";
$modversion['blocks'][2]['options'] = "10||order by rand()";

$modversion['blocks'][3]['file'] = "tadgallery_show.php";
$modversion['blocks'][3]['name'] = _MI_TADGAL_BNAME3;
$modversion['blocks'][3]['description'] = _MI_TADGAL_BDESC3;
$modversion['blocks'][3]['show_func'] = "tadgallery_show";
$modversion['blocks'][3]['template'] = "tadgallery_show.html";
$modversion['blocks'][3]['edit_func'] = "tadgallery_edit";
$modversion['blocks'][3]['options'] = "10||order by rand()|150|111|s";

$modversion['blocks'][5]['file'] = "tadgallery_good.php";
$modversion['blocks'][5]['name'] = _MI_TADGAL_BNAME5;
$modversion['blocks'][5]['description'] = _MI_TADGAL_BDESC5;
$modversion['blocks'][5]['show_func'] = "tadgallery_good_show";
$modversion['blocks'][5]['template'] = "tadgallery_good.html";
$modversion['blocks'][5]['edit_func'] = "tadgallery_good_edit";
$modversion['blocks'][5]['options'] = "10|order by rand()|180|200|s|jscroller2_up|40";

//---偏好設定---//
$modversion['config'][0]['name']	= 'thumbnail_s_width';
$modversion['config'][0]['title']	= '_MI_TADGAL_THUMBNAIL_S_WIDTH';
$modversion['config'][0]['description']	= '_MI_TADGAL_THUMBNAIL_S_WIDTH_DESC';
$modversion['config'][0]['formtype']	= 'textbox';
$modversion['config'][0]['valuetype']	= 'text';
$modversion['config'][0]['default']	= '140';

$modversion['config'][1]['name']	= 'thumbnail_m_width';
$modversion['config'][1]['title']	= '_MI_TADGAL_THUMBNAIL_M_WIDTH';
$modversion['config'][1]['description']	= '_MI_TADGAL_THUMBNAIL_M_WIDTH_DESC';
$modversion['config'][1]['formtype']	= 'textbox';
$modversion['config'][1]['valuetype']	= 'text';
$modversion['config'][1]['default']	= '550';

$modversion['config'][2]['name']	= 'thumbnail_b_width';
$modversion['config'][2]['title']	= '_MI_TADGAL_THUMBNAIL_B_WIDTH';
$modversion['config'][2]['description']	= '_MI_TADGAL_THUMBNAIL_B_WIDTH_DESC';
$modversion['config'][2]['formtype']	= 'textbox';
$modversion['config'][2]['valuetype']	= 'text';
$modversion['config'][2]['default']	= '0';

$modversion['config'][3]['name']	= 'thumbnail_mode';
$modversion['config'][3]['title']	= '_MI_TADGAL_THUMBNAIL_MODE';
$modversion['config'][3]['description']	= '_MI_TADGAL_THUMBNAIL_MODE_DESC';
$modversion['config'][3]['formtype']	= 'select';
$modversion['config'][3]['valuetype']	= 'text';
$modversion['config'][3]['default']	= 'instant';
$modversion['config'][3]['options']	= array('instant' => 'instant','slided' => 'slided','edge' => 'edge','curved' =>  'curved');
?>