forked from ImpressModules/imbuilding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
icms_version.php
80 lines (66 loc) · 2.86 KB
/
icms_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
76
77
78
79
80
<?php
/**
* imBuilding version infomation
*
* This file holds the configuration information of this module
*
* @copyright http://smartfactory.ca The SmartFactory
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)
* @since 1.0
* @author marcan aka Marc-André Lanciault <[email protected]>
* @package imbuilding
* @version $Id$
*/
defined("ICMS_ROOT_PATH") or die("ICMS root path not defined");
$modversion = array(
/** General Information */
"name" => _MI_IMBUILDING_MD_NAME,
"version" => 2.1,
"description" => _MI_IMBUILDING_MD_DESC,
"author" => "The SmartFactory",
"credits" => "INBOX International inc.",
"help" => "",
"license" => "GNU General Public License (GPL)",
"official" => 1,
"dirname" => basename(__DIR__),
"modname" => "imbuilding",
/** Images information */
"iconsmall" => "images/icon_small.png",
"iconbig" => "images/icon_big.png",
"image" => "images/icon_big.png", /* for backward compatibility */
/** Development information */
"status_version" => "Final",
"status" => "Final",
"date" => date('Y-m-d', filemtime(__FILE__)),
"author_word" => "",
"warning" => _CO_ICMS_WARNING_FINAL,
/** Contributors */
"developer_website_url" => "http://inboxinternational.com",
"developer_website_name" => "INBOX International inc.",
"developer_email" => "[email protected]",
/** Administrative information */
"hasAdmin" => 1,
"adminindex" => "admin/index.php",
"adminmenu" => "admin/menu.php",
/** Install and update informations */
"onInstall" => "include/onupdate.inc.php",
"onUpdate" => "include/onupdate.inc.php",
/** Search information */
"hasSearch" => 0,
/** Menu information */
"hasMain" => 0,
/** IPF object information */
"object_items" => array("module", "object", "field"));
$modversion["people"]["developers"][] = "[url=http://community.impresscms.org/userinfo.php?uid=168]marcan[/url] (Marc-André Lanciault)";
$modversion["people"]["developers"][] = "[url=http://community.impresscms.org/userinfo.php?uid=1168]phoenyx[/url]";
/** Manual */
//$modversion["manual"]["wiki"][] = "<a href="http://wiki.impresscms.org/index.php?title=ImBlogging" target="_blank">English</a>";
$modversion["tables"] = icms_getTablesArray($modversion["dirname"], $modversion["object_items"]);
/** Templates information */
$modversion["templates"] = array(
array("file" => "imbuilding_admin_index.html", "description" => "Admin Index template"),
array("file" => "imbuilding_admin_module.html", "description" => "Module admin template"),
array("file" => "imbuilding_admin_object.html", "description" => "Object Admin template"),
array("file" => "imbuilding_admin_field.html", "description" => "Field Admin template"),
array("file" => "imbuilding_requirements.html", "description" => "Requirements")
);