[1012]PHP進階開發及TadTools工具應用
<?php
$modversion = array();
//---模組基本資訊---//
$modversion['name'] = _MI_CONTAC_NAME;
$modversion['version'] = '1.0';
$modversion['description'] = _MI_CONTAC_DESC;
$modversion['author'] = _MI_CONTAC_AUTHOR;
$modversion['credits'] = _MI_CONTAC_CREDITS;
$modversion['help'] = 'page=help';
$modversion['license'] = 'GPL see LICENSE';
$modversion['image'] = "images/logo.png";
$modversion['dirname'] = basename(dirname(__FILE__));
//---模組狀態資訊---//
$modversion['status_version'] = '1.0';
$modversion['release_date'] = '2012-09-19';
$modversion['module_website_url'] = 'http://tad0616.net';
$modversion['module_website_name'] = _MI_CONTAC_AUTHOR_WEB;
$modversion['module_status'] = 'release';
$modversion['author_website_url'] = 'http://tad0616.net';
$modversion['author_website_name'] = _MI_CONTAC_AUTHOR_WEB;
$modversion['min_php']= 5.2;
$modversion['min_xoops']='2.5';
//---啟動後台管理界面選單---//
$modversion['system_menu'] = 1;//---資料表架構---//
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
$modversion['tables'][1] = "contact";
$modversion['tables'][2] = "contact_cate";
$modversion['tables'][3] = "contact_files_center";
//---管理介面設定---//
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";
//---使用者主選單設定---//
$modversion['hasMain'] = 1;
//---樣板設定---//
$modversion['templates'][1]['file'] = 'contact_index_tpl.html';
$modversion['templates'][1]['description'] = _MI_CONTAC_TEMPLATE_DESC1;
//---區塊設定---//
$modversion['blocks'][0]['file'] = "contact_qrcode.php";
$modversion['blocks'][0]['name'] = 'QR Code ';
$modversion['blocks'][0]['description'] = '產生連到手持裝置頁面的QR Code條碼';
$modversion['blocks'][0]['show_func'] = "contact_qrcode_show";
$modversion['blocks'][0]['template'] = "contact_qrcode.html";
?>