forked from Jimako-e107-plugins/e107-old-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.php
92 lines (75 loc) · 2.92 KB
/
plugin.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
81
82
83
84
85
86
87
88
89
90
91
92
<?php
/*
+---------------------------------------------------------------+
| EMS v1.0 - by iNfLuX ([email protected])
|
| For the e107 website system
| ©Steve Dunstan
| http://e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
+---------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
// Plugin info -------------------------------------------------------------------------------------------------------
$lan_file = e_PLUGIN."ems/languages/".e_LANGUAGE.".php";
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."ems/English.php");
$eplug_name = EMS_PLUGNAME;
$eplug_version = EMS_VERS;
$eplug_author = EMS_AUTOR;
$eplug_url = EMS_URL;
$eplug_email = EMS_MAIL;
$eplug_description = EMS_DESC;
$eplug_compatible = "e107v7+";
$eplug_readme = "";
// leave blank if no readme file
$eplug_compliant = TRUE;
// Name of the plugin's folder -------------------------------------------------------------------------------------
$eplug_folder = "ems";
// Mane of menu item for plugin ----------------------------------------------------------------------------------
$eplug_menu_name = "ems_menu";
// Name of the admin configuration file --------------------------------------------------------------------------
$eplug_conffile = "admin_config.php";
// Icon image and caption text ------------------------------------------------------------------------------------
$eplug_icon = $eplug_folder."/images/ems_32.png";
$eplug_icon_small = $eplug_folder."/images/ems_16.png";
$eplug_caption = PAGE_NAME_EMS_P1;
// List of preferences -----------------------------------------------------------------------------------------------
$eplug_prefs = array(
"ems_srchfrm" => 1,
"ems_usr" => 1,
"ems_loc" => 1,
"ems_gend" => 1,
"ems_photo" => 1,
"ems_locfn" => "location",
"ems_gendfn" => "gender",
"ems_dat" => 1,
"ems_datum1" => "my_data1",
"ems_datum2" => "my_data2",
"ems_datumMin" => 1980,
"ems_datumMax" => 2009,
"ems_datumMax" => 2009,
"ems_cols" => 3,
"ems_rows" => 15,
"ems_cOr" => 1,
"ems_email" => 1
);
// List of table names -----------------------------------------------------------------------------------------------
//$eplug_table_names = array();
// List of sql requests to create tables -----------------------------------------------------------------------------
//$eplug_tables = array();
// Create a link in main menu (yes=TRUE, no=FALSE) -------------------------------------------------------------
$eplug_link = true;
$eplug_link_name = PAGE_NAME_EMS_P1;
$eplug_link_url = e_PLUGIN."ems/ems.php";
// Text to display after plugin successfully installed ------------------------------------------------------------------
$eplug_done = EMS_INSTALL_DONE_P2;
// upgrading ... //
$upgrade_add_prefs = "";
$upgrade_remove_prefs = "";
$upgrade_alter_tables = "";
$eplug_upgrade_done = "";
?>