Completed
Push — master ( 6118ec...ed7d20 )
by Michael
03:02
created
language/english/main.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 define('_MD_SF_CONTEXTMODULELINK', 'Contextually linked to this module');
28 28
 define('_MD_SF_CONTEXTMODULELINK_FAQ', 'Contextually linked to this module');
29 29
 define('_MD_SF_CONTEXTMODULELINK_FAQ_DSC',
30
-       "Select the module to which this Q&A will be linked. If the Contextual Q&A block is visible on that module, the 'How do I' statement of this Q&A will be displayed.");
30
+        "Select the module to which this Q&A will be linked. If the Contextual Q&A block is visible on that module, the 'How do I' statement of this Q&A will be displayed.");
31 31
 define('_MD_SF_CONTEXTPAGE', 'Contextually linked to this URL');
32 32
 define('_MD_SF_CONTEXTPAGEDEF', 'Contextual Page');
33 33
 define('_MD_SF_CONTEXTPAGEDEF_DSC', 'Page for which this Q&amp;A gives explanation <b>Example :</b> modules/newbb');
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 define('_MD_SF_ERRORSAVINGDB', 'ERROR: Database has NOT been Updated due to an Error!');
54 54
 define('_MD_SF_EXACTURL', 'Exact URL?');
55 55
 define('_MD_SF_EXACTURL_DSC',
56
-       "If set to 'Yes', the Q&amp;A will only display in the'Specific URL set above'. If set to 'No', the Q&amp;A will be displayed all pages that match a part of the root of the specific URL.ie modules/newbb/*.php");
56
+        "If set to 'Yes', the Q&amp;A will only display in the'Specific URL set above'. If set to 'No', the Q&amp;A will be displayed all pages that match a part of the root of the specific URL.ie modules/newbb/*.php");
57 57
 define('_MD_SF_FAQ_NEW_ANSWER_NEED_APPROBATION', 'Your answer was submitted successfully and will be reviewed by a moderator.');
58 58
 define('_MD_SF_FAQ_NEW_ANSWER_PUBLISHED', 'Your answer was submitted successfully and will be automatically published in the Q&amp;A section, as a replacement of the original answer.');
59 59
 define('_MD_SF_FAQCOMEFROM', 'This Q&amp;A was found on ');
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
 define('_MD_SF_MAIL', 'Send Q&amp;A');
78 78
 define('_MD_SF_MAINHEAD', 'Welcome to the');
79 79
 define('_MD_SF_MAININTRO',
80
-       "In this area of the site, you will find the answers to the frequently asked questions. Each Q&amp;A is placed in a category for easier finding. This is the section from where the random Q&amp;As in the right column of the site come from. Should you not find the answer to a particular question, don't hesitate to <a href='"
81
-       . XOOPS_URL
82
-       . "/forms/askus/form.php'>Ask us a Question!</a>");
80
+        "In this area of the site, you will find the answers to the frequently asked questions. Each Q&amp;A is placed in a category for easier finding. This is the section from where the random Q&amp;As in the right column of the site come from. Should you not find the answer to a particular question, don't hesitate to <a href='"
81
+        . XOOPS_URL
82
+        . "/forms/askus/form.php'>Ask us a Question!</a>");
83 83
 define('_MD_SF_MAINNOSELECTCAT', 'You did not select a valid category');
84 84
 define('_MD_SF_MAINNOFAQS', 'There are no Q&amp;As in this category');
85 85
 define('_MD_SF_MODERATION_MAIN_HEAD', 'Moderation section of ');
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 define('_MD_SF_REQUEST', 'Request a new Q&amp;A');
120 120
 define('_MD_SF_REQUEST_ERROR', 'An error occured. Your request was not sent.');
121 121
 define('_MD_SF_REQUEST_INTRO',
122
-       '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!');
122
+        '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!');
123 123
 define('_MD_SF_REQUEST_RECEIVED_NEED_APPROVAL', 'Your request has been sent and will be published in the Open Questions section upon approval by a moderator.<br>Thank you for your contribution!');
124 124
 define('_MD_SF_REQUEST_RECEIVED_AND_PUBLISHED', 'Your request has been sent and automatically published in the Open Questions section. Thank you for your contribution!');
125 125
 define('_MD_SF_REQUESTED', 'Requested');
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 define('_MD_SF_SUBMITANSWER', 'Submit answer');
141 141
 define('_MD_SF_SUBMITANSWERTO', 'Submit an answer to %s');
142 142
 define('_MD_SF_SUBMITANSWER_INTRO',
143
-       'please fill this form to submit an answer for this question. The site adminisrator will review it and then publish it as soon as possible. Thank you in advance for your contribution.');
143
+        'please fill this form to submit an answer for this question. The site adminisrator will review it and then publish it as soon as possible. Thank you in advance for your contribution.');
144 144
 define('_MD_SF_SUBMITANSWERBUTTON', 'Submit the answer');
145 145
 define('_MD_SF_SUBMITAPPROVED', 'The answer you sent has been received. Since the auto-approve option is on, the answer has been accepted and the Q&amp;A has been published.');
146 146
 define('_MD_SF_SUBMIT_FROM_ADMIN', 'Since you are an admin of the module, the Q&amp;A was automatically published with all permissions.');
Please login to merge, or discard this patch.
language/english/admin.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -27,14 +27,14 @@  discard block
 block discarded – undo
27 27
 define('_AM_SF_ANSWERING', 'Answering');
28 28
 define('_AM_SF_ANSWERED', 'Answered');
29 29
 define('_AM_SF_ANSWERED_EXP',
30
-       '<b>Answered questions</b> : Questions in the Open Questions section that have been answered by users. Once an answer has been approved for a question, this very question becomes a submitted Q&amp;A and will require approval as well.');
30
+        '<b>Answered questions</b> : Questions in the Open Questions section that have been answered by users. Once an answer has been approved for a question, this very question becomes a submitted Q&amp;A and will require approval as well.');
31 31
 define('_AM_SF_ANSWERED_MODERATE', 'Moderate the answer to this question');
32 32
 define('_AM_SF_ANSWERISDELETED', 'The answer has been deleted.');
33 33
 define('_AM_SF_ANSWERNOTFOUND', 'Error : No official answer was found');
34 34
 define('_AM_SF_APPROVE', 'Approve');
35 35
 define('_AM_SF_APPROVED', 'Approved answer');
36 36
 define('_AM_SF_APPROVED_INFO',
37
-       'The answer for this question has been approved. This question has now been promoted to the status of submitted Q&amp;A and needs an approval to be published in the Q&amp;A section.');
37
+        'The answer for this question has been approved. This question has now been promoted to the status of submitted Q&amp;A and needs an approval to be published in the Q&amp;A section.');
38 38
 define('_AM_SF_APPROVED_MODERATE', "Moderate this Q&amp;A's submission");
39 39
 define('_AM_SF_APPROVED_TITLE', 'Approved answer');
40 40
 define('_AM_SF_APPROVESUB', 'Approve submission');
@@ -51,10 +51,10 @@  discard block
 block discarded – undo
51 51
 define('_AM_SF_ASKED', 'Asked');
