-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathicms_version.php
More file actions
95 lines (77 loc) · 2.97 KB
/
icms_version.php
File metadata and controls
95 lines (77 loc) · 2.97 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
/**
* Login version infomation
*
* This file holds the configuration information of this module
*
* @copyright Copyright Simon Wilkinson (Madfish) 2013
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)
* @since 1.0
* @author Simon Wilkinson (Madfish) <simon@isengard.biz>
* @package login
* @version $Id$
*/
defined("ICMS_ROOT_PATH") or die("ICMS root path not defined");
/** General Information */
$modversion = array(
"name" => _MI_LOGIN_MD_NAME,
"version" => 1.0,
"description" => _MI_LOGIN_MD_DESC,
"author" => "Simon Wilkinson (Madfish)",
"credits" => "The secure QR login concept was developed by Steve Gibson at grc.com",
"help" => "",
"license" => "GNU General Public License (GPL)",
"official" => 0,
"dirname" => basename(dirname(__FILE__)),
"modname" => "login",
/** Images information */
"iconsmall" => "images/icon_small.png",
"iconbig" => "images/icon_big.png",
"image" => "images/icon_big.png", /* for backward compatibility */
/** Development information */
"status_version" => "1.0",
"status" => "Beta",
"date" => "Unreleased",
"author_word" => "",
"warning" => _CO_ICMS_WARNING_BETA,
/** Contributors */
"developer_website_url" => "http://www.isengard.biz",
"developer_website_name" => "Isengard.biz",
"developer_email" => "simon@isengard.biz",
/** 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,
/** Comments information */
"hasComments" => 0);
/** other possible types: testers, translators, documenters and other */
$modversion['people']['developers'][] = "Simon Wilkinson (Madfish)";
/** Manual */
$modversion['manual']['wiki'][] = "<a href='http://wiki.impresscms.org/index.php?title=Login' target='_blank'>English</a>";
/** Database information */
$modversion['object_items'][1] = 'key';
$modversion["tables"] = icms_getTablesArray($modversion['dirname'], $modversion['object_items']);
/** Templates information */
$modversion['templates'] = array(
array("file" => "login_admin_key.html", "description" => "Key admin index"),
array("file" => "login_key.html", "description" => "Key index"),
array("file" => "login_requirements.html", "description" => "SQRL block"),
array('file' => 'login_header.html', 'description' => 'Module header'),
array('file' => 'login_footer.html', 'description' => 'Module footer'));
/** Blocks information */
$modversion['blocks'][1] = array(
'file' => 'sqrl_block.php',
'name' => _MI_LOGIN_SQRL_BLOCK,
'description' => _MI_LOGIN_SQRL_BLOCK_DSC,
'show_func' => 'sqrl_show',
'edit_func' => 'sqrl_edit',
'options' => '',
'template' => 'sqrl.html');
/** Preferences information */