@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | echo ' |
| 65 | 65 | <div class="cat_bar clear_right"> |
| 66 | 66 | <h3 class="catbg"> |
| 67 | - <a href="', $scripturl, '?action=helpadmin;help=error_log" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> ', $txt['errlog'], ' |
|
| 67 | + <a href="', $scripturl, '?action=helpadmin;help=error_log" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> ', $txt['errlog'], ' |
|
| 68 | 68 | </h3> |
| 69 | 69 | </div> |
| 70 | 70 | <div class="pagesection"> |
@@ -72,8 +72,8 @@ discard block |
||
| 72 | 72 | ', $context['page_index'], ' |
| 73 | 73 | </div> |
| 74 | 74 | <div class="floatright"> |
| 75 | - <input type="submit" name="removeSelection" value="', $txt['remove_selection'] ,'" data-confirm="', $txt['remove_selection_confirm'] ,'" class="button_submit you_sure"> |
|
| 76 | - <input type="submit" name="delall" value="', ($context['has_filter'] ? $txt['remove_filtered_results'] : $txt['remove_all']) ,'" data-confirm="', ($context['has_filter'] ? $txt['remove_filtered_results_confirm'] : $txt['sure_about_errorlog_remove']) ,'" class="button_submit you_sure"> |
|
| 75 | + <input type="submit" name="removeSelection" value="', $txt['remove_selection'], '" data-confirm="', $txt['remove_selection_confirm'], '" class="button_submit you_sure"> |
|
| 76 | + <input type="submit" name="delall" value="', ($context['has_filter'] ? $txt['remove_filtered_results'] : $txt['remove_all']), '" data-confirm="', ($context['has_filter'] ? $txt['remove_filtered_results_confirm'] : $txt['sure_about_errorlog_remove']), '" class="button_submit you_sure"> |
|
| 77 | 77 | </div> |
| 78 | 78 | </div> |
| 79 | 79 | <table class="table_grid" id="error_log"> |
@@ -185,8 +185,8 @@ discard block |
||
| 185 | 185 | |
| 186 | 186 | echo ' |
| 187 | 187 | <div class="floatright"> |
| 188 | - <input type="submit" name="removeSelection" value="', $txt['remove_selection'] ,'" data-confirm="', $txt['remove_selection_confirm'] ,'" class="button_submit you_sure"> |
|
| 189 | - <input type="submit" name="delall" value="', ($context['has_filter'] ? $txt['remove_filtered_results'] : $txt['remove_all']) ,'" data-confirm="', ($context['has_filter'] ? $txt['remove_filtered_results_confirm'] : $txt['sure_about_errorlog_remove']) ,'" class="button_submit you_sure"> |
|
| 188 | + <input type="submit" name="removeSelection" value="', $txt['remove_selection'], '" data-confirm="', $txt['remove_selection_confirm'], '" class="button_submit you_sure"> |
|
| 189 | + <input type="submit" name="delall" value="', ($context['has_filter'] ? $txt['remove_filtered_results'] : $txt['remove_all']), '" data-confirm="', ($context['has_filter'] ? $txt['remove_filtered_results_confirm'] : $txt['sure_about_errorlog_remove']), '" class="button_submit you_sure"> |
|
| 190 | 190 | </div> |
| 191 | 191 | <br>'; |
| 192 | 192 | |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | <head> |
| 216 | 216 | <meta charset="', $context['character_set'], '"> |
| 217 | 217 | <title>', $context['file_data']['file'], '</title> |
| 218 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 218 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 219 | 219 | </head> |
| 220 | 220 | <body> |
| 221 | 221 | <table class="errorfile_table">'; |
@@ -225,8 +225,8 @@ discard block |
||
| 225 | 225 | $is_target = $line_num == $context['file_data']['target']; |
| 226 | 226 | echo ' |
| 227 | 227 | <tr> |
| 228 | - <td class="righttext', $is_target ? ' current">==>' : '">', $line_num , ':</td> |
|
| 229 | - <td style="white-space: nowrap;', $is_target ? ' border: 1px solid black;border-width: 1px 1px 1px 0;':'','">', $line, '</td> |
|
| 228 | + <td class="righttext', $is_target ? ' current">==>' : '">', $line_num, ':</td> |
|
| 229 | + <td style="white-space: nowrap;', $is_target ? ' border: 1px solid black;border-width: 1px 1px 1px 0;' : '', '">', $line, '</td> |
|
| 230 | 230 | </tr>'; |
| 231 | 231 | } |
| 232 | 232 | echo ' |
@@ -343,7 +343,7 @@ discard block |
||
| 343 | 343 | echo ' |
| 344 | 344 | </dl> |
| 345 | 345 | <input type="submit" name="save" value="', $txt['membergroups_edit_save'], '" class="button_submit">', $context['group']['allow_delete'] ? ' |
| 346 | - <input type="submit" name="delete" value="'. $txt['membergroups_delete'] .'" data-confirm="'. ($context['is_moderator_group'] ? $txt['membergroups_confirm_delete_mod'] : $txt['membergroups_confirm_delete']) .'" class="button_submit you_sure">' : '', ' |
|
| 346 | + <input type="submit" name="delete" value="'. $txt['membergroups_delete'] . '" data-confirm="' . ($context['is_moderator_group'] ? $txt['membergroups_confirm_delete_mod'] : $txt['membergroups_confirm_delete']) . '" class="button_submit you_sure">' : '', ' |
|
| 347 | 347 | </div> |
| 348 | 348 | <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> |
| 349 | 349 | <input type="hidden" name="', $context['admin-mmg_token_var'], '" value="', $context['admin-mmg_token'], '"> |
@@ -530,7 +530,7 @@ discard block |
||
| 530 | 530 | |
| 531 | 531 | echo ' |
| 532 | 532 | <div id="admincenter"> |
| 533 | - <form action="', $scripturl, '?action=', $context['current_action'], (isset($context['admin_area']) ? ';area=' . $context['admin_area'] : '') , ';sa=members;group=', $context['group']['id'], '" method="post" accept-charset="', $context['character_set'], '" id="view_group"> |
|
| 533 | + <form action="', $scripturl, '?action=', $context['current_action'], (isset($context['admin_area']) ? ';area=' . $context['admin_area'] : ''), ';sa=members;group=', $context['group']['id'], '" method="post" accept-charset="', $context['character_set'], '" id="view_group"> |
|
| 534 | 534 | <div class="cat_bar"> |
| 535 | 535 | <h3 class="catbg">', $context['page_title'], '</h3> |
| 536 | 536 | </div> |
@@ -549,7 +549,7 @@ discard block |
||
| 549 | 549 | <strong>' . $txt['membergroups_members_description'] . ':</strong> |
| 550 | 550 | </dt> |
| 551 | 551 | <dd> |
| 552 | - ', $context['group']['description'] ,' |
|
| 552 | + ', $context['group']['description'], ' |
|
| 553 | 553 | </dd>'; |
| 554 | 554 | |
| 555 | 555 | echo ' |
@@ -557,7 +557,7 @@ discard block |
||
| 557 | 557 | <strong>', $txt['membergroups_members_top'], ':</strong> |
| 558 | 558 | </dt> |
| 559 | 559 | <dd> |
| 560 | - ', $context['total_members'] ,' |
|
| 560 | + ', $context['total_members'], ' |
|
| 561 | 561 | </dd>'; |
| 562 | 562 | // Any group moderators to show? |
| 563 | 563 | if (!empty($context['group']['moderators'])) |
@@ -571,7 +571,7 @@ discard block |
||
| 571 | 571 | <strong>', $txt['membergroups_members_group_moderators'], ':</strong> |
| 572 | 572 | </dt> |
| 573 | 573 | <dd> |
| 574 | - ', implode(', ', $moderators) ,' |
|
| 574 | + ', implode(', ', $moderators), ' |
|
| 575 | 575 | </dd>'; |
| 576 | 576 | } |
| 577 | 577 | |
@@ -597,7 +597,7 @@ discard block |
||
| 597 | 597 | echo ' |
| 598 | 598 | <th><a href="', $scripturl, '?action=', $context['current_action'], (isset($context['admin_area']) ? ';area=' . $context['admin_area'] : ''), ';sa=members;start=', $context['start'], ';sort=active', $context['sort_by'] == 'active' && $context['sort_direction'] == 'up' ? ';desc' : '', ';group=', $context['group']['id'], '">', $txt['membergroups_members_last_active'], $context['sort_by'] == 'active' ? '<span class="generic_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a></th> |
| 599 | 599 | <th><a href="', $scripturl, '?action=', $context['current_action'], (isset($context['admin_area']) ? ';area=' . $context['admin_area'] : ''), ';sa=members;start=', $context['start'], ';sort=registered', $context['sort_by'] == 'registered' && $context['sort_direction'] == 'up' ? ';desc' : '', ';group=', $context['group']['id'], '">', $txt['date_registered'], $context['sort_by'] == 'registered' ? '<span class="generic_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a></th> |
| 600 | - <th ', empty($context['group']['assignable']) ? ' colspan="2"' : '', '><a href="', $scripturl, '?action=', $context['current_action'], (isset($context['admin_area']) ? ';area=' . $context['admin_area'] : ''), ';sa=members;start=', $context['start'], ';sort=posts', $context['sort_by'] == 'posts' && $context['sort_direction'] == 'up' ? ';desc' : '', ';group=', $context['group']['id'], '">', $txt['posts'], $context['sort_by'] == 'posts' ? ' <span class="generic_icons sort_' . $context['sort_direction'] . '"></span>' : '','</a></th>'; |
|
| 600 | + <th ', empty($context['group']['assignable']) ? ' colspan="2"' : '', '><a href="', $scripturl, '?action=', $context['current_action'], (isset($context['admin_area']) ? ';area=' . $context['admin_area'] : ''), ';sa=members;start=', $context['start'], ';sort=posts', $context['sort_by'] == 'posts' && $context['sort_direction'] == 'up' ? ';desc' : '', ';group=', $context['group']['id'], '">', $txt['posts'], $context['sort_by'] == 'posts' ? ' <span class="generic_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a></th>'; |
|
| 601 | 601 | if (!empty($context['group']['assignable'])) |
| 602 | 602 | echo ' |
| 603 | 603 | <th style="width: 4%"><input type="checkbox" class="input_check" onclick="invertAll(this, this.form);"></th>'; |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | <div class="windowbg2"> |
| 27 | 27 | <dl class="settings"> |
| 28 | 28 | <dt> |
| 29 | - <a href="', $scripturl, '?action=helpadmin;help=search_weight_frequency" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><label for="weight1_val"> |
|
| 29 | + <a href="', $scripturl, '?action=helpadmin;help=search_weight_frequency" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><label for="weight1_val"> |
|
| 30 | 30 | ', $txt['search_weight_frequency'], ':</label> |
| 31 | 31 | </dt> |
| 32 | 32 | <dd> |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | <span id="weight1" class="search_weight">', $context['relative_weights']['search_weight_frequency'], '%</span> |
| 35 | 35 | </dd> |
| 36 | 36 | <dt> |
| 37 | - <a href="', $scripturl, '?action=helpadmin;help=search_weight_age" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><label for="weight2_val"> |
|
| 37 | + <a href="', $scripturl, '?action=helpadmin;help=search_weight_age" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><label for="weight2_val"> |
|
| 38 | 38 | ', $txt['search_weight_age'], ':</label> |
| 39 | 39 | </dt> |
| 40 | 40 | <dd> |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | <span id="weight2" class="search_weight">', $context['relative_weights']['search_weight_age'], '%</span> |
| 43 | 43 | </dd> |
| 44 | 44 | <dt> |
| 45 | - <a href="', $scripturl, '?action=helpadmin;help=search_weight_length" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><label for="weight3_val"> |
|
| 45 | + <a href="', $scripturl, '?action=helpadmin;help=search_weight_length" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><label for="weight3_val"> |
|
| 46 | 46 | ', $txt['search_weight_length'], ':</label> |
| 47 | 47 | </dt> |
| 48 | 48 | <dd> |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | <span id="weight3" class="search_weight">', $context['relative_weights']['search_weight_length'], '%</span> |
| 51 | 51 | </dd> |
| 52 | 52 | <dt> |
| 53 | - <a href="', $scripturl, '?action=helpadmin;help=search_weight_subject" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><label for="weight4_val"> |
|
| 53 | + <a href="', $scripturl, '?action=helpadmin;help=search_weight_subject" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><label for="weight4_val"> |
|
| 54 | 54 | ', $txt['search_weight_subject'], ':</label> |
| 55 | 55 | </dt> |
| 56 | 56 | <dd> |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | <span id="weight4" class="search_weight">', $context['relative_weights']['search_weight_subject'], '%</span> |
| 59 | 59 | </dd> |
| 60 | 60 | <dt> |
| 61 | - <a href="', $scripturl, '?action=helpadmin;help=search_weight_first_message" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><label for="weight5_val"> |
|
| 61 | + <a href="', $scripturl, '?action=helpadmin;help=search_weight_first_message" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><label for="weight5_val"> |
|
| 62 | 62 | ', $txt['search_weight_first_message'], ':</label> |
| 63 | 63 | </dt> |
| 64 | 64 | <dd> |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | <span id="weight5" class="search_weight">', $context['relative_weights']['search_weight_first_message'], '%</span> |
| 67 | 67 | </dd> |
| 68 | 68 | <dt> |
| 69 | - <a href="', $scripturl, '?action=helpadmin;help=search_weight_sticky" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><label for="weight6_val"> |
|
| 69 | + <a href="', $scripturl, '?action=helpadmin;help=search_weight_sticky" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><label for="weight6_val"> |
|
| 70 | 70 | ', $txt['search_weight_sticky'], ':</label> |
| 71 | 71 | </dt> |
| 72 | 72 | <dd> |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | { |
| 141 | 141 | echo ' |
| 142 | 142 | <dt> |
| 143 | - <input type="radio" name="search_index" value="fulltext"', !empty($modSettings['search_index']) && $modSettings['search_index'] == 'fulltext' ? ' checked' : '', empty($context['fulltext_index']) ? ' onclick="alert(\'' . $txt['search_method_fulltext_warning'] . '\'); selectRadioByName(this.form.search_index, \'fulltext\');"': '', ' class="input_radio"> |
|
| 143 | + <input type="radio" name="search_index" value="fulltext"', !empty($modSettings['search_index']) && $modSettings['search_index'] == 'fulltext' ? ' checked' : '', empty($context['fulltext_index']) ? ' onclick="alert(\'' . $txt['search_method_fulltext_warning'] . '\'); selectRadioByName(this.form.search_index, \'fulltext\');"' : '', ' class="input_radio"> |
|
| 144 | 144 | ', $txt['search_method_fulltext_index'], ' |
| 145 | 145 | </dt> |
| 146 | 146 | <dd> |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | echo ' |
| 192 | 192 | <dt> |
| 193 | 193 | <input type="radio" name="search_index" value="', $api['setting_index'], '"', !empty($modSettings['search_index']) && $modSettings['search_index'] == $api['setting_index'] ? ' checked' : '', ' class="input_radio"> |
| 194 | - ', $api['label'] ,' |
|
| 194 | + ', $api['label'], ' |
|
| 195 | 195 | </dt>'; |
| 196 | 196 | |
| 197 | 197 | if ($api['desc']) |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | ', !empty($context['bbcodes_handlers']) ? $context['bbcodes_handlers'] : '', ' |
| 33 | 33 | |
| 34 | 34 | $("#', $editor_id, '").sceditor({ |
| 35 | - ',( $editor_id != 'quickReply' ? 'autofocus : true,' : '' ),' |
|
| 35 | + ',($editor_id != 'quickReply' ? 'autofocus : true,' : ''), ' |
|
| 36 | 36 | style: "', $settings['default_theme_url'], '/css/jquery.sceditor.default.css", |
| 37 | 37 | emoticonsCompat: true,', !empty($editor_context['locale']) ? ' |
| 38 | 38 | locale: \'' . $editor_context['locale'] . '\',' : '', !empty($context['right_to_left']) ? ' |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | |
| 160 | 160 | if (!empty($context['drafts_pm_save'])) |
| 161 | 161 | echo ' |
| 162 | - <input type="submit" name="save_draft" value="', $txt['draft_save'], '" tabindex="', --$tempTab, '" onclick="submitThisOnce(this);" accesskey="d" class="button_submit"> |
|
| 162 | + <input type="submit" name="save_draft" value="', $txt['draft_save'], '" tabindex="', --$tempTab, '" onclick="submitThisOnce(this);" accesskey="d" class="button_submit"> |
|
| 163 | 163 | <input type="hidden" id="id_pm_draft" name="id_pm_draft" value="', empty($context['id_pm_draft']) ? 0 : $context['id_pm_draft'], '">'; |
| 164 | 164 | |
| 165 | 165 | if (!empty($context['drafts_save'])) |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | <span id="throbber" style="display:none"><img src="' . $settings['images_url'] . '/loading_sm.gif" alt="" class="centericon"> </span> |
| 187 | 187 | <span id="draft_lastautosave" ></span> |
| 188 | 188 | </span> |
| 189 | - <script src="', $settings['default_theme_url'], '/scripts/drafts.js', $modSettings['browser_cache'] ,'"></script> |
|
| 189 | + <script src="', $settings['default_theme_url'], '/scripts/drafts.js', $modSettings['browser_cache'], '"></script> |
|
| 190 | 190 | <script> |
| 191 | 191 | var oDraftAutoSave = new smf_DraftAutoSave({ |
| 192 | 192 | sSelf: \'oDraftAutoSave\', |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | <span id="throbber" style="display:none"><img src="' . $settings['images_url'] . '/loading_sm.gif" alt="" class="centericon"> </span> |
| 208 | 208 | <span id="draft_lastautosave" ></span> |
| 209 | 209 | </span> |
| 210 | - <script src="', $settings['default_theme_url'], '/scripts/drafts.js', $modSettings['browser_cache'] ,'"></script> |
|
| 210 | + <script src="', $settings['default_theme_url'], '/scripts/drafts.js', $modSettings['browser_cache'], '"></script> |
|
| 211 | 211 | <script> |
| 212 | 212 | var oDraftAutoSave = new smf_DraftAutoSave({ |
| 213 | 213 | sSelf: \'oDraftAutoSave\', |
@@ -24,8 +24,8 @@ |
||
| 24 | 24 | <meta charset="', $context['character_set'], '"> |
| 25 | 25 | <meta name="robots" content="noindex"> |
| 26 | 26 | <title>', $context['page_title'], '</title> |
| 27 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 28 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
| 27 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 28 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
| 29 | 29 | </head> |
| 30 | 30 | <body id="likes_popup"> |
| 31 | 31 | <div class="windowbg"> |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | |
| 232 | 232 | foreach ($message['custom_fields']['above_member'] as $custom) |
| 233 | 233 | echo ' |
| 234 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 234 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 235 | 235 | |
| 236 | 236 | echo ' |
| 237 | 237 | </ul> |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | if (!empty($message['custom_fields']['below_avatar'])) |
| 269 | 269 | foreach ($message['custom_fields']['below_avatar'] as $custom) |
| 270 | 270 | echo ' |
| 271 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 271 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 272 | 272 | |
| 273 | 273 | if (!$message['member']['is_guest']) |
| 274 | 274 | echo ' |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | |
| 311 | 311 | foreach ($message['custom_fields']['icons'] as $custom) |
| 312 | 312 | echo ' |
| 313 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 313 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 314 | 314 | |
| 315 | 315 | echo ' |
| 316 | 316 | </ol> |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | if (!empty($message['custom_fields']['standard'])) |
| 369 | 369 | foreach ($message['custom_fields']['standard'] as $custom) |
| 370 | 370 | echo ' |
| 371 | - <li class="custom ', $custom['col_name'] ,'">', $custom['title'], ': ', $custom['value'], '</li>'; |
|
| 371 | + <li class="custom ', $custom['col_name'], '">', $custom['title'], ': ', $custom['value'], '</li>'; |
|
| 372 | 372 | |
| 373 | 373 | // Are we showing the warning status? |
| 374 | 374 | if ($message['member']['can_see_warning']) |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | if (!empty($message['custom_fields']['bottom_poster'])) |
| 380 | 380 | foreach ($message['custom_fields']['bottom_poster'] as $custom) |
| 381 | 381 | echo ' |
| 382 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 382 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 383 | 383 | } |
| 384 | 384 | |
| 385 | 385 | // Done with the information about the poster... on to the post itself. |
@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | |
| 478 | 478 | foreach ($message['custom_fields']['above_signature'] as $custom) |
| 479 | 479 | echo ' |
| 480 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 480 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 481 | 481 | |
| 482 | 482 | echo ' |
| 483 | 483 | </ul> |
@@ -498,7 +498,7 @@ discard block |
||
| 498 | 498 | |
| 499 | 499 | foreach ($message['custom_fields']['below_signature'] as $custom) |
| 500 | 500 | echo ' |
| 501 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 501 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 502 | 502 | |
| 503 | 503 | echo ' |
| 504 | 504 | </ul> |
@@ -902,12 +902,12 @@ discard block |
||
| 902 | 902 | // You can only reply if they are not a guest... |
| 903 | 903 | if (!$message['member']['is_guest']) |
| 904 | 904 | echo ' |
| 905 | - <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote;u=', $context['folder'] == 'sent' ? '' : $message['member']['id'], '">', $quote_button , '</a>', $context['menu_separator'], ' |
|
| 906 | - <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';u=', $message['member']['id'], '">', $reply_button , '</a> ', $context['menu_separator']; |
|
| 905 | + <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote;u=', $context['folder'] == 'sent' ? '' : $message['member']['id'], '">', $quote_button, '</a>', $context['menu_separator'], ' |
|
| 906 | + <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';u=', $message['member']['id'], '">', $reply_button, '</a> ', $context['menu_separator']; |
|
| 907 | 907 | // This is for "forwarding" - even if the member is gone. |
| 908 | 908 | else |
| 909 | 909 | echo ' |
| 910 | - <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote">', $quote_button , '</a>', $context['menu_separator']; |
|
| 910 | + <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote">', $quote_button, '</a>', $context['menu_separator']; |
|
| 911 | 911 | } |
| 912 | 912 | |
| 913 | 913 | echo ' |
@@ -1008,7 +1008,7 @@ discard block |
||
| 1008 | 1008 | <div class="', empty($context['error_type']) || $context['error_type'] != 'serious' ? 'noticebox' : 'errorbox', '"', empty($context['post_error']['messages']) ? ' style="display: none"' : '', ' id="errors"> |
| 1009 | 1009 | <dl> |
| 1010 | 1010 | <dt> |
| 1011 | - <strong id="error_serious">', $txt['error_while_submitting'] , '</strong> |
|
| 1011 | + <strong id="error_serious">', $txt['error_while_submitting'], '</strong> |
|
| 1012 | 1012 | </dt> |
| 1013 | 1013 | <dd class="error" id="error_list"> |
| 1014 | 1014 | ', empty($context['post_error']['messages']) ? '' : implode('<br>', $context['post_error']['messages']), ' |
@@ -1064,7 +1064,7 @@ discard block |
||
| 1064 | 1064 | <span', (isset($context['post_error']['no_subject']) ? ' class="error"' : ''), ' id="caption_subject">', $txt['subject'], ':</span> |
| 1065 | 1065 | </dt> |
| 1066 | 1066 | <dd id="pm_subject"> |
| 1067 | - <input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="80" maxlength="80"',isset($context['post_error']['no_subject']) ? ' class="error"' : ' class="input_text"', '/> |
|
| 1067 | + <input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="80" maxlength="80"', isset($context['post_error']['no_subject']) ? ' class="error"' : ' class="input_text"', '/> |
|
| 1068 | 1068 | </dd> |
| 1069 | 1069 | </dl><hr class="clear">'; |
| 1070 | 1070 | |
@@ -1428,7 +1428,7 @@ discard block |
||
| 1428 | 1428 | echo ' |
| 1429 | 1429 | <div class="padding"> |
| 1430 | 1430 | <input type="submit" name="save" value="', $txt['save'], '" class="button_submit"> |
| 1431 | - <input type="submit" name="delete" value="', $txt['quickmod_delete_selected'], '" data-confirm="', $txt['pm_labels_delete'] ,'" class="button_submit you_sure"> |
|
| 1431 | + <input type="submit" name="delete" value="', $txt['quickmod_delete_selected'], '" data-confirm="', $txt['pm_labels_delete'], '" class="button_submit you_sure"> |
|
| 1432 | 1432 | </div>'; |
| 1433 | 1433 | |
| 1434 | 1434 | echo ' |
@@ -1592,7 +1592,7 @@ discard block |
||
| 1592 | 1592 | if (!empty($context['rules'])) |
| 1593 | 1593 | echo ' |
| 1594 | 1594 | <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> |
| 1595 | - <input type="submit" name="delselected" value="', $txt['pm_delete_selected_rule'], '" data-confirm="', $txt['pm_js_delete_rule_confirm'] ,'" class="button_submit smalltext you_sure">'; |
|
| 1595 | + <input type="submit" name="delselected" value="', $txt['pm_delete_selected_rule'], '" data-confirm="', $txt['pm_js_delete_rule_confirm'], '" class="button_submit smalltext you_sure">'; |
|
| 1596 | 1596 | |
| 1597 | 1597 | echo ' |
| 1598 | 1598 | </div> |
@@ -1833,9 +1833,9 @@ discard block |
||
| 1833 | 1833 | |
| 1834 | 1834 | echo ' |
| 1835 | 1835 | <select name="acttype[', $k, ']" id="acttype', $k, '" onchange="updateActionDef(', $k, '); rebuildRuleDesc();"> |
| 1836 | - <option value="">', $txt['pm_rule_sel_action'] , ':</option> |
|
| 1837 | - <option value="lab"', $action['t'] == 'lab' ? ' selected' : '', '>', $txt['pm_rule_label'] , '</option> |
|
| 1838 | - <option value="del"', $action['t'] == 'del' ? ' selected' : '', '>', $txt['pm_rule_delete'] , '</option> |
|
| 1836 | + <option value="">', $txt['pm_rule_sel_action'], ':</option> |
|
| 1837 | + <option value="lab"', $action['t'] == 'lab' ? ' selected' : '', '>', $txt['pm_rule_label'], '</option> |
|
| 1838 | + <option value="del"', $action['t'] == 'del' ? ' selected' : '', '>', $txt['pm_rule_delete'], '</option> |
|
| 1839 | 1839 | </select> |
| 1840 | 1840 | <span id="labdiv', $k, '"> |
| 1841 | 1841 | <select name="labdef[', $k, ']" id="labdef', $k, '" onchange="rebuildRuleDesc();"> |
@@ -1952,7 +1952,7 @@ discard block |
||
| 1952 | 1952 | </div> |
| 1953 | 1953 | <ul class="quickbuttons"> |
| 1954 | 1954 | <li><a href="', $scripturl, '?action=pm;sa=showpmdrafts;id_draft=', $draft['id_draft'], ';', $context['session_var'], '=', $context['session_id'], '"><span class="generic_icons modifybutton"></span>', $txt['draft_edit'], '</a></li> |
| 1955 | - <li><a href="', $scripturl, '?action=pm;sa=showpmdrafts;delete=', $draft['id_draft'], ';', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['draft_remove'] ,'?" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['draft_delete'], '</a></li> |
|
| 1955 | + <li><a href="', $scripturl, '?action=pm;sa=showpmdrafts;delete=', $draft['id_draft'], ';', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['draft_remove'], '?" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['draft_delete'], '</a></li> |
|
| 1956 | 1956 | </ul> |
| 1957 | 1957 | </div>'; |
| 1958 | 1958 | } |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | <div class="tborder login"> |
| 118 | 118 | <div class="cat_bar"> |
| 119 | 119 | <h3 class="catbg"> |
| 120 | - ', $txt['tfa_profile_label'] ,' |
|
| 120 | + ', $txt['tfa_profile_label'], ' |
|
| 121 | 121 | </h3> |
| 122 | 122 | </div> |
| 123 | 123 | <div class="roundframe">'; |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | echo ' |
| 304 | 304 | <strong>', $txt['password'], ':</strong> |
| 305 | 305 | <input type="password" name="', $context['sessionCheckType'], '_pass" size="24" class="input_password"> |
| 306 | - <a href="', $scripturl, '?action=helpadmin;help=securityDisable_why" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><br> |
|
| 306 | + <a href="', $scripturl, '?action=helpadmin;help=securityDisable_why" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><br> |
|
| 307 | 307 | <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> |
| 308 | 308 | <input type="hidden" name="', $context['admin-login_token_var'], '" value="', $context['admin-login_token'], '"> |
| 309 | 309 | <input type="submit" style="margin-top: 1em;" value="', $txt['login'], '" class="button_submit">'; |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | <strong', !empty($field['is_error']) ? ' class="red"' : '', '>', $field['name'], ':</strong> |
| 151 | 151 | <span class="smalltext">', $field['desc'], '</span> |
| 152 | 152 | </dt> |
| 153 | - <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ .'" name="', $field['input_html']), '</dd>'; |
|
| 153 | + <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ . '" name="', $field['input_html']), '</dd>'; |
|
| 154 | 154 | |
| 155 | 155 | echo ' |
| 156 | 156 | </dl>'; |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | <meta charset="', $context['character_set'], '"> |
| 437 | 437 | <title>', $txt['visual_verification_sound'], '</title> |
| 438 | 438 | <meta name="robots" content="noindex"> |
| 439 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 439 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 440 | 440 | <style>'; |
| 441 | 441 | |
| 442 | 442 | // Just show the help text and a "close window" link. |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | <strong', !empty($field['is_error']) ? ' class="red"' : '', '>', $field['name'], ':</strong> |
| 543 | 543 | <span class="smalltext">', $field['desc'], '</span> |
| 544 | 544 | </dt> |
| 545 | - <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ .'" name="', $field['input_html']), '</dd>'; |
|
| 545 | + <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ . '" name="', $field['input_html']), '</dd>'; |
|
| 546 | 546 | |
| 547 | 547 | echo ' |
| 548 | 548 | <dt> |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | <a href="', $scripturl, '?action=moderate;area=postmod;sa=', ($board['unapproved_topics'] > 0 ? 'topics' : 'posts'), ';brd=', $board['id'], ';', $context['session_var'], '=', $context['session_id'], '" title="', sprintf($txt['unapproved_posts'], $board['unapproved_topics'], $board['unapproved_posts']), '" class="moderation_link">(!)</a>'; |
| 51 | 51 | |
| 52 | 52 | echo ' |
| 53 | - <p class="board_description">', $board['description'] , '</p>'; |
|
| 53 | + <p class="board_description">', $board['description'], '</p>'; |
|
| 54 | 54 | |
| 55 | 55 | // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) |
| 56 | 56 | if (!empty($board['moderators']) || !empty($board['moderator_groups'])) |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | // Mobile action buttons (top) |
| 117 | 117 | echo ' |
| 118 | 118 | <div class="mobile_buttons floatright"> |
| 119 | - <a class="button mobile_act">', $txt['mobile_action'],'</a> |
|
| 119 | + <a class="button mobile_act">', $txt['mobile_action'], '</a> |
|
| 120 | 120 | </div>'; |
| 121 | 121 | |
| 122 | 122 | echo ' |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | <img src="', $topic['first_post']['icon_url'], '" alt=""> |
| 217 | 217 | ', $topic['is_posted_in'] ? '<img class="posted" src="' . $settings['images_url'] . '/icons/profile_sm.png" alt="">' : '', ' |
| 218 | 218 | </div> |
| 219 | - <div class="info', !empty($context['can_quick_mod']) ? '' : ' info_block','"> |
|
| 219 | + <div class="info', !empty($context['can_quick_mod']) ? '' : ' info_block', '"> |
|
| 220 | 220 | <div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" ondblclick="oQuickModifyTopic.modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>'; |
| 221 | 221 | |
| 222 | 222 | // Now we handle the icons |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | </span> |
| 249 | 249 | </div> |
| 250 | 250 | <p class="floatleft">', $txt['started_by'], ' ', $topic['first_post']['member']['link'], '</p> |
| 251 | - ', !empty($topic['pages']) ? '<span id="pages'. $topic['first_post']['id']. '" class="topic_pages"> '. $topic['pages']. '</span>' : '',' |
|
| 251 | + ', !empty($topic['pages']) ? '<span id="pages' . $topic['first_post']['id'] . '" class="topic_pages"> ' . $topic['pages'] . '</span>' : '', ' |
|
| 252 | 252 | <br class="clear"> |
| 253 | 253 | </div> |
| 254 | 254 | </div> |
@@ -302,7 +302,7 @@ discard block |
||
| 302 | 302 | foreach ($context['qmod_actions'] as $qmod_action) |
| 303 | 303 | if ($context['can_' . $qmod_action]) |
| 304 | 304 | echo ' |
| 305 | - <option value="' . $qmod_action . '">' . $txt['quick_mod_' . $qmod_action] . '</option>'; |
|
| 305 | + <option value="' . $qmod_action . '">' . $txt['quick_mod_' . $qmod_action] . '</option>'; |
|
| 306 | 306 | |
| 307 | 307 | echo ' |
| 308 | 308 | </select>'; |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | // Mobile action buttons (bottom) |
| 330 | 330 | echo ' |
| 331 | 331 | <div class="mobile_buttons floatright"> |
| 332 | - <a class="button mobile_act">', $txt['mobile_action'],'</a> |
|
| 332 | + <a class="button mobile_act">', $txt['mobile_action'], '</a> |
|
| 333 | 333 | </div>'; |
| 334 | 334 | |
| 335 | 335 | echo ' |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | echo ' |
| 380 | 380 | <div id="mobile_action" class="popup_container"> |
| 381 | 381 | <div class="popup_window description"> |
| 382 | - <div class="popup_heading">', $txt['mobile_action'],' |
|
| 382 | + <div class="popup_heading">', $txt['mobile_action'], ' |
|
| 383 | 383 | <a href="javascript:void(0);" class="generic_icons hide_popup"></a></div> |
| 384 | 384 | ', template_button_strip($context['normal_buttons']), ' |
| 385 | 385 | </div> |