52 52
 define('_AM_SF_ASKED_APPROVE_SUCCESS', 'The asked question was answered and the Q&amp;A was published in the public section of the site.');
53 53
 define('_AM_SF_ASKED_EXP',
54
-       '<b>Asked questions</b> : questions that have been asked by users. These questions have not yet been approved by a moderator. Once approved, the <i>Asked question</i> will become an <i>Open question<i> and be displayed in the <b>Open Questions</b> section.');
54
+        '<b>Asked questions</b> : questions that have been asked by users. These questions have not yet been approved by a moderator. Once approved, the <i>Asked question</i> will become an <i>Open question<i> and be displayed in the <b>Open Questions</b> section.');
55 55
 define('_AM_SF_ASKED_TITLE', 'Asked Question');
56 56
 define('_AM_SF_ASKED_TITLE_INFO',
57
-       'This is a question asked by a user. You can review the question and write the answer.<br>Uppon approval, the Q&amp;A will be published in the public section of the site.');
57
+        'This is a question asked by a user. You can review the question and write the answer.<br>Uppon approval, the Q&amp;A will be published in the public section of the site.');
58 58
 define('_AM_SF_AUTHFAQ', 'Publish the submitted answer');
59 59
 define('_AM_SF_AUTHORIZE', 'Authorize');
60 60
 define('_AM_SF_BACK2IDX', 'Cancelled. Taking you back to the index');
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 define('_AM_SF_CATHEADER', 'Categories Management');
82 82
 define('_AM_SF_CONTEXTMODULELINK', 'Contextually linked to this module');
83 83
 define('_AM_SF_CONTEXTMODULELINK_FAQ',
84
-       "Contextually linked to this module<span style='font-size: xx-small; font-weight: normal; display: block;'>Select the module to which this Q&amp;A will be<br>linked. If the Contextual FAQ block is visible<br>on that module, the 'How do I' statement of<br>this Q&amp;A will be displayed.</span>");
84
+        "Contextually linked to this module<span style='font-size: xx-small; font-weight: normal; display: block;'>Select the module to which this Q&amp;A will be<br>linked. If the Contextual FAQ block is visible<br>on that module, the 'How do I' statement of<br>this Q&amp;A will be displayed.</span>");
85 85
 define('_AM_SF_CONTEXTOPTIONS', 'Contextual options');
86 86
 define('_AM_SF_CONTEXTPAGE', 'Contextually linked to this URL');
87 87
 define('_AM_SF_CONTEXTURLLINK', 'Link to this URL');
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 define('_AM_SF_DELETE', 'Delete');
98 98
 define('_AM_SF_DELETEART', 'Delete Q&amp;A');
99 99
 define('_AM_SF_DELETE_CAT_CONFIRM',
100
-       'Please note that by deleting a category, all the sub-categories and the Q&amp;A of this category will be deleted as well, along with any comments that may have been posted related to these Q&amp;A. Are you sure you wish to delete this category?');
100
+        'Please note that by deleting a category, all the sub-categories and the Q&amp;A of this category will be deleted as well, along with any comments that may have been posted related to these Q&amp;A. Are you sure you wish to delete this category?');
101 101
 define('_AM_SF_DELETE_CAT_ERROR', 'An error occured while deleting this category.');
102 102
 define('_AM_SF_DELETECOL', 'Delete category');
103 103
 define('_AM_SF_DELETESUBM', 'Delete submission');
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 define('_AM_SF_ERROR_ANSWER_NOT_SAVED', 'An error occured. The answer was not saved in the database.');
124 124
 define('_AM_SF_ERROR_FAQ_NOT_SAVED', 'An error occured. The Q&amp;A was not saved in the database.');
125 125
 define('_AM_SF_EXACTURL',
126
-       "Exact URL?<span style='font-size: xx-small; font-weight: normal; display: block;'>If set to 'Yes', the Q&amp;A will only display in the'Specific URL set above'. If set to 'No', the Q&amp;A will be displayed in all pages that match a part of the root of the specific URL. ie; modules/newbb/*.php</span>");
126
+        "Exact URL?<span style='font-size: xx-small; font-weight: normal; display: block;'>If set to 'Yes', the Q&amp;A will only display in the'Specific URL set above'. If set to 'No', the Q&amp;A will be displayed in all pages that match a part of the root of the specific URL. ie; modules/newbb/*.php</span>");
127 127
 define('_AM_SF_FAQ_EDIT', 'Edit this Q&amp;A');
128 128
 define('_AM_SF_FAQ_NEW_ANSWER_PUBLISHED', 'The original answer was replaced by this answer.');
129 129
 define('_AM_SF_FAQ_REVIEW', 'Edit this answer before approbation');
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 define('_AM_SF_HELP', 'Help');
136 136
 define('_AM_SF_HOWDOI', 'How do I...');
137 137
 define('_AM_SF_HOWDOI_FAQ',
138
-       "How do I...<span style='font-size: xx-small; font-weight: normal; display: block;'>This will be used in the Contextual FAQ Block.<br>It should be a short version of the question.</span>");
138
+        "How do I...<span style='font-size: xx-small; font-weight: normal; display: block;'>This will be used in the Contextual FAQ Block.<br>It should be a short version of the question.</span>");
139 139
 define('_AM_SF_ID', 'Id');
140 140
 define('_AM_SF_IMPORT', 'Import');
141 141
 define('_AM_SF_IMPORT_ALL_QUESTIONS', 'All questions');
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 define('_AM_SF_IMPORT_ONLY_VISIBLE', 'Only visible questions ');
159 159
 define('_AM_SF_IMPORT_PARENT_CATEGORY', 'SmartFAQ Parent Category');
160 160
 define('_AM_SF_IMPORT_PERMISSIONS',
161
-       "Permissions<span style='font-size: xx-small; font-weight: normal; display: block;'>Groups that will have permissions to see these imported Q&amp;As.<br>this Q&amp;A.</span>");
161
+        "Permissions<span style='font-size: xx-small; font-weight: normal; display: block;'>Groups that will have permissions to see these imported Q&amp;As.<br>this Q&amp;A.</span>");
162 162
 define('_AM_SF_IMPORT_RESULT', 'Here is the result of the import.');
163 163
 define('_AM_SF_IMPORT_SETTINGS', 'Import Settings');
164 164
 define('_AM_SF_IMPORT_SUCCESS', 'The Q&amp;A set was successfully imported in the module.');
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 define('_AM_SF_MODART', 'Modify a Q&amp;A');
178 178
 define('_AM_SF_MODCOL', 'Modify existing category');
179 179
 define('_AM_SF_MODERATORS_DEF',
180
-       "Moderators<span style='font-size: xx-small; font-weight: normal; display: block;'>Users that will act as moderators for this<br>category. They will be able to add, edit,<br>approve and delete questions and Q&amp;A<br>within this category.</span>");
180
+        "Moderators<span style='font-size: xx-small; font-weight: normal; display: block;'>Users that will act as moderators for this<br>category. They will be able to add, edit,<br>approve and delete questions and Q&amp;A<br>within this category.</span>");
181 181
 define('_AM_SF_MODIFY', 'Modify');
