8 if(!defined('XOOPS_ROOT_PATH'))
13 if(!defined('SD3RD_TRUST_PATH'))
15 define('SD3RD_TRUST_PATH',XOOPS_TRUST_PATH . '/modules/sd3rd');
18 require_once SD3RD_TRUST_PATH . '/class/Sd3rdUtils.class.php';
21 // Define a basic manifesto.
23 $modversion['name'] = _MI_SD3RD_LANG_SD3RD;
24 $modversion['version'] = 0.01;
25 $modversion['description'] = _MI_SD3RD_DESC_SD3RD;
26 $modversion['author'] = _MI_SD3RD_LANG_AUTHOR;
27 $modversion['credits'] = _MI_SD3RD_LANG_CREDITS;
28 $modversion['license'] = 'GPL';
29 $modversion['official'] = 0;
30 $modversion['image'] = 'images/sd3rd.png';
31 $modversion['dirname'] = $myDirName;
32 $modversion['trust_dirname'] = 'sd3rd';
34 $modversion['cube_style'] = true;
35 $modversion['legacy_installer'] = array(
37 'class' => 'Installer',
38 'namespace' => 'Sd3rd',
39 'filepath' => SD3RD_TRUST_PATH . '/admin/class/installer/Sd3rdInstaller.class.php'
41 'uninstaller' => array(
42 'class' => 'Uninstaller',
43 'namespace' => 'Sd3rd',
44 'filepath' => SD3RD_TRUST_PATH . '/admin/class/installer/Sd3rdUninstaller.class.php'
48 'namespace' => 'Sd3rd',
49 'filepath' => SD3RD_TRUST_PATH . '/admin/class/installer/Sd3rdUpdater.class.php'
52 $modversion['disable_legacy_2nd_installer'] = false;
54 $modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
55 $modversion['tables'] = array(
56 // '{prefix}_{dirname}_xxxx',
62 // Templates. You must never change [cubson] chunk to get the help of cubson.
64 $modversion['templates'] = array(
67 'file' => '{dirname}_xxx.html',
68 'description' => _MI_SD3RD_TPL_XXX
72 array('file' => '{dirname}_ability_list.html','description' => _MI_SD3RD_TPL_ABILITY_LIST),
73 array('file' => '{dirname}_costume_list.html','description' => _MI_SD3RD_TPL_COSTUME_LIST),
74 array('file' => '{dirname}_skill_list.html','description' => _MI_SD3RD_TPL_SKILL_LIST),
79 // Admin panel setting
81 $modversion['hasAdmin'] = 0;
84 // Public side control setting
86 $modversion['hasMain'] = 1;
87 $modversion['hasSearch'] = 0;
88 $modversion['sub'] = array(
91 'name' => _MI_SD3RD_LANG_SUB_XXX,
92 'url' => 'index.php?action=XXX'
102 $modversion['config'] = array(
106 'title' => '_MI_SD3RD_TITLE_XXXX',
107 'description' => '_MI_SD3RD_DESC_XXXX',
108 'formtype' => 'xxxx',
109 'valuetype' => 'xxx',
110 'options' => array(xxx => xxx,xxx => xxx),
121 $modversion['blocks'] = array(
125 'file' => 'xxxBlock.class.php',
127 'name' => _MI_SD3RD_BLOCK_NAME_xxx,
128 'description' => _MI_SD3RD_BLOCK_DESC_xxx,
130 'template' => '{dirname}_block_xxx.html',
131 'show_all_module' => true,
132 'visible_any' => true