OSDN Git Service

1b4be5288c6a29791193b17c8d4b2f711245d79e
[mulab/sd3rd.git] / trust_path / modules / sd3rd / xoops_version.php
1 <?php
2 /**
3  * @file
4  * @package sd3rd
5  * @version $Id$
6 **/
7
8 if(!defined('XOOPS_ROOT_PATH'))
9 {
10     exit;
11 }
12
13 if(!defined('SD3RD_TRUST_PATH'))
14 {
15     define('SD3RD_TRUST_PATH',XOOPS_TRUST_PATH . '/modules/sd3rd');
16 }
17
18 require_once SD3RD_TRUST_PATH . '/class/Sd3rdUtils.class.php';
19
20 //
21 // Define a basic manifesto.
22 //
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';
33
34 $modversion['cube_style'] = true;
35 $modversion['legacy_installer'] = array(
36     'installer'   => array(
37         'class'     => 'Installer',
38         'namespace' => 'Sd3rd',
39         'filepath'  => SD3RD_TRUST_PATH . '/admin/class/installer/Sd3rdInstaller.class.php'
40     ),
41     'uninstaller' => array(
42         'class'     => 'Uninstaller',
43         'namespace' => 'Sd3rd',
44         'filepath'  => SD3RD_TRUST_PATH . '/admin/class/installer/Sd3rdUninstaller.class.php'
45     ),
46     'updater' => array(
47         'class'     => 'Updater',
48         'namespace' => 'Sd3rd',
49         'filepath'  => SD3RD_TRUST_PATH . '/admin/class/installer/Sd3rdUpdater.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 ##[cubson:tables]
58 ##[/cubson:tables]
59 );
60
61 //
62 // Templates. You must never change [cubson] chunk to get the help of cubson.
63 //
64 $modversion['templates'] = array(
65 /*
66     array(
67         'file'        => '{dirname}_xxx.html',
68         'description' => _MI_SD3RD_TPL_XXX
69     ),
70 */
71 ##[cubson:templates]
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),
75 ##[/cubson:templates]
76 );
77
78 //
79 // Admin panel setting
80 //
81 $modversion['hasAdmin'] = 0;
82
83 //
84 // Public side control setting
85 //
86 $modversion['hasMain'] = 1;
87 $modversion['hasSearch'] = 0;
88 $modversion['sub'] = array(
89 /*
90     array(
91         'name' => _MI_SD3RD_LANG_SUB_XXX,
92         'url'  => 'index.php?action=XXX'
93     ),
94 */
95 ##[cubson:submenu]
96 ##[/cubson:submenu]
97 );
98
99 //
100 // Config setting
101 //
102 $modversion['config'] = array(
103 /*
104     array(
105         'name'          => 'xxxx',
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),
111         'default'       => 0
112     ),
113 */
114 ##[cubson:config]
115 ##[/cubson:config]
116 );
117
118 //
119 // Block setting
120 //
121 $modversion['blocks'] = array(
122 /*
123     x => array(
124         'func_num'          => x,
125         'file'              => 'xxxBlock.class.php',
126         'class'             => 'xxx',
127         'name'              => _MI_SD3RD_BLOCK_NAME_xxx,
128         'description'       => _MI_SD3RD_BLOCK_DESC_xxx,
129         'options'           => '',
130         'template'          => '{dirname}_block_xxx.html',
131         'show_all_module'   => true,
132         'visible_any'       => true
133     ),
134 */
135 ##[cubson:block]
136 ##[/cubson:block]
137 );
138
139 ?>