182 182
 define('_AM_SF_MODIFYCOL', 'Modify category');
183 183
 define('_AM_SF_MODIFYTHISCOL', 'Modify this category?');
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 define('_AM_SF_OFFLINE_FIELD', "Offline<span style='font-size: xx-small; font-weight: normal; display: block;'>Select 'No' to put this Q&amp;A back<br>on line in the Q&amp;A section.</span>");
215 215
 define('_AM_SF_OFFLINEEDITING', 'Editing an offline Q&amp;A');
216 216
 define('_AM_SF_OFFLINEEDITING_INFO',
217
-       "You can edit this offline Q&amp;A. Modifications will be saved for this item. However, if you would like to display this Q&amp;A in the Q&amp;A section, you will need to set the <b>Offline</b> field to 'No'.");
217
+        "You can edit this offline Q&amp;A. Modifications will be saved for this item. However, if you would like to display this Q&amp;A in the Q&amp;A section, you will need to set the <b>Offline</b> field to 'No'.");
218 218
 define('_AM_SF_OPEN_QUESTION', 'Open Question');
219 219
 define('_AM_SF_OPEN_QUESTIONS', 'Open Questions');
220 220
 define('_AM_SF_OPENED', 'Opened');
@@ -222,21 +222,21 @@  discard block
 block discarded – undo
222 222
 define('_AM_SF_OPENED_TITLE', 'Published questions in the Open Questions section');
223 223
 define('_AM_SF_OPENED_DSC', 'Here is a list of all the published questions in the Open Questions section.');
224 224
 define('_AM_SF_OPENED_EXP',
225
-       '<b>Opened questions</b> : Questions that have been asked by a user, and approved by a moderator. These questions are displayed in the <i>Open Questions</i> section of this module, waiting for user to answer them.');
225
+        '<b>Opened questions</b> : Questions that have been asked by a user, and approved by a moderator. These questions are displayed in the <i>Open Questions</i> section of this module, waiting for user to answer them.');
226 226
 define('_AM_SF_OPTIONS', 'Options');
227 227
 define('_AM_SF_OPTS', 'Preferences');
228 228
 define('_AM_SF_OPEN_QUESTION_ANSWERING', 'Answering an open question');
229 229
 define('_AM_SF_OPEN_QUESTION_ANSWERING_INFO', 'You are now answering an open question, which will become a Q&amp;A and be published in the Q&amp;A section. ');
230 230
 define('_AM_SF_OPENED_ANSWERING_SUCCESS', 'The open question has been answered and published in the Q&amp;A section!');
231 231
 define('_AM_SF_PARENT_CATEGORY_EXP',
232
-       "Parent category<span style='font-size: xx-small; font-weight: normal; display: block;'>If you want this new category to be a sub-category, select a parent here. If it is to be a top level category, leave this blank.</span>");
232
+        "Parent category<span style='font-size: xx-small; font-weight: normal; display: block;'>If you want this new category to be a sub-category, select a parent here. If it is to be a top level category, leave this blank.</span>");
233 233
 define('_AM_SF_PERMISSIONS', 'Permissions');
234 234
 define('_AM_SF_PERMISSIONS_FAQ', "Permissions<span style='font-size: xx-small; font-weight: normal; display: block;'>Groups that will have permissions to see<br>this Q&amp;A.</span>");
235 235
 define('_AM_SF_PERMISSIONS_QUESTION', "Permissions<span style='font-size: xx-small; font-weight: normal; display: block;'>Groups that will have permissions to see this Question.</span>");
236 236
 define('_AM_SF_PERMISSIONS_CAT_READ',
237
-       "Read permissions<span style='font-size: xx-small; font-weight: normal; display: block;'>Groups that will have permissions to see<br>this Category, as well as any open questions<br>and Q&amp;A inside that category.</span>");
237
+        "Read permissions<span style='font-size: xx-small; font-weight: normal; display: block;'>Groups that will have permissions to see<br>this Category, as well as any open questions<br>and Q&amp;A inside that category.</span>");
238 238
 define('_AM_SF_PERMISSIONS_APPLY_ON_FAQS',
239
-       "Apply read permissions on Q&amp;A<span style='font-size: xx-small; font-weight: normal; display: block;'>Apply the above Read Permissions on all<br>Q&amp;A within that category, overriding the<br>current permissions for all these Q&amp;A.</span>");
239
+        "Apply read permissions on Q&amp;A<span style='font-size: xx-small; font-weight: normal; display: block;'>Apply the above Read Permissions on all<br>Q&amp;A within that category, overriding the<br>current permissions for all these Q&amp;A.</span>");
240 240
 define('_AM_SF_PERMISSIONSADMIN', 'Permissions Management');
241 241
 define('_AM_SF_PERMISSIONSVIEWMAN', 'Permissions to view categories');
242 242
 define('_AM_SF_PERMISSIONSADMINMAN', 'Permissions to moderate categories');
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 define('_AM_SF_REQUEST_QUEUE', 'The question has been successfully added to the Open Questions section.');
273 273
 define('_AM_SF_REJECTED_QUESTION', 'Rejected question');
274 274
 define('_AM_SF_REJECTED_QUESTION_EXP',
275
-       '<b>Rejected question</b> : Questions that have been asked by users but rejected by a moderator. Rejected questions are not displayes in the Open Questions section.');
275
+        '<b>Rejected question</b> : Questions that have been asked by users but rejected by a moderator. Rejected questions are not displayes in the Open Questions section.');
276 276
 define('_AM_SF_REJECTED_SMARTFAQ', 'Rejected Q&amp;A');
277 277
 define('_AM_SF_REJECTED_SMARTFAQ_EXP', '<b>Rejected Q&amp;A</b> : Q&amp;As that have been submitted by user, but rejected by a moderator. Rejected Q&amp;As are not displayed in the Q&amp;A section.');
278 278
 define('_AM_SF_REQUESTED_BY', 'Question asked by : ');
@@ -289,8 +289,8 @@  discard block
 block discarded – undo
289 289
 define('_AM_SF_SUBMISSIONSMNGMT', 'Submitted Q&amp;A');
290 290
 define('_AM_SF_SPECIFIC_URL_SELECT', 'Specific URL...');
291 291
 define('_AM_SF_SPECIFIC_URL', "Specific URL</span><span style='font-size: xx-small; font-weight: normal; display: block;'>If you have set the 'Contextually link to<br>this module' to <i>"
292
-                              . _AM_SF_SPECIFIC_URL_SELECT
293
-                              . "</i>, please<br>specify the URL.<br>\n<b>Example :</b> modules/newbb</span>");
292
+                                . _AM_SF_SPECIFIC_URL_SELECT
293
+                                . "</i>, please<br>specify the URL.<br>\n<b>Example :</b> modules/newbb</span>");
294 294
 define('_AM_SF_SUBMISSION_MODERATE', "Moderate this Q&amp;A's submission");
295 295
 define('_AM_SF_SUBMITTED', 'Submitted');
