Completed
Branch master (c92e39)
by Michael
02:32
created

language/english/modinfo.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * Module: SmartFAQ
5
 * Author: The SmartFactory <www.smartfactory.ca>
6
 * Licence: GNU
7
 */
8
9
// Module Info
10
// The name of this module
11
global $xoopsModule;
12
define('_MI_SF_MD_NAME', 'SmartFAQ');
13
14
// A brief description of this module
15
define('_MI_SF_MD_DESC', 'Advanced Questions and Answers Management System for your XOOPS Site');
16
17
// Sub menus in main menu block
18
define('_MI_SF_SUB_SMNAME1', 'Submit a Q&amp;A');
19
define('_MI_SF_SUB_SMNAME2', 'Request a Q&amp;A');
20
define('_MI_SF_SUB_SMNAME3', 'Open questions');
21
define('_MI_SF_SUB_SMNAME4', 'Moderate Q&amp;A');
22
23
// Config options
24
define('_MI_SF_ALLOWSUBMIT', 'User submissions:');
25
define('_MI_SF_ALLOWSUBMITDSC', 'Allow users to submit Q&amp;A on your website?');
26
27
define('_MI_SF_ALLOWREQUEST', 'User requests:');
28
define('_MI_SF_ALLOWREQUESTDSC', 'Allow users to request Q&amp;A on your website?');
29
30
define('_MI_SF_NEWANSWER', 'Allow new answer posting :');
31
define('_MI_SF_NEWANSWERDSC', "Select 'Yes' to allow users to submit new answers for already published Q&A.");
32
33
define('_MI_SF_ANONPOST', 'Allow anonymous posting');
34
define('_MI_SF_ANONPOSTDSC', 'Allow anonymous users to submit or request Q&amp;A.');
35
36
define('_MI_SF_DATEFORMAT', 'Date format:');
37
define('_MI_SF_DATEFORMATDSC', 'Use the final part of language/english/global.php to select a display style. Example: "d-M-Y H:i" translates to "30-Mar-2004 22:35"');
38
39
define('_MI_SF_DISPLAY_COLLAPS', 'Display collapsable bars');
40
define('_MI_SF_DISPLAY_COLLAPSDSC', "Select 'Yes' to display the collapsable bar in the index and category page.");
41
42
define('_MI_SF_DISPLAYTYPE', "Q&amp;A's display type:");
43
define('_MI_SF_DISPLAYTYPEDSC',
44
       "If 'Summary View' is selected, only the Question, Date and Hits of each Q&amp;A will be displayed in a selected category. If 'Full View' is selected, each Q&amp;A will be entirely displayed in a selected category.");
