<?php
$modversion = array();

//---模組基本資訊---//
$modversion['name'] = _MI_XOOPS_VERSION1;
$modversion['version'] = 2.6;
$modversion['description'] = _MI_XOOPS_VERSION2;
$modversion['author'] = _MI_XOOPS_VERSION3;
$modversion['credits'] = 'tad';
$modversion['help'] = 'page=help';
$modversion['license'] = 'GNU GPL 2.0';
$modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/';
$modversion['image'] = "images/logo.png";
$modversion['dirname'] = basename(dirname(__FILE__));

//---模組狀態資訊---//
$modversion['release_date'] = '2017/12/3';
$modversion['module_website_url'] = 'http://neodw.com';
$modversion['module_website_name'] = _MI_XOOPS_VERSION4;
$modversion['module_status'] = 'release';
$modversion['author_website_url'] = 'http://neodw.com';
$modversion['author_website_name'] = _MI_XOOPS_VERSION4;
$modversion['min_php']='7.4';
$modversion['min_xoops']='2.5.11';

//---paypal資訊---//
/*$modversion ['paypal'] = array();
$modversion ['paypal']['business'] = '您的@電子郵件';
$modversion ['paypal']['item_name'] = 'Donation : ' . _MI_網站名稱;
$modversion ['paypal']['amount'] = 0;
$modversion ['paypal']['currency_code'] = 'USD';*/


//---後台使用系統選單---//
$modversion['system_menu'] = 1;



//---模組資料表架構---//
$modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
$modversion['tables'][1]        = "robotip";
$modversion['tables'][2]        = "neillibrary_modulesmenu";
$modversion['tables'][3]        = "neillibrary_layoutcsslog";
$modversion['tables'][4]        = "neillibrary_citydate";
$modversion['tables'][5]        = "neillibrary_class";
$modversion['tables'][6]        = "neillibrary_dateitem";


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


//---前台主選單設定---//
$modversion['hasMain'] = 1;
//$modversion['sub'][1]['name'] = '';
//$modversion['sub'][1]['url'] = '';


//---模組自動功能---//
$modversion['onInstall'] = "include/onInstall.php";
$modversion['onUpdate'] = "include/onUpdate.php";
//$modversion['onUninstall'] = "include/onUninstall.php";


//---樣板設定---//
$modversion['templates'] = array();
$i=0;
//資訊頁面neillibraryinformation.tpl
$modversion['templates'][$i]['file'] = $modversion['dirname'].'information.tpl';
$modversion['templates'][$i]['description'] = $modversion['dirname'].'information.tpl';
$i++;




//$i++;
//$modversion['templates'][$i]['file'] = 'xxx.html';
//$modversion['templates'][$i]['description'] = 'xxx.html';


//---搜尋---//
//$modversion['hasSearch'] = 1;
//$modversion['search']['file'] = "include/search.php";
//$modversion['search']['func'] = "搜尋函數名稱";


//---評論---//
//$modversion['hasComments'] = 1;
//$modversion['comments']['pageName'] = '單一頁面.php';
//$modversion['comments']['itemName'] = '流水號欄位';


//---偏好設定---//
$modversion['config'] = array();
$i=1;
//是否啟用裝置偵測-1
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION5';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION5';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= '1'; //0不啟用1啟用
$i++;


//刪除紀錄及解除IP封鎖時間-2
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION7';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION7';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 5; 
$i++;


//ck編輯器圖片最大寬度-3
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION8';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION8';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 1440; 
$i++;


//ck編輯器圖片最大寬度-4
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION9';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION9';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 1440; 
$i++;


//自動刪除caches時間-5
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION10';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION10';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 5; 
$i++;


//紀錄上次刪除caches時間-6
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION7';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION7';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'timezone';
$modversion['config'][$i]['default']	= ''; 
$i++;


//清空伺服器temp資料夾路徑-7
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION12';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION12';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'text';
$modversion['config'][$i]['default']	= ''; 
$i++;


//個資保護聲明-8
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION13';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION13';
$modversion['config'][$i]['formtype']	= 'textarea';
$modversion['config'][$i]['valuetype']	= 'text';
$modversion['config'][$i]['default']	= _MI_XOOPS_VERSION14;
$i++;

//表單驗證答錯封鎖次數-9
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION16';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION16';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 5; 
$i++;

//temp資料夾檔案刪除數量-10
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION17';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION17';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 30; 
$i++;


//清除模組QRcode重新產生圖檔-11
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION18';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION18';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= '0'; //0不清除1清除
$i++;

//留言重複內容允許次數-12
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION19';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION19';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 3; 
$i++;

//附件檔上傳圖片最大寬度-13
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MI_XOOPS_VERSION20';
$modversion['config'][$i]['description']	= '_MI_XOOPS_VERSION20';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 1440; 
$i++;

//---區塊設定---//
//$modversion['blocks'] = array();
$i=1;
//$modversion['blocks'][$i]['file'] = "區塊檔.php";
//$modversion['blocks'][$i]['name'] = 區塊名稱（常數）;
//$modversion['blocks'][$i]['description'] = 區塊說明（常數）;
//$modversion['blocks'][$i]['show_func'] = "執行區塊函數名稱";
//$modversion['blocks'][$i]['template'] = "區塊樣板.html";
//$modversion['blocks'][$i]['edit_func'] = "編輯區塊函數名稱";
//$modversion['blocks'][$i]['options'] = "設定值1|設定值2";
//$i++;

//---通知---//
//$modversion['hasNotification'] = 1;

?>
