<?php
//  ------------------------------------------------------------------------ //
// 本模組由 tad 製作
// 製作日期：2008-06-25
// $Id: function.php,v 1.1 2008/05/14 01:22:08 tad Exp $
// ------------------------------------------------------------------------- //

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

//---資料表架構---//
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
$modversion['tables'][1] = "tad_form_col";
$modversion['tables'][2] = "tad_form_fill";
$modversion['tables'][3] = "tad_form_main";
$modversion['tables'][4] = "tad_form_value";



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


//---管理介面設定---//
$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_TADFORM_TEMPLATE_DESC1;
//---區塊設定---//
$modversion['blocks'][1]['file'] = "tad_form.php";
$modversion['blocks'][1]['name'] = _MI_TADFORM_BNAME1;
$modversion['blocks'][1]['description'] = _MI_TADFORM_BDESC1;
$modversion['blocks'][1]['show_func'] = "tad_form";
$modversion['blocks'][1]['template'] = "tad_form.html";
$modversion['blocks'][1]['edit_func'] = "tad_form_edit";
$modversion['blocks'][1]['options'] = "160|5";

$modversion['blocks'][2]['file'] = "tad_one_form.php";
$modversion['blocks'][2]['name'] = _MI_TADFORM_BNAME2;
$modversion['blocks'][2]['description'] = _MI_TADFORM_BDESC2;
$modversion['blocks'][2]['show_func'] = "tad_one_form";
$modversion['blocks'][2]['template'] = "tad_one_form.html";
$modversion['blocks'][2]['edit_func'] = "tad_one_form_edit";
$modversion['blocks'][2]['options'] = "";
?>