45
define('_MI_SF_DISPLAYTYPE_SUMMARY', 'Summary View');
46
define('_MI_SF_DISPLAYTYPE_FULL', 'Full View');
47
48
define('_MI_SF_DISPLAY_LAST_FAQ', 'Display last Q&amp;A column?');
49
define('_MI_SF_DISPLAY_LAST_FAQDSC', "Select 'Yes' to display the last Q&amp;A in each category in the index and category page.");
50
51
define('_MI_SF_DISPLAY_LAST_FAQS', 'Display a list of last Q&amp;As?');
52
define('_MI_SF_DISPLAY_LAST_FAQSDSC', "Select 'Yes' to display a list of last Q&amp;A's on the index page.");
53
54
define('_MI_SF_LAST_FAQ_SIZE', 'Last Q&amp;A size :');
55
define('_MI_SF_LAST_FAQ_SIZEDSC', 'Set the maximum size of the question in the Last Q&amp;A column.');
56
57
define('_MI_SF_QUESTION_SIZE', 'Question size :');
58
define('_MI_SF_QUESTION_SIZEDSC', 'Set the maximum size of the question as a title in the single Q&amp;A display page.');
59
60
define('_MI_SF_DISPLAY_SUBCAT_INDEX', 'Display sub-categories on index');
61
define('_MI_SF_DISPLAY_SUBCAT_INDEXDSC', "Select 'Yes' to display subcategories on the index page.");
62
63
define('_MI_SF_DISPLAY_TOPCAT_DSC', 'Display top categories description?');
64
define('_MI_SF_DISPLAY_TOPCAT_DSCDSC', "Select 'Yes' to display the description of top categories in the index and category page.");
65
66
define('_MI_SF_DISPLAY_SBCAT_DSC', 'Display sub-categories description?');
67
define('_MI_SF_DISPLAY_SBCAT_DSCDSC', "Select 'Yes' to display the description of sub-categories in the index and category page.");
68
69
define('_MI_SF_ORDERBYDATE', 'Order the Q&amp;As by date :');
70
define('_MI_SF_ORDERBYDATEDSC', 'If you set this option to "Yes", the Q&amp;As inside a category will be ordered by decending date, otherwise, they will be ordered by their weight.');
71
72
define('_MI_SF_DISPLAY_DATE_COL', "Display the 'Published on' column?");
73
define('_MI_SF_DISPLAY_DATE_COLDSC', "When the 'Summary' display type is selected, select 'Yes' to display a 'Published on' date in the Q&amp;A table on the index and category page.");
74
75
define('_MI_SF_DISPLAY_HITS_COL', "Display the 'Hits' column?");
76
define('_MI_SF_DISPLAY_HITS_COLDSC', "When the 'Summary' display type is selected, select 'Yes' to display the 'Hits' column in the Q&amp;A table on the index and category page.");
77
78
define('_MI_SF_USEIMAGENAVPAGE', 'Use the image Page Navigation:');
79
define('_MI_SF_USEIMAGENAVPAGEDSC', 'If you set this option to "Yes", the Page Navigation will be displayed with image, otherwise, the original Page Naviagation will be used.');
80
81
define('_MI_SF_ALLOWCOMMENTS', 'Control comments at the Q&amp;A level:');
82
define('_MI_SF_ALLOWCOMMENTSDSC',
83
       'If you set this option to "Yes", you\'ll see comments only on those Q&amp;A that have their comment checkbox marked. <br><br>Select "No" to have comments managed at the global level (look below under the tag "Comment rules".');
84
85
define('_MI_SF_ALLOWADMINHITS', 'Admin counter reads:');
86
define('_MI_SF_ALLOWADMINHITSDSC', 'Allow admin hits for counter stats?');
87
88
define('_MI_SF_AUTOAPPROVE_SUB_FAQ', 'Auto approve submitted Q&amp;A:');
89
define('_MI_SF_AUTOAPPROVE_SUB_FAQ_DSC', 'Auto approves submitted Q&amp;A without admin intervention.');
90
91
define('_MI_SF_AUTOAPPROVE_REQUEST', 'Auto approve requested Q&amp;A:');
92
define('_MI_SF_AUTOAPPROVE_REQUEST_DSC', 'Auto approves requested Q&amp;A without admin intervention.');
93
94
define('_MI_SF_AUTOAPPROVE_ANS', 'Auto approve answers:');
95
define('_MI_SF_AUTOAPPROVE_ANS_DSC', 'Auto approves submitted answers for open questions.');
96
97
define('_MI_SF_AUTOAPPROVE_ANS_NEW', 'Auto approve new answer:');
98
define('_MI_SF_AUTOAPPROVE_ANS_NEW_DSC', 'Auto approves new submitted answers for published Q&amp;A.');
99
100
define('_MI_SF_LASTFAQSPERCAT', 'Maximum last Q&amp;A per category:');
101
define('_MI_SF_LASTFAQSPERCATDSC', 'Maximum number of Q&amp;A to be displayed in the Info column of a category.');
102
103
define('_MI_SF_CATPERPAGE', 'Maximum Categories per page (User side):');
104
define('_MI_SF_CATPERPAGEDSC', 'Maximum number of top categories per page to be displayed at once in the user side.');
105
106
define('_MI_SF_PERPAGE', 'Maximum Q&amp;A per page (Admin side):');
107
define('_MI_SF_PERPAGEDSC', 'Maximum number of Q&amp;A per page to be displayed at once in Q&amp;A Admin.');
108
109
define('_MI_SF_PERPAGEINDEX', 'Maximum Q&amp;A per page (User side):');
110
define('_MI_SF_PERPAGEINDEXDSC', 'Maximum number of Q&amp;A  to be displayed per page in the user side.');
111
112
define('_MI_SF_INDEXWELCOMEMSG', 'Index welcome message:');
113
define('_MI_SF_INDEXWELCOMEMSGDSC', 'Welcome message to be displayed in the index page of the module.');
114
define('_MI_SF_INDEXWELCOMEMSGDEF',
115
       'In this area of our site, you will find the answers to the frequently asked questions, as well as answers to <b>How do I</b> and <b>Did you know</b> questions. Please feel free to post a comment on any Q&amp;A.');