296 296
 define('_AM_SF_SUBMITTED_EXP', '<b>Submitted Q&amp;A</b> : Q&amp;A that have been submitted by users. Once approved, they will be displayed in the Q&amp;A section.');
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
 define('_AM_SF_SUBMITTED_ANSWER_ACCEPTED', 'The submitted answer has been approved.');
299 299
 define('_AM_SF_SUBMITTED_ANSWER_INFO', 'Here is a list of submitted answers for that question. Select one of them to be the official answer for that question.');
300 300
 define('_AM_SF_SUBMITTED_INFO',
301
-       'This Q&amp;A has been submitted by a member. You can make some modifications if you like. Upon approval, this Q&amp;A will be displayed in the Q&amp;A section of this site.');
301
+        'This Q&amp;A has been submitted by a member. You can make some modifications if you like. Upon approval, this Q&amp;A will be displayed in the Q&amp;A section of this site.');
302 302
 define('_AM_SF_SUBMITTED_APPROVE_SUCCESS', 'The submitted Q&amp;A has been published in the Q&amp;A section.');
303 303
 define('_AM_SF_SUBMITTED_TITLE', 'Approving a submitted Q&amp;A');
304 304
 define('_AM_SF_FAQ_DELETE_ERROR', 'An error occured while deleting this Q&amp;A.');
Please login to merge, or discard this patch.
admin/mygroupperm.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,9 +67,9 @@
 block discarded – undo
67 67
                                 if ($pid != 0 && !in_array($pid, array_keys($item_ids))) {
68 68
                                     // one of the parent items were not selected, so skip this item
69 69
                                     $msg[] = sprintf(_MD_AM_PERMADDNG, '<b>' . $perm_name . '</b>', '<b>' . $perm_data['itemname'][$item_id] . '</b>', '<b>' . $group_list[$group_id] . '</b>')
70
-                                             . ' ('
71
-                                             . _MD_AM_PERMADDNGP
72
-                                             . ')';
70
+                                                . ' ('
71
+                                                . _MD_AM_PERMADDNGP
72
+                                                . ')';
73 73
                                     continue 2;
74 74
                                 }
75 75
                             }
Please login to merge, or discard this patch.
admin/about2.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
 // Left headings...
42 42
 echo "<img src='" . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/' . $versioninfo->getInfo('image') . "' alt='' hspace='0' vspace='0' align='left' style='margin-right: 10px;'/></a>";
43 43
 echo "<div style='margin-top: 10px; color: #33538e; margin-bottom: 4px; font-size: 18px; line-height: 18px; font-weight: bold; display: block;'>"
44
-     . $versioninfo->getInfo('name')
45
-     . ' version '
46
-     . $versioninfo->getInfo('version')
47
-     . ' ('
48
-     . $versioninfo->getInfo('status_version')
49
-     . ')</div>';
44
+        . $versioninfo->getInfo('name')
45
+        . ' version '
46
+        . $versioninfo->getInfo('version')
47
+        . ' ('
48
+        . $versioninfo->getInfo('status_version')
49
+        . ')</div>';
50 50
 if ($versioninfo->getInfo('author_realname') != '') {
51 51
     $author_name = $versioninfo->getInfo('author') . ' (' . $versioninfo->getInfo('author_realname') . ')';
52 52
 } else {
Please login to merge, or discard this patch.
admin/category.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -37,25 +37,25 @@  discard block
 block discarded – undo
37 37
         }
38 38
     }
39 39
     $modify = "<a href='category.php?op=mod&categoryid="
40
-              . $categoryObj->categoryid()
41
-              . "'><img src='"
42
-              . $pathIcon16
43
-              . '/edit.png'
44
-              . "' title='"
45
-              . _AM_SF_EDITCOL
46
-              . "' alt='"
47
-              . _AM_SF_EDITCOL
48
-              . "' /></a>";
40
+                . $categoryObj->categoryid()
41
+                . "'><img src='"
42
+                . $pathIcon16
43
+                . '/edit.png'
44
+                . "' title='"
45
+                . _AM_SF_EDITCOL
46
+                . "' alt='"
47
+                . _AM_SF_EDITCOL
48
+                . "' /></a>";
49 49
     $delete = "<a href='category.php?op=del&categoryid="
50
-              . $categoryObj->categoryid()
51
-              . "'><img src='"
52
-              . $pathIcon16
53
-              . '/delete.png'
54
-              . "' title='"
55
-              . _AM_SF_DELETECOL
56
-              . "' alt='"
57
-              . _AM_SF_DELETECOL
58
-              . "' /></a>";
50
+                . $categoryObj->categoryid()
51
+                . "'><img src='"
52
+                . $pathIcon16
53
+                . '/delete.png'
54
+                . "' title='"
55
+                . _AM_SF_DELETECOL
56
+                . "' alt='"
57
+                . _AM_SF_DELETECOL
58
+                . "' /></a>";
59 59
 
60 60
     $spaces = '';
61 61
     for ($j = 0; $j < $level; ++$j) {
@@ -64,18 +64,18 @@  discard block
 block discarded – undo
64 64
 
65 65
     echo '<tr>';
66 66
     echo "<td class='even' align='lefet'>"
67
-         . $spaces
68
-         . "<a href='"
69
-         . XOOPS_URL
70
-         . '/modules/'
71
-         . $xoopsModule->dirname()
72
-         . '/category.php?categoryid='
73
-         . $categoryObj->categoryid()
74
-         . "'><img src='"
75
-         . XOOPS_URL
76
-         . "/modules/smartfaq/assets/images/icon/subcat.gif' alt='' />&nbsp;"
77
-         . $categoryObj->name()
78
-         . '</a></td>';
67
+            . $spaces
68
+            . "<a href='"
69
+            . XOOPS_URL
70
+            . '/modules/'
71
+            . $xoopsModule->dirname()
72
+            . '/category.php?categoryid='
73
+            . $categoryObj->categoryid()
74
+            . "'><img src='"
75
+            . XOOPS_URL
76
+            . "/modules/smartfaq/assets/images/icon/subcat.gif' alt='' />&nbsp;"
77
+            . $categoryObj->name()
78
+            . '</a></td>';
79 79
     echo "<td class='even' align='left'>" . $description . '</td>';
80 80
     echo "<td class='even' align='center'>" . $categoryObj->weight() . '</td>';
81 81
     echo "<td class='even' align='center'> $modify $delete </td>";
@@ -332,11 +332,11 @@  discard block
 block discarded – undo
332 332
             $categoryid = isset($_GET['categoryid']) ? (int)$_GET['categoryid'] : 0;
333 333
             xoops_cp_header();
334 334
             xoops_confirm(array(
335
-                              'op'         => 'del',
336
-                              'categoryid' => $categoryObj->categoryid(),
337
-                              'confirm'    => 1,
338
-                              'name'       => $categoryObj->name()
339
-                          ), 'category.php', _AM_SF_DELETECOL . " '" . $categoryObj->name() . "'. <br> <br>" . _AM_SF_DELETE_CAT_CONFIRM, _AM_SF_DELETE);
335
+                                'op'         => 'del',
336
+                                'categoryid' => $categoryObj->categoryid(),
337
+                                'confirm'    => 1,
338
+                                'name'       => $categoryObj->name()
339
+                            ), 'category.php', _AM_SF_DELETECOL . " '" . $categoryObj->name() . "'. <br> <br>" . _AM_SF_DELETE_CAT_CONFIRM, _AM_SF_DELETE);
340 340
             xoops_cp_footer();
