XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
modulesadmin.php
Go to the documentation of this file.
1 <?php
10 // Navigation
11 define("_AM_SYSTEM_MODULES_ADMIN","Modules Administration");
12 define("_AM_SYSTEM_MODULES_LIST","Module List");
13 define("_AM_SYSTEM_MODULES_TOINSTALL","Install module");
14 define("_AM_SYSTEM_MODULES_VALIDATE","Validate changes");
15 define("_AM_SYSTEM_MODULES_SUBMITRES","Submit Result");
16 
17 // Messages
18 define("_AM_SYSTEM_MODULES_RUSUREINS","Press the button below to install this module");
19 define("_AM_SYSTEM_MODULES_RUSUREUNINS","Are you sure you would like to uninstall this module?");
20 define("_AM_SYSTEM_MODULES_RUSUREUPD","Press the button below to update this module");
21 define("_AM_SYSTEM_MODULES_BTOMADMIN","Back to Module Administration page");
22 define("_AM_SYSTEM_MODULES_INSTALLING","Installing ");
23 define("_AM_SYSTEM_MODULES_UNINSTAL","Uninstall ");
24 define("_AM_SYSTEM_MODULES_DEACTIVATE","Deactivate ");
25 define("_AM_SYSTEM_MODULES_ACTIVATE","Activate ");
26 define("_AM_SYSTEM_MODULES_UPDATING","Updating ");
27 
28 // Main
29 define("_AM_SYSTEM_MODULES_INSTALL","Install");
30 define("_AM_SYSTEM_MODULES_UNINSTALL","Uninstall");
31 define("_AM_SYSTEM_MODULES_UPDATE","Update");
32 define("_AM_SYSTEM_MODULES_VIEWLARGE","Large View");
33 define("_AM_SYSTEM_MODULES_VIEWLINE","Line View");
34 
35 // %s represents module name
36 define("_AM_SYSTEM_MODULES_FAILINS","Unable to install %s.");
37 define("_AM_SYSTEM_MODULES_FAILACT","Unable to activate %s.");
38 define("_AM_SYSTEM_MODULES_FAILDEACT","Unable to deactivate %s.");
39 define("_AM_SYSTEM_MODULES_FAILUPD","Unable to update %s.");
40 define("_AM_SYSTEM_MODULES_FAILUNINS","Unable to uninstall %s.");
41 define("_AM_SYSTEM_MODULES_FAILORDER","Unable to reorder %s.");
42 define("_AM_SYSTEM_MODULES_FAILWRITE","Unable to write to main menu.");
43 define("_AM_SYSTEM_MODULES_ALEXISTS","Module %s already exists.");
44 define("_AM_SYSTEM_MODULES_ERRORSC","Error(s):");
45 define("_AM_SYSTEM_MODULES_OKINS","Module %s installed successfully.");
46 define("_AM_SYSTEM_MODULES_OKACT","Module %s activated successfully.");
47 define("_AM_SYSTEM_MODULES_OKDEACT","Module %s deactivated successfully.");
48 define("_AM_SYSTEM_MODULES_OKUPD","Module %s updated successfully.");
49 define("_AM_SYSTEM_MODULES_OKUNINS","Module %s uninstalled successfully.");
50 define("_AM_SYSTEM_MODULES_OKORDER","Module %s changed successfully.");
51 
52 define("_AM_SYSTEM_MODULES_MODULE","Module");
53 define("_AM_SYSTEM_MODULES_VERSION","Version");
54 define("_AM_SYSTEM_MODULES_LASTUP","Last Update");
55 define("_AM_SYSTEM_MODULES_DEACTIVATED","Deactivated");
56 define("_AM_SYSTEM_MODULES_ACTION","Action");
57 define("_AM_SYSTEM_MODULES_MENU","Menu");
58 define("_AM_SYSTEM_MODULES_HIDE","Hide");
59 define("_AM_SYSTEM_MODULES_SHOW","Show");
60 
61 define("_AM_SYSTEM_MODULES_DUPEN","Duplicate entry in modules table!");
62 define("_AM_SYSTEM_MODULES_DEACTED","The selected module has been deactivated. You can now safely uninstall the module.");
63 define("_AM_SYSTEM_MODULES_ACTED","The selected module has been activated!");
64 define("_AM_SYSTEM_MODULES_UPDTED","The selected module has been updated!");
65 define("_AM_SYSTEM_MODULES_SYSNO","System module cannot be deactivated.");
66 define("_AM_SYSTEM_MODULES_STRTNO","This module is set as your default start page. Please change the start module to whatever suits your preferences.");
67 
68 define("_AM_SYSTEM_MODULES_ORDER","Order");
69 define("_AM_SYSTEM_MODULES_ORDER0","(0 = hide)");
70 define("_AM_SYSTEM_MODULES_ACTIVE","Active");
71 define("_AM_SYSTEM_MODULES_INACTIVE","Inactive");
72 define("_AM_SYSTEM_MODULES_NOTINSTALLED","Not Installed");
73 define("_AM_SYSTEM_MODULES_NOCHANGE","No Change");
74 define("_AM_SYSTEM_MODULES_SUBMIT","Submit");
75 define("_AM_SYSTEM_MODULES_CANCEL","Cancel");
76 define("_AM_SYSTEM_MODULES_DBUPDATE",_AM_SYSTEM_DBUPDATED);
77 define("_AM_SYSTEM_MODULES_LISTUPBLKS","The following blocks will be updated.<br />Select the blocks of which contents (template and options) may be overwritten.<br />");
78 define("_AM_SYSTEM_MODULES_NEWBLKS","New Blocks");
79 define("_AM_SYSTEM_MODULES_DEPREBLKS","Deprecated Blocks");
80 
81 // Logger
82 define("_AM_SYSTEM_MODULES_TABLE_RESERVED","%s is a reserved table!");
83 define("_AM_SYSTEM_MODULES_CREATE_TABLES","Creating tables...");
84 define("_AM_SYSTEM_MODULES_TABLE_CREATED","Table %s created");
85 define("_AM_SYSTEM_MODULES_INSERT_DATA","&nbsp;&nbsp; Data inserted to table %s");
86 define("_AM_SYSTEM_MODULES_INSERT_DATA_FAILD","Could not insert %s to database.");
87 define("_AM_SYSTEM_MODULES_INSERT_DATA_DONE","Module data inserted successfully.");
88 define("_AM_SYSTEM_MODULES_MODULEID"," Module ID: %s");
89 define("_AM_SYSTEM_MODULES_SQL_FOUND","SQL file found at %s ");
90 define("_AM_SYSTEM_MODULES_SQL_NOT_FOUND","SQL file not found at %s");
91 define("_AM_SYSTEM_MODULES_SQL_NOT_CREATE","ERROR: Could not create %s ");
92 define("_AM_SYSTEM_MODULES_SQL_NOT_VALID","%s is not a valid SQL!");
93 define("_AM_SYSTEM_MODULES_GROUP_ID"," Group ID: %s ");
94 define("_AM_SYSTEM_MODULES_NAME"," Name: ");
95 define("_AM_SYSTEM_MODULES_VALUE"," Value: ");
96 
97 // Templates
98 define("_AM_SYSTEM_MODULES_TEMPLATES_ADD","Adding templates...");
99 define("_AM_SYSTEM_MODULES_TEMPLATES_DELETE","Deleting templates...");
100 define("_AM_SYSTEM_MODULES_TEMPLATES_UPDATE","Updating templates...");
101 define("_AM_SYSTEM_MODULES_TEMPLATE_ID","Template ID: %s ");
102 define("_AM_SYSTEM_MODULES_TEMPLATE_ADD_DATA","Template %s added to the database");
103 define("_AM_SYSTEM_MODULES_TEMPLATE_ADD_ERROR","ERROR: Could not insert template %s to the database.");
104 define("_AM_SYSTEM_MODULES_TEMPLATE_COMPILED","Template %s compiled ");
105 define("_AM_SYSTEM_MODULES_TEMPLATE_COMPILED_FAILED","ERROR: Failed compiling template %s ");
106 define("_AM_SYSTEM_MODULES_TEMPLATE_DELETE_DATA","Template %s deleted from the database. ");
107 define("_AM_SYSTEM_MODULES_TEMPLATE_DELETE_DATA_FAILD","ERROR: Could not delete template %s from the database. ");
108 define("_AM_SYSTEM_MODULES_TEMPLATE_INSERT_DATA","Template %s inserted to the database. ");
109 define("_AM_SYSTEM_MODULES_TEMPLATE_RECOMPILE","Template %s recompiled");
110 define("_AM_SYSTEM_MODULES_TEMPLATE_RECOMPILE_FAILD","ERROR: Template %s recompile failed");
111 define("_AM_SYSTEM_MODULES_TEMPLATE_RECOMPILE_ERROR","ERROR: Could not recompile template %s ");
112 define("_AM_SYSTEM_MODULES_TEMPLATE_DELETE_OLD_ERROR","ERROR: Could not delete old template %s. Aborting update of this file. ");
113 define("_AM_SYSTEM_MODULES_TEMPLATE_UPDATE","Template %s updated. ");
114 define("_AM_SYSTEM_MODULES_TEMPLATE_UPDATE_ERROR","ERROR: Could not update %s template. ");
115 
116 // Blocks
117 define("_AM_SYSTEM_MODULES_BLOCKS_ADD","Adding blocks...");
118 define("_AM_SYSTEM_MODULES_BLOCKS_DELETE","Deleting block...");
119 define("_AM_SYSTEM_MODULES_BLOCKS_REBUILD","Rebuilding blocks...");
120 define("_AM_SYSTEM_MODULES_BLOCK_ID"," Block ID: %s ");
121 define("_AM_SYSTEM_MODULES_BLOCK_ACCESS","Added block access right");
122 define("_AM_SYSTEM_MODULES_BLOCK_ACCESS_ERROR","ERROR: Could not add block access right");
123 define("_AM_SYSTEM_MODULES_BLOCK_ADD","Block %s added ");
124 define("_AM_SYSTEM_MODULES_BLOCK_ADD_ERROR","ERROR: Could not add block %s to the database! ");
125 define("_AM_SYSTEM_MODULES_BLOCK_ADD_ERROR_DATABASE","Database error: %s ");
126 define("_AM_SYSTEM_MODULES_BLOCK_CREATED","Block %s created ");
127 define("_AM_SYSTEM_MODULES_BLOCK_DELETE","Block %s deleted. ");
128 define("_AM_SYSTEM_MODULES_BLOCK_DELETE_DATA","Block template %s deleted from the database. ");
129 define("_AM_SYSTEM_MODULES_BLOCK_DELETE_ERROR","ERROR: Could not delete block %s");
130 define("_AM_SYSTEM_MODULES_BLOCK_DELETE_TEMPLATE_ERROR","ERROR: Could not delete block template %s from the database");
131 define("_AM_SYSTEM_MODULES_BLOCK_DEPRECATED","Block template %s deprecated ");
132 define("_AM_SYSTEM_MODULES_BLOCK_DEPRECATED_ERROR","ERROR: Could not remove deprecated block template. ");
133 define("_AM_SYSTEM_MODULES_BLOCK_UPDATE","Block %s updated. ");
134 
135 // Configs
136 define("_AM_SYSTEM_MODULES_GONFIG_ID","Config ID: %s");
137 define("_AM_SYSTEM_MODULES_MODULE_DATA_ADD","Adding module config data...");
138 define("_AM_SYSTEM_MODULES_MODULE_DATA_DELETE","Deleting module config options...");
139 define("_AM_SYSTEM_MODULES_MODULE_DATA_UPDATE","Module data updated.");
140 define("_AM_SYSTEM_MODULES_CONFIG_ADD"," Config option added");
141 define("_AM_SYSTEM_MODULES_CONFIG_DATA_ADD"," Config %s added to the database");
142 define("_AM_SYSTEM_MODULES_CONFIG_DATA_ADD_ERROR"," ERROR: Could not insert config %s to the database. ");
143 define("_AM_SYSTEM_MODULES_GONFIG_DATA_DELETE","Config data deleted from the database. ");
144 define("_AM_SYSTEM_MODULES_CONFIG_DATA_DELETE_ERROR","ERROR: Could not delete config data from the database");
145 
146 // Access
147 define("_AM_SYSTEM_MODULES_GROUP_SETTINGS_ADD","Setting group rights...");
148 define("_AM_SYSTEM_MODULES_GROUP_PERMS_DELETE_ERROR","ERROR: Could not delete group permissions ");
149 define("_AM_SYSTEM_MODULES_GROUP_PERMS_DELETED","Group permissions deleted ");
150 define("_AM_SYSTEM_MODULES_ACCESS_ADMIN_ADD","Added admin access right for Group ID %s");
151 define("_AM_SYSTEM_MODULES_ACCESS_ADMIN_ADD_ERROR","ERROR: Could not add admin access right for Group ID %s");
152 define("_AM_SYSTEM_MODULES_ACCESS_USER_ADD_ERROR","Added user access right for Group ID: %s");
153 define("_AM_SYSTEM_MODULES_ACCESS_USER_ADD_ERROR_ERROR","ERROR: Could not add user access right for Group ID: %s");
154 
155 // execute module specific install script if any
156 define("_AM_SYSTEM_MODULES_FAILED_EXECUTE","Failed to execute %s");
157 define("_AM_SYSTEM_MODULES_FAILED_SUCESS","%s executed successfully.");
158 define("_AM_SYSTEM_MODULES_DELETE_ERROR","ERROR: Could not delete %s");
159 define("_AM_SYSTEM_MODULES_UPDATE_ERROR","ERROR: Could not update %s");
160 define("_AM_SYSTEM_MODULES_DELETE_MOD_TABLES","Deleting module tables...");
161 define("_AM_SYSTEM_MODULES_COMMENTS_DELETE","Deleting comments...");
162 define("_AM_SYSTEM_MODULES_COMMENTS_DELETE_ERROR","ERROR: Could not delete comments");
163 define("_AM_SYSTEM_MODULES_COMMENTS_DELETED","Comments deleted");
164 define("_AM_SYSTEM_MODULES_NOTIFICATIONS_DELETE","Deleting notifications...");
165 define("_AM_SYSTEM_MODULES_NOTIFICATIONS_DELETE_ERROR","ERROR: Could not delete notifications");
166 define("_AM_SYSTEM_MODULES_NOTIFICATIONS_DELETED","Notifications deleted");
167 define("_AM_SYSTEM_MODULES_TABLE_DROPPED","Table %s dropped!");
168 define("_AM_SYSTEM_MODULES_TABLE_DROPPED_ERROR","ERROR: Could not drop table %s");
169 define("_AM_SYSTEM_MODULES_TABLE_DROPPED_FAILDED","ERROR: Not allowed to drop table %s !");
170 
171 // Tips
172 define("_AM_SYSTEM_MODULES_TIPS",
173 "<ul>
174 <li>If you install a new module, remember to setup module preferences, blocks and users permissions!</li>
175 <li>For hide module into Main Menu block, set order to 0</li>
176 <li>Delete unused module files from your server to avoid security issues and keep your website safe.</li>
177 <li>To change order of modules (which will be reflected in the Menu), you just need to drag and drop the modules to the desired placement.</li>
178 </ul>");
179 define("_AM_SYSTEM_MODULES_CONFIRM_TIPS",
180 "<ul>
181 <li>Check all modifications for validate.</li>
182 </ul>");