116
117
define('_MI_SF_REQUESTINTROMSG', 'Request introduction message:');
118
define('_MI_SF_REQUESTINTROMSGDSC', 'Introduction message to be displayed in the Request a Q&amp;A page of the module.');
119
define('_MI_SF_REQUESTINTROMSGDEF',
120
       'You did not find the answer to the question you were looking for? No problem! Simply fill the following form in order to request the answer for a new question. The site administrator will review your request and publish this new question in the Open Questions section for someone to answer it!');
121
122
define('_MI_SF_OPENINTROMSG', 'Open Questions section introduction message:');
123
define('_MI_SF_OPENINTROMSGDSC', 'Introduction message to be displayed in the Open Questions section of the module.');
124
define('_MI_SF_OPENINTROMSGDEF',
125
       'Here is a list of Open Questions, that is, questions that have been submitted by users of this site but are still without answer. You can click on an open question if you want to help us with an answer.');
126
127
define('_MI_SF_USEREALNAME', 'Use the Real Name of users');
128
define('_MI_SF_USEREALNAMEDSC', 'When displaying a username, use the real name of that user if he has a set his real name.');
129
130
define('_MI_SF_HELP_PATH_SELECT', "Path of SmartFAQ's help files");
131
define('_MI_SF_HELP_PATH_SELECT_DSC',
132
       "SELECT FROM where you would LIKE TO access SmartFAQ's help files. If you downloaded the 'SmartFAQ's Help Package' AND uploaded it IN 'modules/smartfaq/doc/', you can SELECT 'Inside the module'. Alternatively, you can access the module's help file directly from docs.xoops.org by chosing this in the selector. You can also select 'Custom Path' and specify yourself the path of the help files in the next config option 'Custom path of SmartFAQ's help files'");
133
134
define('_MI_SF_HELP_PATH_CUSTOM', "Custom path of SmartFAQ's help files");
135
define('_MI_SF_HELP_PATH_CUSTOM_DSC',
136
       "If you selected 'Custom path' in the previous option 'Path of SmartFAQ's help files', please specify the URL of SmartFAQ's help files, in that format : http://www.yoursite.com/doc");