341 341
         }
342 342
         exit();
Please login to merge, or discard this patch.
admin/xoopsfaq.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
             echo '<span style="color: #567; margin: 3px 0 12px 0; font-size: small; display: block; ">' . sprintf(_AM_SF_IMPORT_MODULE_FOUND_NO_FAQ, $importFromModuleName, $totalCat) . '</span>';
47 47
         } else {
48 48
             echo '<span style="color: #567; margin: 3px 0 12px 0; font-size: small; display: block; ">'
49
-                 . sprintf(_AM_SF_IMPORT_MODULE_FOUND, $importFromModuleName, $totalCat, $totalFAQ)
50
-                 . '</span>';
49
+                    . sprintf(_AM_SF_IMPORT_MODULE_FOUND, $importFromModuleName, $totalCat, $totalFAQ)
50
+                    . '</span>';
51 51
 
52 52
             $form = new XoopsThemeForm(_AM_SF_IMPORT_SETTINGS, 'import_form', XOOPS_URL . '/modules/smartfaq/admin/' . $scriptname);
53 53
 
Please login to merge, or discard this patch.
admin/main.php 1 patch
Indentation   +168 added lines, -168 removed lines patch added patch discarded remove patch
@@ -330,104 +330,104 @@  discard block
 block discarded – undo
330 330
             case _SF_STATUS_ASKED:
331 331
                 $statustxt = _AM_SF_ASKED;
332 332
                 $approve   = "<a href='question.php?op=mod&amp;faqid="
333
-                             . $faqsObj[$i]->faqid()
334
-                             . "'><img src='"
335
-                             . $pathIcon16
336
-                             . '/on.png'
337
-                             . "'  title='"
338
-                             . _AM_SF_QUESTION_MODERATE
339
-                             . "'  alt='"
340
-                             . _AM_SF_QUESTION_MODERATE
341
-                             . "' /></a>&nbsp;";
333
+                                . $faqsObj[$i]->faqid()
334
+                                . "'><img src='"
335
+                                . $pathIcon16
336
+                                . '/on.png'
337
+                                . "'  title='"
338
+                                . _AM_SF_QUESTION_MODERATE
339
+                                . "'  alt='"
340
+                                . _AM_SF_QUESTION_MODERATE
341
+                                . "' /></a>&nbsp;";
342 342
                 $modify    = '';
343 343
                 $delete    = "<a href='question.php?op=del&amp;faqid="
344
-                             . $faqsObj[$i]->faqid()
345
-                             . "'><img src='"
346
-                             . $pathIcon16
347
-                             . '/delete.png'
348
-                             . "' title='"
349
-                             . _AM_SF_DELETEQUESTION
350
-                             . "' alt='"
351
-                             . _AM_SF_DELETEQUESTION
352
-                             . "' /></a>";
344
+                                . $faqsObj[$i]->faqid()
345
+                                . "'><img src='"
346
+                                . $pathIcon16
347
+                                . '/delete.png'
348
+                                . "' title='"
349
+                                . _AM_SF_DELETEQUESTION
350
+                                . "' alt='"
351
+                                . _AM_SF_DELETEQUESTION
352
+                                . "' /></a>";
353 353
                 break;
354 354
 
355 355
             case _SF_STATUS_OPENED:
356 356
                 $statustxt = _AM_SF_OPENED;
357 357
                 $approve   = '';
358 358
                 $modify    = "<a href='question.php?op=mod&amp;faqid="
359
-                             . $faqsObj[$i]->faqid()
360
-                             . "'><img src='"
361
-                             . $pathIcon16
362
-                             . '/edit.png'
363
-                             . "' title='"
364
-                             . _AM_SF_QUESTION_EDIT
365
-                             . "' alt='"
366
-                             . _AM_SF_QUESTION_EDIT
367
-                             . "' /></a>&nbsp;";
359
+                                . $faqsObj[$i]->faqid()
360
+                                . "'><img src='"
361
+                                . $pathIcon16
362
+                                . '/edit.png'
363
+                                . "' title='"
364
+                                . _AM_SF_QUESTION_EDIT
365
+                                . "' alt='"
366
+                                . _AM_SF_QUESTION_EDIT
367
+                                . "' /></a>&nbsp;";
368 368
                 $delete    = "<a href='question.php?op=del&amp;faqid="
369
-                             . $faqsObj[$i]->faqid()
370
-                             . "'><img src='"
371
-                             . $pathIcon16
372
-                             . '/delete.png'
373
-                             . "' title='"
374
-                             . _AM_SF_DELETEQUESTION
375
-                             . "' alt='"
376
-                             . _AM_SF_DELETEQUESTION
377
-                             . "' /></a>";
369
+                                . $faqsObj[$i]->faqid()
370
+                                . "'><img src='"
371
+                                . $pathIcon16
372
+                                . '/delete.png'
373
+                                . "' title='"
374
+                                . _AM_SF_DELETEQUESTION
375
+                                . "' alt='"
376
+                                . _AM_SF_DELETEQUESTION
377
+                                . "' /></a>";
378 378
                 break;
379 379
 
380 380
             case _SF_STATUS_ANSWERED:
381 381
                 $statustxt = _AM_SF_ANSWERED;
382 382
                 $approve   = "<a href='answer.php?op=mod&amp;faqid="
383
-                             . $faqsObj[$i]->faqid()
384
-                             . "'><img src='"
385
-                             . XOOPS_URL
386
-                             . '/modules/'
387
-                             . $xoopsModule->dirname()
388
-                             . "/assets/images/icon/approve.gif' title='"
389
-                             . _AM_SF_ANSWERED_MODERATE
390
-                             . "' alt='"
391
-                             . _AM_SF_ANSWERED_MODERATE
392
-                             . "' /></a>&nbsp;";
383
+                                . $faqsObj[$i]->faqid()
384
+                                . "'><img src='"
385
+                                . XOOPS_URL
386
+                                . '/modules/'
387
+                                . $xoopsModule->dirname()
388
+                                . "/assets/images/icon/approve.gif' title='"
389
+                                . _AM_SF_ANSWERED_MODERATE
390
+                                . "' alt='"
391
+                                . _AM_SF_ANSWERED_MODERATE
392
+                                . "' /></a>&nbsp;";
393 393
                 $modify    = '';
394 394
                 $delete    = "<a href='question.php?op=del&amp;faqid="
395
-                             . $faqsObj[$i]->faqid()
396
-                             . "'><img src='"
397
-                             . XOOPS_URL
398
-                             . '/modules/'
399
-                             . $xoopsModule->dirname()
400
-                             . "/assets/images/icon/delete.gif' title='"
401
-                             . _AM_SF_DELETEQUESTION
402
-                             . "' alt='"
403
-                             . _AM_SF_DELETEQUESTION
404
-                             . "' /></a>";
395
+                                . $faqsObj[$i]->faqid()
396
+                                . "'><img src='"
397
+                                . XOOPS_URL
398
+                                . '/modules/'
399
+                                . $xoopsModule->dirname()
400
+                                . "/assets/images/icon/delete.gif' title='"
401
+                                . _AM_SF_DELETEQUESTION
402
+                                . "' alt='"
403
+                                . _AM_SF_DELETEQUESTION
404
+                                . "' /></a>";
405 405
                 break;
406 406
 
407 407
             case _SF_STATUS_SUBMITTED:
408 408
                 $statustxt = _AM_SF_SUBMITTED;
409 409
                 $approve   = "<a href='faq.php?op=mod&amp;faqid="
410
-                             . $faqsObj[$i]->faqid()
411
-                             . "'><img src='"
412
-                             . XOOPS_URL
413
-                             . '/modules/'
414
-                             . $xoopsModule->dirname()
415
-                             . "/assets/images/icon/approve.gif' title='"
416
-                             . _AM_SF_SUBMISSION_MODERATE
417
-                             . "' alt='"
418
-                             . _AM_SF_SUBMISSION_MODERATE
419
-                             . "' /></a>&nbsp;";
410
+                                . $faqsObj[$i]->faqid()
411
+                                . "'><img src='"
412
+                                . XOOPS_URL
413
+                                . '/modules/'
414
+                                . $xoopsModule->dirname()
415
+                                . "/assets/images/icon/approve.gif' title='"
416
+                                . _AM_SF_SUBMISSION_MODERATE
417
+                                . "' alt='"
418
+                                . _AM_SF_SUBMISSION_MODERATE
419
+                                . "' /></a>&nbsp;";
420 420
                 $delete    = "<a href='faq.php?op=del&amp;faqid="
421
-                             . $faqsObj[$i]->faqid()
422
-                             . "'><img src='"
423
-                             . XOOPS_URL
424
-                             . '/modules/'
425
-                             . $xoopsModule->dirname()
426
-                             . "/assets/images/icon/delete.gif' title='"
427
-                             . _AM_SF_DELETEART
428
-                             . "' alt='"
429
-                             . _AM_SF_DELETEART
430
-                             . "' /></a>";
421
+                                . $faqsObj[$i]->faqid()
422
+                                . "'><img src='"
423
+                                . XOOPS_URL
424
+                                . '/modules/'
425
+                                . $xoopsModule->dirname()
426
+                                . "/assets/images/icon/delete.gif' title='"
427
+                                . _AM_SF_DELETEART
428
+                                . "' alt='"
429
+                                . _AM_SF_DELETEART
430
+                                . "' /></a>";
431 431
                 $modify    = '';
432 432
                 break;
433 433
 
@@ -435,51 +435,51 @@  discard block
 block discarded – undo
435 435
                 $statustxt = _AM_SF_PUBLISHED;
436 436
                 $approve   = '';
437 437
                 $modify    = "<a href='faq.php?op=mod&amp;faqid="
438
-                             . $faqsObj[$i]->faqid()
439
-                             . "'><img src='"
440
-                             . $pathIcon16
441
-                             . '/edit.png'
442
-                             . "' title='"
443
-                             . _AM_SF_FAQ_EDIT
444
-                             . "' alt='"
445
-                             . _AM_SF_FAQ_EDIT
446
-                             . "' /></a>&nbsp;";
438
+                                . $faqsObj[$i]->faqid()
439
+                                . "'><img src='"
440
+                                . $pathIcon16
441
+                                . '/edit.png'
442
+                                . "' title='"
443
+                                . _AM_SF_FAQ_EDIT
444
+                                . "' alt='"
445
+                                . _AM_SF_FAQ_EDIT
446
+                                . "' /></a>&nbsp;";
447 447
                 $delete    = "<a href='faq.php?op=del&amp;faqid="
448
-                             . $faqsObj[$i]->faqid()
449
-                             . "'><img src='"
450
-                             . $pathIcon16
451
-                             . '/delete.png'
452
-                             . "' title='"
453
-                             . _AM_SF_DELETEART
454
-                             . "' alt='"
455
-                             . _AM_SF_DELETEART
456
-                             . "' /></a>";
448
+                                . $faqsObj[$i]->faqid()
449
+                                . "'><img src='"
450
+                                . $pathIcon16
451
+                                . '/delete.png'
452
+                                . "' title='"
453
+                                . _AM_SF_DELETEART
454
+                                . "' alt='"
455
+                                . _AM_SF_DELETEART
456
+                                . "' /></a>";
457 457
                 break;
458 458
 
459 459
             case _SF_STATUS_NEW_ANSWER:
460 460
                 $statustxt = _AM_SF_NEWANSWER;
461 461
                 $approve   = "<a href='answer.php?op=mod&amp;faqid="
462
-                             . $faqsObj[$i]->faqid()
463
-                             . "'><img src='"
464
-                             . XOOPS_URL
465
-                             . '/modules/'
466
-                             . $xoopsModule->dirname()
467
-                             . "/assets/images/icon/approve.gif' title='"
468
-                             . _AM_SF_FAQ_EDIT
469
-                             . "' alt='"
470
-                             . _AM_SF_FAQ_EDIT
471
-                             . "' /></a>&nbsp;";
462
+                                . $faqsObj[$i]->faqid()
463
+                                . "'><img src='"
464
+                                . XOOPS_URL
465
+                                . '/modules/'
466
+                                . $xoopsModule->dirname()
467
+                                . "/assets/images/icon/approve.gif' title='"
468
+                                . _AM_SF_FAQ_EDIT
469
+                                . "' alt='"
470
+                                . _AM_SF_FAQ_EDIT
471
+                                . "' /></a>&nbsp;";
472 472
                 $delete    = "<a href='faq.php?op=del&amp;faqid="
473
-                             . $faqsObj[$i]->faqid()
474
-                             . "'><img src='"
475
-                             . XOOPS_URL
476
-                             . '/modules/'
477
-                             . $xoopsModule->dirname()
478
-                             . "/assets/images/icon/delete.gif' title='"
479
-                             . _AM_SF_DELETEART
480
-                             . "' alt='"
481
-                             . _AM_SF_DELETEART
482
-                             . "' /></a>";
473
+                                . $faqsObj[$i]->faqid()
474
+                                . "'><img src='"
475
+                                . XOOPS_URL
476
+                                . '/modules/'
477
+                                . $xoopsModule->dirname()
478
+                                . "/assets/images/icon/delete.gif' title='"
479
+                                . _AM_SF_DELETEART
480
+                                . "' alt='"
481
+                                . _AM_SF_DELETEART
482
+                                . "' /></a>";
483 483
                 $modify    = '';
484 484
                 break;
485 485
 
@@ -487,75 +487,75 @@  discard block
 block discarded – undo
487 487
                 $statustxt = _AM_SF_OFFLINE;
488 488
                 $approve   = '';
489 489
                 $modify    = "<a href='faq.php?op=mod&amp;faqid="
490
-                             . $faqsObj[$i]->faqid()
491
-                             . "'><img src='"
492
-                             . $pathIcon16
493
-                             . '/edit.png'
494
-                             . "' title='"
495
-                             . _AM_SF_FAQ_EDIT
496
-                             . "' alt='"
497
-                             . _AM_SF_FAQ_EDIT
498
-                             . "' /></a>&nbsp;";
490
+                                . $faqsObj[$i]->faqid()
491
+                                . "'><img src='"
492
+                                . $pathIcon16
493
+                                . '/edit.png'
494
+                                . "' title='"
495
+                                . _AM_SF_FAQ_EDIT
496
+                                . "' alt='"
497
+                                . _AM_SF_FAQ_EDIT
498
+                                . "' /></a>&nbsp;";
499 499
                 $delete    = "<a href='faq.php?op=del&amp;faqid="
500
-                             . $faqsObj[$i]->faqid()
501
-                             . "'><img src='"
502
-                             . $pathIcon16
503
-                             . '/delete.png'
504
-                             . "' title='"
505
-                             . _AM_SF_DELETEART
506
-                             . "' alt='"
507
-                             . _AM_SF_DELETEART
508
-                             . "' /></a>";
500
+                                . $faqsObj[$i]->faqid()
501
+                                . "'><img src='"
502
+                                . $pathIcon16
503
+                                . '/delete.png'
504
+                                . "' title='"
505
+                                . _AM_SF_DELETEART
506
+                                . "' alt='"
507
+                                . _AM_SF_DELETEART
508
+                                . "' /></a>";
509 509
                 break;
510 510
 
511 511
             case _SF_STATUS_REJECTED_QUESTION:
512 512
                 $statustxt = _AM_SF_REJECTED_QUESTION;
513 513
                 $approve   = '';
514 514
                 $modify    = "<a href='faq.php?op=mod&amp;faqid="
515
-                             . $faqsObj[$i]->faqid()
516
-                             . "'><img src='"
517
-                             . $pathIcon16
518
-                             . '/edit.png'
519
-                             . "' title='"
520
-                             . _AM_SF_REJECTED_EDIT
521
-                             . "' alt='"
522
-                             . _AM_SF_REJECTED_EDIT
523
-                             . "' /></a>&nbsp;";
515
+                                . $faqsObj[$i]->faqid()
516
+                                . "'><img src='"
517
+                                . $pathIcon16
518
+                                . '/edit.png'
519
+                                . "' title='"
520
+                                . _AM_SF_REJECTED_EDIT
521
+                                . "' alt='"
522
+                                . _AM_SF_REJECTED_EDIT
523
+                                . "' /></a>&nbsp;";
524 524
                 $delete    = "<a href='question.php?op=del&amp;faqid="
525
-                             . $faqsObj[$i]->faqid()
526
-                             . "'><img src='"
527
-                             . $pathIcon16
528
-                             . '/delete.png'
529
-                             . "' title='"
530
-                             . _AM_SF_DELETEQUESTION
531
-                             . "' alt='"
532
-                             . _AM_SF_DELETEQUESTION
533
-                             . "' /></a>";
525
+                                . $faqsObj[$i]->faqid()
526
+                                . "'><img src='"
527
+                                . $pathIcon16
528
+                                . '/delete.png'
529
+                                . "' title='"
530
+                                . _AM_SF_DELETEQUESTION
531
+                                . "' alt='"
532
+                                . _AM_SF_DELETEQUESTION
533
+                                . "' /></a>";
534 534
                 break;
535 535
 
536 536
             case _SF_STATUS_REJECTED_SMARTFAQ:
537 537
                 $statustxt = _AM_SF_REJECTED_SMARTFAQ;
538 538
                 $approve   = '';
539 539
                 $modify    = "<a href='faq.php?op=mod&amp;faqid="
540
-                             . $faqsObj[$i]->faqid()
541
-                             . "'><img src='"
542
-                             . $pathIcon16
543
-                             . '/edit.png'
544
-                             . "' title='"
545
-                             . _AM_SF_REJECTED_EDIT
546
-                             . "' alt='"
547
-                             . _AM_SF_REJECTED_EDIT
548
-                             . "' /></a>&nbsp;";
540
+                                . $faqsObj[$i]->faqid()
541
+                                . "'><img src='"
542
+                                . $pathIcon16
543
+                                . '/edit.png'
544
+                                . "' title='"
545
+                                . _AM_SF_REJECTED_EDIT
546
+                                . "' alt='"
547
+                                . _AM_SF_REJECTED_EDIT
548
+                                . "' /></a>&nbsp;";
549 549
                 $delete    = "<a href='faq.php?op=del&amp;faqid="
550
-                             . $faqsObj[$i]->faqid()
551
-                             . "'><img src='"
552
-                             . $pathIcon16
553
-                             . '/delete.png'
554
-                             . "' title='"
555
-                             . _AM_SF_DELETEART
556
-                             . "' alt='"
557
-                             . _AM_SF_DELETEART
558
-                             . "' /></a>";
550
+                                . $faqsObj[$i]->faqid()
551
+                                . "'><img src='"
552
+                                . $pathIcon16
553
+                                . '/delete.png'
554
+                                . "' title='"
555
+                                . _AM_SF_DELETEART
556
+                                . "' alt='"
557
+                                . _AM_SF_DELETEART
558
+                                . "' /></a>";
559 559
                 break;
560 560
 
561 561
             case 'default':
Please login to merge, or discard this patch.
admin/answer.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -111,55 +111,55 @@
 block discarded – undo
111 111
     foreach ($proposed_answers as $proposed_answer) {
112 112
         if ($faqObj->status() == _SF_STATUS_NEW_ANSWER) {
113 113
             $merge   = "<a href='faq.php?op=merge&amp;faqid="
114
-                       . $faqObj->faqid()
115
-                       . '&amp;answerid='
116
-                       . $proposed_answer->answerid()
117
-                       . "'><img src='"
118
-                       . XOOPS_URL
119
-                       . '/modules/'
120
-                       . $xoopsModule->dirname()
121
-                       . "/assets/images/icon/merge.gif' title='"
122
-                       . _AM_SF_FAQ_MERGE
123
-                       . "' alt='"
124
-                       . _AM_SF_FAQ_MERGE
125
-                       . "' /></a>&nbsp;";
114
+                        . $faqObj->faqid()
115
+                        . '&amp;answerid='
116
+                        . $proposed_answer->answerid()
117
+                        . "'><img src='"
118
+                        . XOOPS_URL
119
+                        . '/modules/'
120
+                        . $xoopsModule->dirname()
121
+                        . "/assets/images/icon/merge.gif' title='"
122
+                        . _AM_SF_FAQ_MERGE
123
+                        . "' alt='"
124
+                        . _AM_SF_FAQ_MERGE
125
+                        . "' /></a>&nbsp;";
126 126
             $approve = "<a href='answer.php?op=selectanswer&amp;faqid="
127
-                       . $faqid
128
-                       . '&amp;answerid='
129
-                       . $proposed_answer->answerid()
130
-                       . "'><img src='"
131
-                       . $pathIcon16
132
-                       . '/on.png'
133
-                       . "' title='"
134
-                       . _AM_SF_FAQ_APPROVE_NEW_ANSWER
135
-                       . "' alt='"
136
-                       . _AM_SF_APPROVESUB
137
-                       . "' /></a>";
127
+                        . $faqid
128
+                        . '&amp;answerid='
129
+                        . $proposed_answer->answerid()
130
+                        . "'><img src='"
131
+                        . $pathIcon16
132
+                        . '/on.png'
133
+                        . "' title='"
134
+                        . _AM_SF_FAQ_APPROVE_NEW_ANSWER
135
+                        . "' alt='"
136
+                        . _AM_SF_APPROVESUB
137
+                        . "' /></a>";
138 138
         }
139 139
         $modify = "<a href='faq.php?op=mod&amp;faqid="
140
-                  . $faqObj->faqid()
141
-                  . '&amp;answerid='
142
-                  . $proposed_answer->answerid()
143
-                  . "'><img src='"
144
-                  . $pathIcon16
145
-                  . '/edit.png'
146
-                  . "' title='"
147
-                  . _AM_SF_FAQ_REVIEW
148
-                  . "' alt='"
149
-                  . _AM_SF_FAQ_REVIEW
150
-                  . "' /></a>&nbsp;";
140
+                    . $faqObj->faqid()
141
+                    . '&amp;answerid='
142
+                    . $proposed_answer->answerid()
143
+                    . "'><img src='"
144
+                    . $pathIcon16
145
+                    . '/edit.png'
146
+                    . "' title='"
147
+                    . _AM_SF_FAQ_REVIEW
148
+                    . "' alt='"
149
+                    . _AM_SF_FAQ_REVIEW
150
+                    . "' /></a>&nbsp;";
151 151
         $delete = "<a href='answer.php?op=del&amp;faqid="
152
-                  . $faqObj->faqid()
153
-                  . '&amp;answerid='
154
-                  . $proposed_answer->answerid()
155
-                  . "'><img src='"
156
-                  . $pathIcon16
157
-                  . '/delete.png'
158
-                  . "' title='"
159
-                  . _AM_SF_DELETESUBM
160
-                  . "' alt='"
161
-                  . _AM_SF_DELETESUBM
162
-                  . "' /></a>";
152
+                    . $faqObj->faqid()
153
+                    . '&amp;answerid='
154
+                    . $proposed_answer->answerid()
155
+                    . "'><img src='"
156
+                    . $pathIcon16
157
+                    . '/delete.png'
158
+                    . "' title='"
159
+                    . _AM_SF_DELETESUBM
160
+                    . "' alt='"
161
+                    . _AM_SF_DELETESUBM
162
+                    . "' /></a>";
163 163
         echo '<tr>';
164 164
         echo "<td class='head' align='center'>" . $proposed_answer->answerid() . '</td>';
165 165
         echo "<td class='even' align='left'>" . $proposed_answer->answer() . '</td>';
Please login to merge, or discard this patch.
admin/myblocksadmin.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -171,22 +171,22 @@  discard block
 block discarded – undo
171 171
             </td>
172 172
             <td class='$class' align='center' nowrap='nowrap'>
173 173
                 <input type='radio' name='side[$bid]' value='"
174
-             . XOOPS_SIDEBLOCK_LEFT
175
-             . "'$ssel0 />-<input type='radio' name='side[$bid]' value='"
176
-             . XOOPS_CENTERBLOCK_LEFT
177
-             . "'$ssel2 /><input type='radio' name='side[$bid]' value='"
178
-             . XOOPS_CENTERBLOCK_CENTER
179
-             . "'$ssel3 /><input type='radio' name='side[$bid]' value='"
180
-             . XOOPS_CENTERBLOCK_RIGHT
181
-             . "'$ssel4 />-<input type='radio' name='side[$bid]' value='"
182
-             . XOOPS_SIDEBLOCK_RIGHT
183
-             . "'$ssel1 />
174
+                . XOOPS_SIDEBLOCK_LEFT
175
+                . "'$ssel0 />-<input type='radio' name='side[$bid]' value='"
176
+                . XOOPS_CENTERBLOCK_LEFT
177
+                . "'$ssel2 /><input type='radio' name='side[$bid]' value='"
178
+                . XOOPS_CENTERBLOCK_CENTER
179
+                . "'$ssel3 /><input type='radio' name='side[$bid]' value='"
180
+                . XOOPS_CENTERBLOCK_RIGHT
181
+                . "'$ssel4 />-<input type='radio' name='side[$bid]' value='"
182
+                . XOOPS_SIDEBLOCK_RIGHT
183
+                . "'$ssel1 />
184 184
                 <br>
185 185
                 <br>
186 186
                 <input type='radio' name='side[$bid]' value='-1'$sseln />
187 187
                 "
188
-             . _NONE
189
-             . "
188
+                . _NONE
189
+                . "
190 190
             </td>
191 191
             <td class='$class' align='center'>
192 192
                 <input type='text' name=weight[$bid] value='$weight' size='5' maxlength='5' style='text-align:right;' />
@@ -203,8 +203,8 @@  discard block
 block discarded – undo
203 203
             </td>
204 204
             <td class='$class' align='center'>
205 205
                 <a href='admin.php?fct=blocksadmin&amp;op=edit&amp;bid=$bid'>"
206
-             . _EDIT
207
-             . "</a>
206
+                . _EDIT
207
+                . "</a>
208 208
                 <input type='hidden' name='bid[$bid]' value='$bid' />
209 209
             </td>
210 210
         </tr>\n";
@@ -237,14 +237,14 @@  discard block
 block discarded – undo
237 237
     }
238 238
 
239 239
     $form = new MyXoopsGroupPermForm('', 1, 'block_read', "<img id='bottomtableicon' src="
240
-                                                          . XOOPS_URL
241
-                                                          . '/modules/'
242
-                                                          . $xoopsModule->dirname()
243
-                                                          . "/assets/images/icon/close12.gif alt='' /></a>&nbsp;"
244
-                                                          . _AM_SF_GROUPS
245
-                                                          . "</h3><div id='bottomtable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
246
-                                                          . _AM_SF_GROUPSINFO
247
-                                                          . '</span>');
240
+                                                            . XOOPS_URL
241
+                                                            . '/modules/'
242
+                                                            . $xoopsModule->dirname()
243
+                                                            . "/assets/images/icon/close12.gif alt='' /></a>&nbsp;"
244
+                                                            . _AM_SF_GROUPS
245
+                                                            . "</h3><div id='bottomtable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
246
+                                                            . _AM_SF_GROUPSINFO
247
+                                                            . '</span>');
248 248
     $form->addAppendix('module_admin', $xoopsModule->mid(), $xoopsModule->name() . ' ' . _AM_ACTIVERIGHTS);
249 249
     $form->addAppendix('module_read', $xoopsModule->mid(), $xoopsModule->name() . ' ' . _AM_ACCESSRIGHTS);
250 250
     foreach ($item_list as $item_id => $item_name) {
Please login to merge, or discard this patch.