OSDN Git Service

#18387 - Remove help files.
[mulab/sd2nd.git] / trust_path / modules / sd2nd / xoops_version.php
1 <?php
2 /**
3  * @file
4  * @package sd2nd
5  * @version $Id$
6 **/
7
8 if(!defined('XOOPS_ROOT_PATH'))
9 {
10     exit;
11 }
12
13 if(!defined('SD2ND_TRUST_PATH'))
14 {
15     define('SD2ND_TRUST_PATH',XOOPS_TRUST_PATH . '/modules/sd2nd');
16 }
17
18 require_once SD2ND_TRUST_PATH . '/class/Sd2ndUtils.class.php';
19
20 //
21 // Define a basic manifesto.
22 //
23 $modversion['name'] = _MI_SD2ND_LANG_SD2ND;
24 $modversion['version'] = 0.01;
25 $modversion['description'] = _MI_SD2ND_DESC_SD2ND;
26 $modversion['author'] = _MI_SD2ND_LANG_AUTHOR;
27 $modversion['credits'] = _MI_SD2ND_LANG_CREDITS;
28 $modversion['license'] = 'GPL';
29 $modversion['official'] = 0;
30 $modversion['image'] = 'images/sd2nd.png';
31 $modversion['dirname'] = $myDirName;
32 $modversion['trust_dirname'] = 'sd2nd';
33
34 $modversion['cube_style'] = true;
35 $modversion['legacy_installer'] = array(
36     'installer'   => array(
37         'class'     => 'Installer',
38         'namespace' => 'Sd2nd',
39         'filepath'  => SD2ND_TRUST_PATH . '/admin/class/installer/Sd2ndInstaller.class.php'
40     ),
41     'uninstaller' => array(
42         'class'     => 'Uninstaller',
43         'namespace' => 'Sd2nd',
44         'filepath'  => SD2ND_TRUST_PATH . '/admin/class/installer/Sd2ndUninstaller.class.php'
45     ),
46     'updater' => array(
47         'class'     => 'Updater',
48         'namespace' => 'Sd2nd',
49         'filepath'  => SD2ND_TRUST_PATH . '/admin/class/installer/Sd2ndUpdater.class.php'
50     )
51 );
52 $modversion['disable_legacy_2nd_installer'] = false;
53
54 $modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
55 $modversion['tables'] = array(
56 //    '{prefix}_{dirname}_xxxx',
57    '{prefix}_{dirname}_ability',
58    '{prefix}_{dirname}_active_ability',
59    '{prefix}_{dirname}_char',
60    '{prefix}_{dirname}_costume',
61    '{prefix}_{dirname}_eno_pno_link',
62    '{prefix}_{dirname}_icon',
63    '{prefix}_{dirname}_image',
64    '{prefix}_{dirname}_kind',
65    '{prefix}_{dirname}_learned_ability',
66    '{prefix}_{dirname}_learned_costume',
67    '{prefix}_{dirname}_learned_skill',
68    '{prefix}_{dirname}_map',
69    '{prefix}_{dirname}_map_cache',
70    '{prefix}_{dirname}_map_name',
71    '{prefix}_{dirname}_map_spot',
72    '{prefix}_{dirname}_race',
73    '{prefix}_{dirname}_skill',
74    '{prefix}_{dirname}_skill_element_link',
75    '{prefix}_{dirname}_status',
76    '{prefix}_{dirname}_target',
77    '{prefix}_{dirname}_update',
78 ##[cubson:tables]
79 ##[/cubson:tables]
80 );
81
82 //
83 // Templates. You must never change [cubson] chunk to get the help of cubson.
84 //
85 $modversion['templates'] = array(
86 /*
87     array(
88         'file'        => '{dirname}_xxx.html',
89         'description' => _MI_SD2ND_TPL_XXX
90     ),
91 */
92 ##[cubson:templates]
93     array('file' => '{dirname}_index.html','description' => _MI_SD2ND_TPL_INDEX),
94     array('file' => '{dirname}_map_view.html','description' => _MI_SD2ND_TPL_MAP_VIEW),
95     array('file' => '{dirname}_active_ability_list.html','description' => _MI_SD2ND_TPL_ACTIVE_ABILITY_LIST),
96     array('file' => '{dirname}_learned_ability_list.html','description' => _MI_SD2ND_TPL_LEARNED_ABILITY_LIST),
97     array('file' => '{dirname}_learned_skill_list.html','description' => _MI_SD2ND_TPL_LEARNED_SKILL_LIST),
98     array('file' => '{dirname}_learned_costume_list.html','description' => _MI_SD2ND_TPL_LEARNED_COSTUME_LIST),
99     array('file' => '{dirname}_ability_list.html','description' => _MI_SD2ND_TPL_ABILITY_LIST),
100     array('file' => '{dirname}_costume_list.html','description' => _MI_SD2ND_TPL_COSTUME_LIST),
101     array('file' => '{dirname}_skill_list.html','description' => _MI_SD2ND_TPL_SKILL_LIST),
102 ##[/cubson:templates]
103 );
104
105 //
106 // Admin panel setting
107 //
108 $modversion['hasAdmin'] = 1;
109 $modversion['adminindex'] = 'admin/index.php';
110 $modversion['adminmenu'] = array(
111 /*
112     array(
113         'title'    => _MI_SD2ND_LANG_XXXX,
114         'link'     => 'admin/index.php?action=xxx',
115         'keywords' => _MI_SD2ND_KEYWORD_XXX,
116         'show'     => true,
117         'absolute' => false
118     ),
119 */
120 ##[cubson:adminmenu]
121 ##[/cubson:adminmenu]
122 );
123
124 //
125 // Public side control setting
126 //
127 $modversion['hasMain'] = 1;
128 $modversion['hasSearch'] = 0;
129 $modversion['sub'] = array(
130 /*
131     array(
132         'name' => _MI_SD2ND_LANG_SUB_XXX,
133         'url'  => 'index.php?action=XXX'
134     ),
135 */
136 ##[cubson:submenu]
137 ##[/cubson:submenu]
138 );
139
140 //
141 // Config setting
142 //
143 $modversion['config'] = array(
144 /*
145     array(
146         'name'          => 'xxxx',
147         'title'         => '_MI_SD2ND_TITLE_XXXX',
148         'description'   => '_MI_SD2ND_DESC_XXXX',
149         'formtype'      => 'xxxx',
150         'valuetype'     => 'xxx',
151         'options'       => array(xxx => xxx,xxx => xxx),
152         'default'       => 0
153     ),
154 */
155 ##[cubson:config]
156 ##[/cubson:config]
157 );
158
159 //
160 // Block setting
161 //
162 $modversion['blocks'] = array(
163 /*
164     x => array(
165         'func_num'          => x,
166         'file'              => 'xxxBlock.class.php',
167         'class'             => 'xxx',
168         'name'              => _MI_SD2ND_BLOCK_NAME_xxx,
169         'description'       => _MI_SD2ND_BLOCK_DESC_xxx,
170         'options'           => '',
171         'template'          => '{dirname}_block_xxx.html',
172         'show_all_module'   => true,
173         'visible_any'       => true
174     ),
175 */
176 ##[cubson:block]
177 ##[/cubson:block]
178 );
179
180 ?>