137
138
define('_MI_SF_HELP_INSIDE', 'Inside the module');
139
define('_MI_SF_HELP_CUSTOM', 'Custom Path');
140
141
//define('_MI_SF_MODERATORSEDIT','Allow moderators to edit (Enhanced moderators)');
142
//define('_MI_SF_MODERATORSEDITDSC','This option will allow moderators to edit questions and Q&amp;A within categories for which they are moderators. Otherwise, moderators can only approve or reject questions and Q&amp;A.');
143
144
// Names of admin menu items
145
define('_MI_SF_ADMENU1', 'Q&A Manager');
146
define('_MI_SF_ADMENU2', 'Categories');
147
define('_MI_SF_ADMENU3', 'Published Q&amp;A');
148
define('_MI_SF_ADMENU4', 'Open Questions');
149
define('_MI_SF_ADMENU5', 'Permissions');
150
define('_MI_SF_ADMENU6', 'Blocks and Groups');
151
define('_MI_SF_ADMENU7', 'Go to module');
152
define('_MI_SF_ADMENU8', 'Import');
153
154
//Names of Blocks and Block information
155
define('_MI_SF_ARTSNEW', 'Recent Q&amp;A List');
156
define('_MI_SF_ARTSRANDOM_DIDUNO', 'Did you know?');
157
define('_MI_SF_ARTSRANDOM_FAQ', 'Random question!');
158
define('_MI_SF_ARTSRANDOM_HOW', 'How do I...');
159
define('_MI_SF_ARTSCONTEXT', 'Contextual Q&amp;A');
160
define('_MI_SF_RECENTFAQS', 'Recent Q&amp;A (Detail)');
161
define('_MI_SF_RECENT_QUESTIONS', 'Recent Open Questions');
162
define('_MI_SF_MOST_VIEWED', 'Most viewed Q&amp;As');
163
164
// Text for notifications
165
166
define('_MI_SF_GLOBAL_FAQ_NOTIFY', 'Global Q&amp;A');
167
define('_MI_SF_GLOBAL_FAQ_NOTIFY_DSC', 'Notification options that apply to all Q&amp;A.');
168
169
define('_MI_SF_CATEGORY_FAQ_NOTIFY', 'Category Q&amp;A');
170
define('_MI_SF_CATEGORY_FAQ_NOTIFY_DSC', 'Notification options that apply to the current category.');
171
172
define('_MI_SF_FAQ_NOTIFY', 'Q&amp;A');
173
define('_MI_SF_FAQ_NOTIFY_DSC', 'Notification options that apply to this Q&amp;A.');
174
175
define('_MI_SF_GLOBAL_QUESTION_NOTIFY', 'Global Opened questions');
176
define('_MI_SF_GLOBAL_QUESTION_NOTIFY_DSC', 'Notification options that apply to all opened questions');
177
178
define('_MI_SF_CATEGORY_QUESTION_NOTIFY', 'Category Q&amp;A');
179
define('_MI_SF_CATEGORY_QUESTION_NOTIFY_DSC', 'Notification options that apply to the current category.');
180
181
define('_MI_SF_QUESTION_NOTIFY', 'Opened Question');
182
define('_MI_SF_QUESTION_NOTIFY_DSC', 'Notification options that apply to the current Opened question.');
183
184
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY', 'New category');
185
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY_CAP', 'Notify me when a new category is created.');
186
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY_DSC', 'Receive notification when a new category is created.');
187
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New category');
188
189
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY', 'Q&amp;A submitted');
190
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY_CAP', 'Notify me when any Q&amp;A is submitted and is awaiting approval.');
191
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY_DSC', 'Receive notification when any Q&amp;A is submitted and is waiting approval.');
192
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A submitted');
193
194
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY', 'New Q&amp;A published');
195
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY_CAP', 'Notify me when any new Q&amp;A is published.');
196
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY_DSC', 'Receive notification when any new Q&amp;A is published.');
197
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A published');
198
199
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY', 'New answer proposed');
200
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY_CAP', 'Notify me when a new answer is proposed for any Q&amp;A.');
201
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY_DSC', 'Receive notification when a new answer is proposed for any Q&amp;A.');
202
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
203
204
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY', 'New answer published');
205
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY_CAP', 'Notify me when a new answer is published for any Q&amp;A.');
206
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY_DSC', 'Receive notification when a new answer is published for any Q&amp;A.');
207
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer published');
208
209
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY', 'Q&amp;A submitted');
210
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY_CAP', 'Notify me when a new Q&amp;A is submitted in the current category.');
211
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY_DSC', 'Receive notification when a new Q&amp;A is submitted in the current category.');
212
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A submitted in category');
213
214
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY', 'New Q&amp;A published');
215
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY_CAP', 'Notify me when a new Q&amp;A is published in the current category.');
216
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY_DSC', 'Receive notification when a new Q&amp;A is published in the current category.');
217
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A published in category');
218
219
define('_MI_SF_CATEGORY_FAQ_ANSWER_PROPOSED_NOTIFY', 'New answer proposed');
220
define('_MI_SF_CATEGORY_FAQ_ANSWER_PROPOSED_NOTIFY_CAP', 'Notify me when a new answer is proposed for a Q&amp;A in this category.');
221
define('_MI_SF_CATEGORY_FAQ_ANSWER_PROPOSED_NOTIFY_DSC', 'Receive notification when a new answer is proposed for a Q&amp;A in this category.');
222
define('_MI_SF_CATEGORY_FAQ_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
223
224
define('_MI_SF_CATEGORY_FAQ_ANSWER_PUBLISHED_NOTIFY', 'New answer published');
225
define('_MI_SF_CATEGORY_FAQ_ANSWER_PUBLISHED_NOTIFY_CAP', 'Notify me when a new answer is published for a Q&amp;A in this category.');
226
define('_MI_SF_CATEGORY_FAQ_ANSWER_PUBLISHED_NOTIFY_DSC', 'Receive notification when a new answer is published for a Q&amp;A in this category.');
227
define('_MI_SF_CATEGORY_FAQ_ANSWER_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer published');
228
229
define('_MI_SF_FAQ_REJECTED_NOTIFY', 'Q&amp;A rejected');
230
define('_MI_SF_FAQ_REJECTED_NOTIFY_CAP', 'Notify me if this Q&amp;A is rejected.');
231
define('_MI_SF_FAQ_REJECTED_NOTIFY_DSC', 'Receive notification if this Q&amp;A is rejected.');
232
define('_MI_SF_FAQ_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Q&amp;A rejected');
233
234
define('_MI_SF_FAQ_APPROVED_NOTIFY', 'Q&amp;A approved');
235
define('_MI_SF_FAQ_APPROVED_NOTIFY_CAP', 'Notify me when this Q&amp;A is approved.');
236
define('_MI_SF_FAQ_APPROVED_NOTIFY_DSC', 'Receive notification when this Q&amp;A is approved.');
237
define('_MI_SF_FAQ_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Q&amp;A approved');
238
239
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY', 'Answer approved');
240
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY_CAP', 'Notify me when this answer is approved.');
241
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY_DSC', 'Receive notification when this answer is approved.');
242
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer approved');
243
244
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY', 'Answer rejected');
245
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY_CAP', 'Notify me if this answer is rejected.');
246
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY_DSC', 'Receive notification if this answer is rejected.');
247
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer rejected');
248
249
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY', 'Question submitted');
250
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY_CAP', 'Notify me when any question is submitted and is waiting approval.');
251
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY_DSC', 'Receive notification when any question is submitted and is waiting approval.');
252
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question submitted');
253
254
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY', 'Question published');
255
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY_CAP', 'Notify me when any question is published in the Open Questions section.');
256
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY_DSC', 'Receive notification when any question is published in the Open Questions section.');
257
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question published');
258
259
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY', 'Answer proposed');
260
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY_CAP', 'Notify me when an answer is proposed for any open question.');
261
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY_DSC', 'Receive notification when an answer is proposed for any open question.');
262
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
263
264
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY', 'Question submitted');
265
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY_CAP', 'Notify me when a question is submitted in the current category.');
266
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY_DSC', 'Receive notification when a question is submitted in the current category.');
267
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question submitted');
268
269
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY', 'Question published');
270
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY_CAP', 'Notify me when a question is published in the current category.');
271
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY_DSC', 'Receive notification when a question is published in the current category.');
272
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question published');
273
274
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY', 'Answer proposed');
275
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY_CAP', 'Notify me when a new answer is proposed for an opened question in this category.');
276
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY_DSC', 'Receive notification when a new answer is proposed for an opened question in this category.');
277
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
278
279
define('_MI_SF_QUESTION_REJECTED_NOTIFY', 'Question rejected');
280
define('_MI_SF_QUESTION_REJECTED_NOTIFY_CAP', 'Notify me if this question is rejected.');
281
define('_MI_SF_QUESTION_REJECTED_NOTIFY_DSC', 'Receive notification if this question is rejected.');
282
define('_MI_SF_QUESTION_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Question rejected');
283
284
define('_MI_SF_QUESTION_APPROVED_NOTIFY', 'Question approved');
285
define('_MI_SF_QUESTION_APPROVED_NOTIFY_CAP', 'Notify me when this question is approved.');
286
define('_MI_SF_QUESTION_APPROVED_NOTIFY_DSC', 'Receive notification when this question is approved.');
287
define('_MI_SF_QUESTION_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Question approved');
288
289
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY', 'Answer approved');
290
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY_CAP', 'Notify me when this answer is approved.');
291
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY_DSC', 'Receive notification when this answer is approved.');
292
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer approved');
293
294
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY', 'Answer rejected');
295
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY_CAP', 'Notify me if this answer is rejected.');
296
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY_DSC', 'Receive notification if this answer is rejected.');
297
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer rejected');
298
299
// About.php constants
300
define('_MI_SF_AUTHOR_INFO', 'Developers');
301
define('_MI_SF_DEVELOPER_LEAD', 'Lead developer(s)');
302
define('_MI_SF_DEVELOPER_CONTRIBUTOR', 'Contributor(s)');
303
define('_MI_SF_DEVELOPER_WEBSITE', 'Website');
304
define('_MI_SF_DEVELOPER_EMAIL', 'Email');
305
define('_MI_SF_DEVELOPER_CREDITS', 'Credits');
306
define('_MI_SF_DEMO_SITE', 'SmartFactory Demo Site');
307
define('_MI_SF_MODULE_INFO', 'Module Developpment Informations');
308
define('_MI_SF_MODULE_STATUS', 'Status');
309
define('_MI_SF_MODULE_RELEASE_DATE', 'Release date');
310
define('_MI_SF_MODULE_DEMO', 'Demo Site');
311
define('_MI_SF_MODULE_SUPPORT', 'Official support site');
312
define('_MI_SF_MODULE_BUG', 'Report a bug for this module');
313
define('_MI_SF_MODULE_FEATURE', 'Suggest a new feature for this module');
314
define('_MI_SF_MODULE_DISCLAIMER', 'Disclaimer');
315
define('_MI_SF_AUTHOR_WORD', "The Author's Word");
316
define('_MI_SF_VERSION_HISTORY', 'Version History');
317
318
// Beta
319
define('_MI_SF_WARNING_BETA', 'This module comes as is, without any guarantees whatsoever.
320
This module is BETA, meaning it is still under active development. This release is meant for
321
<b>testing purposes only</b> and we <b>strongly</b> recommend that you do not use it on a live
322
website or in a production environment.');
323
324
// RC
325
define('_MI_SF_WARNING_RC', 'This module comes as is, without any guarantees whatsoever. This module
326
is a Release Candidate and should not be used on a production web site. The module is still under
327
active development and its use is under your own responsibility, which means the author is not responsible.');
328
329
// Final
330
define('_MI_SF_WARNING_FINAL', 'This module comes as is, without any guarantees whatsoever. Although this
331
module is not beta, it is still under active development. This release can be used in a live website
332
or a production environment, but its use is under your own responsibility, which means the author
333
is not responsible.');
334
335
//1.11 RC1
336
337
define('_MI_SF_EDITOR', 'Editor to use (admin):');
338
define('_MI_SF_EDITORCHOICE',
339
       "Select the editor to use for admin side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
340
define('_MI_SF_EDITORUSER', 'Editor to use (user):');
341
define('_MI_SF_EDITORCHOICEUSER',
342
       "Select the editor to use for user side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
343
344
//1.11 RC2
345
346
define('_MI_SF_MAGICK', 'ImageMagick');
347
define('_MI_SF_NETPBM', 'Netpbm');
348
define('_MI_SF_GD1', 'GD1 Library');
349
define('_MI_SF_GD2', 'GD2 Library');
350
define('_MI_SF_AUTO', 'AUTO');
351
352
//------------------------------
353
354
define('_MI_SF_DIR_ATTACHMENT', 'Attachments physical path.');
355
define('_MI_SF_DIR_ATTACHMENT_DESC',
356
       "Physical path only needs to be set from your xoops root and not before, for example you may have attachments uploaded to www.yoururl.com/uploads/newbb the path entered would then be '/uploads/newbb' never include a trailing slash '/' the thumbnails path becomes '/uploads/newbb/thumbs'");
357
define('_MI_SF_PATH_MAGICK', 'Path for ImageMagick');
358
define('_MI_SF_PATH_MAGICK_DESC', "Usually it is '/usr/bin/X11'. Leave it BLANK if you do not have ImageMagicK installed or for autodetecting.");
359
define('_MI_SF_SUBFORUM_DISPLAY', 'Display Mode of subforums on index page');
360
define('_MI_SF_SUBFORUM_DISPLAY_DESC', 'Choose one of the methods to display subforums');
361
define('_MI_SF_SUBFORUM_EXPAND', 'Expand');
362
define('_MI_SF_SUBFORUM_COLLAPSE', 'Collapse');
363
define('_MI_SF_SUBFORUM_HIDDEN', 'Hidden');
364
define('_MI_SF_POST_EXCERPT', 'Post excerpt on forum page');
365
define('_MI_SF_POST_EXCERPT_DESC', 'Length of post excerpt by mouse over. 0 for no excerpt.');
366
define('_MI_SF_PATH_NETPBM', 'Path for Netpbm');
367
define('_MI_SF_PATH_NETPBM_DESC', "Usually it is '/usr/bin'. Leave it BLANK if you do not have Netpbm installed or  for autodetecting.");
368
define('_MI_SF_IMAGELIB', 'Select the Image library to use');
369
define('_MI_SF_IMAGELIB_DESC', 'Select which Image library to use for creating Thumbnails. Leave AUTO for automatic choice.');
370
define('_MI_SF_MAX_IMG_WIDTH', 'Maximum Image Width');
371
define('_MI_SF_MAX_IMG_WIDTH_DESC',
372
       'Sets the maximum allowed <strong>Width</strong> size of an uploaded image otherwise thumbnail will be used. <br >Input 0 if you do not want to create thumbnails.');
373
define('_MI_SF_MAX_IMG_HEIGHT', 'Maximum height of an image');
374
define('_MI_SF_MAX_IMG_HEIGHT_DESC', 'Sets the maximum allowed height of an uploaded image.');
375
define('_MI_SF_MAX_IMAGE_WIDTH', 'Maximum Image Width for creating thumbnail');
376
define('_MI_SF_MAX_IMAGE_WIDTH_DESC', 'Sets the maximum width of an uploaded image to create thumbnail. <br >Image with width larger than the value will not use thumbnail.');
377
define('_MI_SF_MAX_IMAGE_HEIGHT', 'Maximum Image Height for creating thumbnail');
378
define('_MI_SF_MAX_IMAGE_HEIGHT_DESC', 'Sets the maximum height of an uploaded image to create thumbnail. <br >Image with height larger than the value will not use thumbnail.');
379
380
define('_MI_SF_MAX_IMAGE_SIZE', 'Size in KB');
381
define('_MI_SF_MAX_IMAGE_SIZE_DESC', 'Indicate the maximum file size in KB');
382
383
define('_AM_SF_ALLOWED_EXTENSIONS',
384
       "Allowed Extensions:<span style='font-size: xx-small; font-weight: normal; display: block;'>'*' indicates no limititations.<br> Extensions delimited by '|'</span>");
385
386
define('_MI_SF_USERATTACH_ENABLE', 'Display attachments only for registered users');
387
define('_MI_SF_USERATTACH_ENABLE_DESC', 'shows attachments in the forum only after logging in.');
388
389
define('_MI_SF_MEDIA_ENABLE', 'Enable Media Features');
390
define('_MI_SF_MEDIA_ENABLE_DESC', 'Display attached Images directly in the post.');
391
//1.12
392
// The name of this module
393
define('_MI_SF_NAME', _MI_SF_MD_NAME);
394
395
//Help
396
define('_MI_SF_DIRNAME', basename(dirname(dirname(__DIR__))));
397
define('_MI_SF_HELP_HEADER', __DIR__.'/help/helpheader.html');
398
define('_MI_SF_BACK_2_ADMIN', 'Back to Administration of ');
399
define('_MI_SF_OVERVIEW', 'Overview');
400
401
//define('_MI_SF_HELP_DIR', __DIR__);
0 ignored issues
show
Unused Code Comprehensibility introduced by
75% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
402
403
//help multi-page
404
define('_MI_SF_DISCLAIMER', 'Disclaimer');
405
define('_MI_SF_LICENSE', 'License');
406
define('_MI_SF_SUPPORT', 'Support');
407