Completed
Branch master (1b2f30)
by Michael
06:29 queued 03:22
created

language/english/modinfo.php (2 issues)

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
0 ignored issues
show
Coding Style Compatibility introduced by
For compatibility and reusability of your code, PSR1 recommends that a file should introduce either new symbols (like classes, functions, etc.) or have side-effects (like outputting something, or including other files), but not both at the same time. The first symbol is defined on line 12 and the first side effect is on line 11.

The PSR-1: Basic Coding Standard recommends that a file should either introduce new symbols, that is classes, functions, constants or similar, or have side effects. Side effects are anything that executes logic, like for example printing output, changing ini settings or writing to a file.

The idea behind this recommendation is that merely auto-loading a class should not change the state of an application. It also promotes a cleaner style of programming and makes your code less prone to errors, because the logic is not spread out all over the place.

To learn more about the PSR-1, please see the PHP-FIG site on the PSR-1.

Loading history...
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', "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.");
44
define('_MI_SF_DISPLAYTYPE_SUMMARY', 'Summary View');
45
define('_MI_SF_DISPLAYTYPE_FULL', 'Full View');
46
47
define('_MI_SF_DISPLAY_LAST_FAQ', 'Display last Q&amp;A column?');
48
define('_MI_SF_DISPLAY_LAST_FAQDSC', "Select 'Yes' to display the last Q&amp;A in each category in the index and category page.");
49
50
define('_MI_SF_DISPLAY_LAST_FAQS', 'Display a list of last Q&amp;As?');
51
define('_MI_SF_DISPLAY_LAST_FAQSDSC', "Select 'Yes' to display a list of last Q&amp;A's on the index page.");
52
53
define('_MI_SF_LAST_FAQ_SIZE', 'Last Q&amp;A size :');
54
define('_MI_SF_LAST_FAQ_SIZEDSC', 'Set the maximum size of the question in the Last Q&amp;A column.');
55
56
define('_MI_SF_QUESTION_SIZE', 'Question size :');
57
define('_MI_SF_QUESTION_SIZEDSC', 'Set the maximum size of the question as a title in the single Q&amp;A display page.');
58
59
define('_MI_SF_DISPLAY_SUBCAT_INDEX', 'Display sub-categories on index');
60
define('_MI_SF_DISPLAY_SUBCAT_INDEXDSC', "Select 'Yes' to display subcategories on the index page.");
61
62
define('_MI_SF_DISPLAY_TOPCAT_DSC', 'Display top categories description?');
63
define('_MI_SF_DISPLAY_TOPCAT_DSCDSC', "Select 'Yes' to display the description of top categories in the index and category page.");
64
65
define('_MI_SF_DISPLAY_SBCAT_DSC', 'Display sub-categories description?');
66
define('_MI_SF_DISPLAY_SBCAT_DSCDSC', "Select 'Yes' to display the description of sub-categories in the index and category page.");
67
68
define('_MI_SF_ORDERBYDATE', 'Order the Q&amp;As by date :');
69
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.');
70
71
define('_MI_SF_DISPLAY_DATE_COL', "Display the 'Published on' column?");
72
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.");
73
74
define('_MI_SF_DISPLAY_HITS_COL', "Display the 'Hits' column?");
75
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.");
76
77
define('_MI_SF_USEIMAGENAVPAGE', 'Use the image Page Navigation:');
78
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.');
79
80
define('_MI_SF_ALLOWCOMMENTS', 'Control comments at the Q&amp;A level:');
81
define('_MI_SF_ALLOWCOMMENTSDSC', '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".');
82
83
define('_MI_SF_ALLOWADMINHITS', 'Admin counter reads:');
84
define('_MI_SF_ALLOWADMINHITSDSC', 'Allow admin hits for counter stats?');
85
86
define('_MI_SF_AUTOAPPROVE_SUB_FAQ', 'Auto approve submitted Q&amp;A:');
87
define('_MI_SF_AUTOAPPROVE_SUB_FAQ_DSC', 'Auto approves submitted Q&amp;A without admin intervention.');
88
89
define('_MI_SF_AUTOAPPROVE_REQUEST', 'Auto approve requested Q&amp;A:');
90
define('_MI_SF_AUTOAPPROVE_REQUEST_DSC', 'Auto approves requested Q&amp;A without admin intervention.');
91
92
define('_MI_SF_AUTOAPPROVE_ANS', 'Auto approve answers:');
93
define('_MI_SF_AUTOAPPROVE_ANS_DSC', 'Auto approves submitted answers for open questions.');
94
95
define('_MI_SF_AUTOAPPROVE_ANS_NEW', 'Auto approve new answer:');
96
define('_MI_SF_AUTOAPPROVE_ANS_NEW_DSC', 'Auto approves new submitted answers for published Q&amp;A.');
97
98
define('_MI_SF_LASTFAQSPERCAT', 'Maximum last Q&amp;A per category:');
99
define('_MI_SF_LASTFAQSPERCATDSC', 'Maximum number of Q&amp;A to be displayed in the Info column of a category.');
100
101
define('_MI_SF_CATPERPAGE', 'Maximum Categories per page (User side):');
102
define('_MI_SF_CATPERPAGEDSC', 'Maximum number of top categories per page to be displayed at once in the user side.');
103
104
define('_MI_SF_PERPAGE', 'Maximum Q&amp;A per page (Admin side):');
105
define('_MI_SF_PERPAGEDSC', 'Maximum number of Q&amp;A per page to be displayed at once in Q&amp;A Admin.');
106
107
define('_MI_SF_PERPAGEINDEX', 'Maximum Q&amp;A per page (User side):');
108
define('_MI_SF_PERPAGEINDEXDSC', 'Maximum number of Q&amp;A  to be displayed per page in the user side.');
109
110
define('_MI_SF_INDEXWELCOMEMSG', 'Index welcome message:');
111
define('_MI_SF_INDEXWELCOMEMSGDSC', 'Welcome message to be displayed in the index page of the module.');
112
define('_MI_SF_INDEXWELCOMEMSGDEF', '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.');
113
114
define('_MI_SF_REQUESTINTROMSG', 'Request introduction message:');
115
define('_MI_SF_REQUESTINTROMSGDSC', 'Introduction message to be displayed in the Request a Q&amp;A page of the module.');
116
define('_MI_SF_REQUESTINTROMSGDEF', '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!');
117
118
define('_MI_SF_OPENINTROMSG', 'Open Questions section introduction message:');
119
define('_MI_SF_OPENINTROMSGDSC', 'Introduction message to be displayed in the Open Questions section of the module.');
120
define('_MI_SF_OPENINTROMSGDEF', '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.');
121
122
define('_MI_SF_USEREALNAME', 'Use the Real Name of users');
123
define('_MI_SF_USEREALNAMEDSC', 'When displaying a username, use the real name of that user if he has a set his real name.');
124
125
define('_MI_SF_HELP_PATH_SELECT', "Path of SmartFAQ's help files");
126
define('_MI_SF_HELP_PATH_SELECT_DSC', "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'");
127
128
define('_MI_SF_HELP_PATH_CUSTOM', "Custom path of SmartFAQ's help files");
129
define('_MI_SF_HELP_PATH_CUSTOM_DSC', "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");
130
131
define('_MI_SF_HELP_INSIDE', 'Inside the module');
132
define('_MI_SF_HELP_CUSTOM', 'Custom Path');
133
134
//define('_MI_SF_MODERATORSEDIT','Allow moderators to edit (Enhanced moderators)');
0 ignored issues
show
Unused Code Comprehensibility introduced by
80% 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...
135
//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.');
136
137
// Names of admin menu items
138
define('_MI_SF_ADMENU1', 'Q&A Manager');
139
define('_MI_SF_ADMENU2', 'Categories');
140
define('_MI_SF_ADMENU3', 'Published Q&amp;A');
141
define('_MI_SF_ADMENU4', 'Open Questions');
142
define('_MI_SF_ADMENU5', 'Permissions');
143
define('_MI_SF_ADMENU6', 'Blocks and Groups');
144
define('_MI_SF_ADMENU7', 'Go to module');
145
define('_MI_SF_ADMENU8', 'Import');
146
147
//Names of Blocks and Block information
148
define('_MI_SF_ARTSNEW', 'Recent Q&amp;A List');
149
define('_MI_SF_ARTSRANDOM_DIDUNO', 'Did you know?');
150
define('_MI_SF_ARTSRANDOM_FAQ', 'Random question!');
151
define('_MI_SF_ARTSRANDOM_HOW', 'How do I...');
152
define('_MI_SF_ARTSCONTEXT', 'Contextual Q&amp;A');
153
define('_MI_SF_RECENTFAQS', 'Recent Q&amp;A (Detail)');
154
define('_MI_SF_RECENT_QUESTIONS', 'Recent Open Questions');
155
define('_MI_SF_MOST_VIEWED', 'Most viewed Q&amp;As');
156
157
// Text for notifications
158
159
define('_MI_SF_GLOBAL_FAQ_NOTIFY', 'Global Q&amp;A');
160
define('_MI_SF_GLOBAL_FAQ_NOTIFY_DSC', 'Notification options that apply to all Q&amp;A.');
161
162
define('_MI_SF_CATEGORY_FAQ_NOTIFY', 'Category Q&amp;A');
163
define('_MI_SF_CATEGORY_FAQ_NOTIFY_DSC', 'Notification options that apply to the current category.');
164
165
define('_MI_SF_FAQ_NOTIFY', 'Q&amp;A');
166
define('_MI_SF_FAQ_NOTIFY_DSC', 'Notification options that apply to this Q&amp;A.');
167
168
define('_MI_SF_GLOBAL_QUESTION_NOTIFY', 'Global Opened questions');
169
define('_MI_SF_GLOBAL_QUESTION_NOTIFY_DSC', 'Notification options that apply to all opened questions');
170
171
define('_MI_SF_CATEGORY_QUESTION_NOTIFY', 'Category Q&amp;A');
172
define('_MI_SF_CATEGORY_QUESTION_NOTIFY_DSC', 'Notification options that apply to the current category.');
173
174
define('_MI_SF_QUESTION_NOTIFY', 'Opened Question');
175
define('_MI_SF_QUESTION_NOTIFY_DSC', 'Notification options that apply to the current Opened question.');
176
177
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY', 'New category');
178
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY_CAP', 'Notify me when a new category is created.');
179
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY_DSC', 'Receive notification when a new category is created.');
180
define('_MI_SF_GLOBAL_FAQ_CATEGORY_CREATED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New category');
181
182
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY', 'Q&amp;A submitted');
183
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY_CAP', 'Notify me when any Q&amp;A is submitted and is awaiting approval.');
184
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY_DSC', 'Receive notification when any Q&amp;A is submitted and is waiting approval.');
185
define('_MI_SF_GLOBAL_FAQ_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A submitted');
186
187
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY', 'New Q&amp;A published');
188
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY_CAP', 'Notify me when any new Q&amp;A is published.');
189
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY_DSC', 'Receive notification when any new Q&amp;A is published.');
190
define('_MI_SF_GLOBAL_FAQ_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A published');
191
192
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY', 'New answer proposed');
193
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY_CAP', 'Notify me when a new answer is proposed for any Q&amp;A.');
194
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY_DSC', 'Receive notification when a new answer is proposed for any Q&amp;A.');
195
define('_MI_SF_GLOBAL_FAQ_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
196
197
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY', 'New answer published');
198
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY_CAP', 'Notify me when a new answer is published for any Q&amp;A.');
199
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY_DSC', 'Receive notification when a new answer is published for any Q&amp;A.');
200
define('_MI_SF_GLOBAL_FAQ_ANSWER_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer published');
201
202
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY', 'Q&amp;A submitted');
203
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY_CAP', 'Notify me when a new Q&amp;A is submitted in the current category.');
204
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY_DSC', 'Receive notification when a new Q&amp;A is submitted in the current category.');
205
define('_MI_SF_CATEGORY_FAQ_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A submitted in category');
206
207
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY', 'New Q&amp;A published');
208
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY_CAP', 'Notify me when a new Q&amp;A is published in the current category.');
209
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY_DSC', 'Receive notification when a new Q&amp;A is published in the current category.');
210
define('_MI_SF_CATEGORY_FAQ_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Q&amp;A published in category');
211
212
define('_MI_SF_CATEGORY_FAQ_ANSWER_PROPOSED_NOTIFY', 'New answer proposed');
213
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.');
214
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.');
215
define('_MI_SF_CATEGORY_FAQ_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
216
217
define('_MI_SF_CATEGORY_FAQ_ANSWER_PUBLISHED_NOTIFY', 'New answer published');
218
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.');
219
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.');
220
define('_MI_SF_CATEGORY_FAQ_ANSWER_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer published');
221
222
define('_MI_SF_FAQ_REJECTED_NOTIFY', 'Q&amp;A rejected');
223
define('_MI_SF_FAQ_REJECTED_NOTIFY_CAP', 'Notify me if this Q&amp;A is rejected.');
224
define('_MI_SF_FAQ_REJECTED_NOTIFY_DSC', 'Receive notification if this Q&amp;A is rejected.');
225
define('_MI_SF_FAQ_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Q&amp;A rejected');
226
227
define('_MI_SF_FAQ_APPROVED_NOTIFY', 'Q&amp;A approved');
228
define('_MI_SF_FAQ_APPROVED_NOTIFY_CAP', 'Notify me when this Q&amp;A is approved.');
229
define('_MI_SF_FAQ_APPROVED_NOTIFY_DSC', 'Receive notification when this Q&amp;A is approved.');
230
define('_MI_SF_FAQ_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Q&amp;A approved');
231
232
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY', 'Answer approved');
233
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY_CAP', 'Notify me when this answer is approved.');
234
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY_DSC', 'Receive notification when this answer is approved.');
235
define('_MI_SF_FAQ_ANSWER_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer approved');
236
237
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY', 'Answer rejected');
238
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY_CAP', 'Notify me if this answer is rejected.');
239
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY_DSC', 'Receive notification if this answer is rejected.');
240
define('_MI_SF_FAQ_ANSWER_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer rejected');
241
242
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY', 'Question submitted');
243
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY_CAP', 'Notify me when any question is submitted and is waiting approval.');
244
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY_DSC', 'Receive notification when any question is submitted and is waiting approval.');
245
define('_MI_SF_GLOBAL_QUESTION_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question submitted');
246
247
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY', 'Question published');
248
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY_CAP', 'Notify me when any question is published in the Open Questions section.');
249
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY_DSC', 'Receive notification when any question is published in the Open Questions section.');
250
define('_MI_SF_GLOBAL_QUESTION_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question published');
251
252
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY', 'Answer proposed');
253
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY_CAP', 'Notify me when an answer is proposed for any open question.');
254
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY_DSC', 'Receive notification when an answer is proposed for any open question.');
255
define('_MI_SF_GLOBAL_QUESTION_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
256
257
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY', 'Question submitted');
258
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY_CAP', 'Notify me when a question is submitted in the current category.');
259
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY_DSC', 'Receive notification when a question is submitted in the current category.');
260
define('_MI_SF_CATEGORY_QUESTION_SUBMITTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question submitted');
261
262
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY', 'Question published');
263
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY_CAP', 'Notify me when a question is published in the current category.');
264
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY_DSC', 'Receive notification when a question is published in the current category.');
265
define('_MI_SF_CATEGORY_QUESTION_PUBLISHED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New question published');
266
267
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY', 'Answer proposed');
268
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY_CAP', 'Notify me when a new answer is proposed for an opened question in this category.');
269
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY_DSC', 'Receive notification when a new answer is proposed for an opened question in this category.');
270
define('_MI_SF_CATEGORY_QUESTION_ANSWER_PROPOSED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New answer proposed');
271
272
define('_MI_SF_QUESTION_REJECTED_NOTIFY', 'Question rejected');
273
define('_MI_SF_QUESTION_REJECTED_NOTIFY_CAP', 'Notify me if this question is rejected.');
274
define('_MI_SF_QUESTION_REJECTED_NOTIFY_DSC', 'Receive notification if this question is rejected.');
275
define('_MI_SF_QUESTION_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Question rejected');
276
277
define('_MI_SF_QUESTION_APPROVED_NOTIFY', 'Question approved');
278
define('_MI_SF_QUESTION_APPROVED_NOTIFY_CAP', 'Notify me when this question is approved.');
279
define('_MI_SF_QUESTION_APPROVED_NOTIFY_DSC', 'Receive notification when this question is approved.');
280
define('_MI_SF_QUESTION_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Question approved');
281
282
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY', 'Answer approved');
283
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY_CAP', 'Notify me when this answer is approved.');
284
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY_DSC', 'Receive notification when this answer is approved.');
285
define('_MI_SF_QUESTION_ANSWER_APPROVED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer approved');
286
287
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY', 'Answer rejected');
288
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY_CAP', 'Notify me if this answer is rejected.');
289
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY_DSC', 'Receive notification if this answer is rejected.');
290
define('_MI_SF_QUESTION_ANSWER_REJECTED_NOTIFY_SBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Answer rejected');
291
292
// About.php constants
293
define('_MI_SF_AUTHOR_INFO', 'Developers');
294
define('_MI_SF_DEVELOPER_LEAD', 'Lead developer(s)');
295
define('_MI_SF_DEVELOPER_CONTRIBUTOR', 'Contributor(s)');
296
define('_MI_SF_DEVELOPER_WEBSITE', 'Website');
297
define('_MI_SF_DEVELOPER_EMAIL', 'Email');
298
define('_MI_SF_DEVELOPER_CREDITS', 'Credits');
299
define('_MI_SF_DEMO_SITE', 'SmartFactory Demo Site');
300
define('_MI_SF_MODULE_INFO', 'Module Developpment Informations');
301
define('_MI_SF_MODULE_STATUS', 'Status');
302
define('_MI_SF_MODULE_RELEASE_DATE', 'Release date');
303
define('_MI_SF_MODULE_DEMO', 'Demo Site');
304
define('_MI_SF_MODULE_SUPPORT', 'Official support site');
305
define('_MI_SF_MODULE_BUG', 'Report a bug for this module');
306
define('_MI_SF_MODULE_FEATURE', 'Suggest a new feature for this module');
307
define('_MI_SF_MODULE_DISCLAIMER', 'Disclaimer');
308
define('_MI_SF_AUTHOR_WORD', "The Author's Word");
309
define('_MI_SF_VERSION_HISTORY', 'Version History');
310
311
// Beta
312
define('_MI_SF_WARNING_BETA', 'This module comes as is, without any guarantees whatsoever.
313
This module is BETA, meaning it is still under active development. This release is meant for
314
<b>testing purposes only</b> and we <b>strongly</b> recommend that you do not use it on a live
315
website or in a production environment.');
316
317
// RC
318
define('_MI_SF_WARNING_RC', 'This module comes as is, without any guarantees whatsoever. This module
319
is a Release Candidate and should not be used on a production web site. The module is still under
320
active development and its use is under your own responsibility, which means the author is not responsible.');
321
322
// Final
323
define('_MI_SF_WARNING_FINAL', 'This module comes as is, without any guarantees whatsoever. Although this
324
module is not beta, it is still under active development. This release can be used in a live website
325
or a production environment, but its use is under your own responsibility, which means the author
326
is not responsible.');
327
328
//1.11 RC1
329
330
define('_MI_SF_EDITOR', 'Editor to use (admin):');
331
define('_MI_SF_EDITORCHOICE', "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");
332
define('_MI_SF_EDITORUSER', 'Editor to use (user):');
333
define('_MI_SF_EDITORCHOICEUSER', "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");
334
335
//1.11 RC2
336
337
define('_MI_SF_MAGICK', 'ImageMagick');
338
define('_MI_SF_NETPBM', 'Netpbm');
339
define('_MI_SF_GD1', 'GD1 Library');
340
define('_MI_SF_GD2', 'GD2 Library');
341
define('_MI_SF_AUTO', 'AUTO');
342
343
//------------------------------
344
345
define('_MI_SF_DIR_ATTACHMENT', 'Attachments physical path.');
346
define('_MI_SF_DIR_ATTACHMENT_DESC', "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'");
347
define('_MI_SF_PATH_MAGICK', 'Path for ImageMagick');
348
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.");
349
define('_MI_SF_SUBFORUM_DISPLAY', 'Display Mode of subforums on index page');
350
define('_MI_SF_SUBFORUM_DISPLAY_DESC', 'Choose one of the methods to display subforums');
351
define('_MI_SF_SUBFORUM_EXPAND', 'Expand');
352
define('_MI_SF_SUBFORUM_COLLAPSE', 'Collapse');
353
define('_MI_SF_SUBFORUM_HIDDEN', 'Hidden');
354
define('_MI_SF_POST_EXCERPT', 'Post excerpt on forum page');
355
define('_MI_SF_POST_EXCERPT_DESC', 'Length of post excerpt by mouse over. 0 for no excerpt.');
356
define('_MI_SF_PATH_NETPBM', 'Path for Netpbm');
357
define('_MI_SF_PATH_NETPBM_DESC', "Usually it is '/usr/bin'. Leave it BLANK if you do not have Netpbm installed or  for autodetecting.");
358
define('_MI_SF_IMAGELIB', 'Select the Image library to use');
359
define('_MI_SF_IMAGELIB_DESC', 'Select which Image library to use for creating Thumbnails. Leave AUTO for automatic choice.');
360
define('_MI_SF_MAX_IMG_WIDTH', 'Maximum Image Width');
361
define('_MI_SF_MAX_IMG_WIDTH_DESC', '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.');
362
define('_MI_SF_MAX_IMG_HEIGHT', 'Maximum height of an image');
363
define('_MI_SF_MAX_IMG_HEIGHT_DESC', 'Sets the maximum allowed height of an uploaded image.');
364
define('_MI_SF_MAX_IMAGE_WIDTH', 'Maximum Image Width for creating thumbnail');
365
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.');
366
define('_MI_SF_MAX_IMAGE_HEIGHT', 'Maximum Image Height for creating thumbnail');
367
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.');
368
369
define('_MI_SF_MAX_IMAGE_SIZE', 'Size in KB');
370
define('_MI_SF_MAX_IMAGE_SIZE_DESC', 'Indicate the maximum file size in KB');
371
372
define('_AM_SF_ALLOWED_EXTENSIONS', "Allowed Extensions:<span style='font-size: xx-small; font-weight: normal; display: block;'>'*' indicates no limititations.<br /> Extensions delimited by '|'</span>");
373
374
define('_MI_SF_USERATTACH_ENABLE', 'Display attachments only for registered users');
375
define('_MI_SF_USERATTACH_ENABLE_DESC', 'shows attachments in the forum only after logging in.');
376
377
define('_MI_SF_MEDIA_ENABLE', 'Enable Media Features');
378
define('_MI_SF_MEDIA_ENABLE_DESC', 'Display attached Images directly in the post.');
379