-
Notifications
You must be signed in to change notification settings - Fork 1
/
xoops_version.php
75 lines (66 loc) · 3.15 KB
/
xoops_version.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/**
* Cssholmes module
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright XOOPS Project (https://xoops.org)
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
* @package Cssholmes
* @since 2.5.x
* @author kris <http://www.xoofoo.org>
**/
require_once __DIR__ . '/preloads/autoloader.php';
$moduleDirName = basename(__DIR__);
$modversion['version'] = 1.3;
$modversion['module_status'] = 'Beta 1';
$modversion['release_date'] = '2020/08/08';
$modversion['name'] = _MI_CSSHOLMES_NAME;
$modversion['description'] = _MI_CSSHOLMES_DESC;
$modversion['author'] = 'Kris - http://www.xoofoo.org';
$modversion['credits'] = 'Luke Williams - http://www.red-root.com/';
$modversion['help'] = '';
$modversion['dirname'] = $moduleDirName;
$modversion['image'] = 'assets/images/logoModule.png';
$modversion['license'] = 'GNU General Public License';
$modversion['license_url'] = 'https://www.gnu.org/licenses/gpl.html';
$modversion['official'] = 0;
$modversion['author_website_url'] = 'http://labs.xoofoo.org';
$modversion['author_website_name'] = 'Laboratoire XooFoo';
$modversion['modicons16'] = 'assets/images/icons/16';
$modversion['modicons32'] = 'assets/images/icons/32';
// About
$modversion['module_release'] = '30/06/2012';
$modversion['demo_site_url'] = '';
$modversion['demo_site_name'] = '';
$modversion['module_website_url'] = 'http://labs.xoofoo.org';
$modversion['module_website_name'] = 'Labs XooFoo';
// Admin Menu
$modversion['system_menu'] = 1;
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = 'admin/index.php';
$modversion['adminmenu'] = 'admin/menu.php';
// Menu
$modversion['hasMain'] = 1;
// ------------------- Help files ------------------- //
$modversion['help'] = 'page=help';
$modversion['helpsection'] = [
['name' => _MI_CSSHOLMES_OVERVIEW, 'link' => 'page=help'],
['name' => _MI_CSSHOLMES_DISCLAIMER, 'link' => 'page=disclaimer'],
['name' => _MI_CSSHOLMES_LICENSE, 'link' => 'page=license'],
['name' => _MI_CSSHOLMES_SUPPORT, 'link' => 'page=support'],
];
// Templates
$modversion['templates'] = [
['file' => 'admin/' . $moduleDirName . '_admin_index.tpl', 'description' => '_MI_CSSHOLMES_MANAGER_INDEX_DESC'],
['file' => 'admin/' . $moduleDirName . '_admin_about.tpl', 'description' => '_MI_CSSHOLMES_MANAGER_ABOUT_DESC'],
['file' => $moduleDirName . '_index.tpl', 'description' => ''],
['file' => $moduleDirName . '_header.tpl', 'description' => ''],
['file' => $moduleDirName . '_footer.tpl', 'description' => ''],
['file' => $moduleDirName . '_testsuite.tpl', 'description' => ''],
];