:::

17-3 [語系]xoops_version.php

<?php

//---基本設定---//
//模組名稱
$modversion['name'] = _MI_CONTACT_MOD_NAME;
//模組版次
$modversion['version']    = '1.0';
//模組作者
$modversion['author'] = 'tad ([email protected])';
//模組說明
$modversion['description'] = _MI_CONTACT_MOD_DESC;
//模組榮譽榜
$modversion['credits']    = "tad";
//模組版權
$modversion['license']        = "GPL see LICENSE";
//模組是否為官方發佈1,非官方0
$modversion['official']        = 0;
//模組圖示
$modversion['image']        = "images/logo.png";
//模組目錄名稱
$modversion['dirname']        = basename(dirname(__FILE__));

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

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

//---使用者主選單設定---//
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_CONTACT_MENU1;
$modversion['sub'][1]['url'] = "index.php?op=add";


//---模組事件---//
//$modversion['onInstall'] = "include/onInstall.php";
//$modversion['onUpdate'] = "include/onUpdate.php";
//$modversion['onUninstall'] = "include/onUninstall.php";


//---樣板設定---//
$modversion['templates'][1]['file'] = 'view_tpl.html';
$modversion['templates'][1]['description'] = _MI_CONTACT_TPL1;


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

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

//---區塊設定---//
$modversion['blocks'][1]['file'] = "new_contact.php";
$modversion['blocks'][1]['name'] = _MI_CONTACT_BLOCK1;
$modversion['blocks'][1]['description'] = _MI_CONTACT_BLOCK_DESC1;
$modversion['blocks'][1]['show_func'] = "new_contact";
$modversion['blocks'][1]['template'] = "new_contact.html";
$modversion['blocks'][1]['edit_func'] = "new_contact_edit";
$modversion['blocks'][1]['options'] = "5|1";


//---偏好設定---//
$modversion['config'][1]['name'] = 'show_num';
$modversion['config'][1]['title'] = '_MI_SHOW_NUM1';
$modversion['config'][1]['description'] = '_MI_SHOW_NUM_DESC1';
$modversion['config'][1]['formtype'] = 'textbox';
$modversion['config'][1]['valuetype'] = 'int';
$modversion['config'][1]['default'] = 5;

?>


:::

搜尋


書籍目錄

展開 | 闔起

線上使用者

11人線上 (1人在瀏覽線上書籍)

會員: 0

訪客: 11

更多…