@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | // Are we done sending the newsletter? |
| 21 | 21 | if (!empty($context['newsletter_sent'])) |
| 22 | 22 | echo ' |
| 23 | - <div class="infobox">', $txt['admin_news_newsletter_'. $context['newsletter_sent']] ,'</div>'; |
|
| 23 | + <div class="infobox">', $txt['admin_news_newsletter_' . $context['newsletter_sent']], '</div>'; |
|
| 24 | 24 | |
| 25 | 25 | echo ' |
| 26 | 26 | <div id="admincenter"> |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | <form name="newsmodify" action="', $scripturl, '?action=admin;area=news;sa=mailingsend" method="post" accept-charset="', $context['character_set'], '"> |
| 206 | 206 | <div class="cat_bar"> |
| 207 | 207 | <h3 class="catbg"> |
| 208 | - <a href="', $scripturl, '?action=helpadmin;help=email_members" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> ', $txt['admin_newsletters'], ' |
|
| 208 | + <a href="', $scripturl, '?action=helpadmin;help=email_members" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> ', $txt['admin_newsletters'], ' |
|
| 209 | 209 | </h3> |
| 210 | 210 | </div> |
| 211 | 211 | <div class="information"> |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | <div class="', empty($context['error_type']) || $context['error_type'] != 'serious' ? 'noticebox' : 'errorbox', '"', empty($context['post_error']['messages']) ? ' style="display: none"' : '', ' id="errors"> |
| 216 | 216 | <dl> |
| 217 | 217 | <dt> |
| 218 | - <strong id="error_serious">', $txt['error_while_submitting'] , '</strong> |
|
| 218 | + <strong id="error_serious">', $txt['error_while_submitting'], '</strong> |
|
| 219 | 219 | </dt> |
| 220 | 220 | <dd class="error" id="error_list"> |
| 221 | 221 | ', empty($context['post_error']['messages']) ? '' : implode('<br>', $context['post_error']['messages']), ' |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | <span', (isset($context['post_error']['no_subject']) ? ' class="error"' : ''), ' id="caption_subject">', $txt['subject'], ':</span> |
| 228 | 228 | </dt> |
| 229 | 229 | <dd id="pm_subject"> |
| 230 | - <input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="60" maxlength="60"',isset($context['post_error']['no_subject']) ? ' class="error"' : ' class="input_text"', '/> |
|
| 230 | + <input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="60" maxlength="60"', isset($context['post_error']['no_subject']) ? ' class="error"' : ' class="input_text"', '/> |
|
| 231 | 231 | </dd> |
| 232 | 232 | </dl><hr class="clear"> |
| 233 | 233 | <div id="bbcBox_message"></div>'; |
@@ -392,7 +392,7 @@ discard block |
||
| 392 | 392 | <form action="', $scripturl, '?action=admin;area=news;sa=mailingsend" method="post" accept-charset="', $context['character_set'], '" name="autoSubmit" id="autoSubmit"> |
| 393 | 393 | <div class="cat_bar"> |
| 394 | 394 | <h3 class="catbg"> |
| 395 | - <a href="', $scripturl, '?action=helpadmin;help=email_members" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> ', $txt['admin_newsletters'], ' |
|
| 395 | + <a href="', $scripturl, '?action=helpadmin;help=email_members" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> ', $txt['admin_newsletters'], ' |
|
| 396 | 396 | </h3> |
| 397 | 397 | </div> |
| 398 | 398 | <div class="windowbg"> |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | { |
| 23 | 23 | echo ' |
| 24 | 24 | <div class="infobox"> |
| 25 | - ', $txt['report_action_'. $context['report_post_action']], ' |
|
| 25 | + ', $txt['report_action_' . $context['report_post_action']], ' |
|
| 26 | 26 | </div>'; |
| 27 | 27 | } |
| 28 | 28 | |
@@ -65,18 +65,18 @@ discard block |
||
| 65 | 65 | <br> |
| 66 | 66 | <ul class="quickbuttons"> |
| 67 | 67 | <li><a href="', $report['report_href'], '">', $details_button, '</a></li> |
| 68 | - <li><a href="', $scripturl, '?action=moderate;area=reportedposts;sa=handle;ignore=', (int) !$report['ignore'], ';rid=', $report['id'], ';start=', $context['start'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" ', (!$report['ignore'] ? ' class="you_sure" data-confirm="'. $txt['mc_reportedp_ignore_confirm'] .'"' : '') ,'>', $report['ignore'] ? $unignore_button : $ignore_button, '</a></li> |
|
| 68 | + <li><a href="', $scripturl, '?action=moderate;area=reportedposts;sa=handle;ignore=', (int) !$report['ignore'], ';rid=', $report['id'], ';start=', $context['start'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" ', (!$report['ignore'] ? ' class="you_sure" data-confirm="' . $txt['mc_reportedp_ignore_confirm'] . '"' : ''), '>', $report['ignore'] ? $unignore_button : $ignore_button, '</a></li> |
|
| 69 | 69 | <li><a href="', $scripturl, '?action=moderate;area=reportedposts;sa=handle;closed=', (int) !$report['closed'], ';rid=', $report['id'], ';start=', $context['start'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-closed_token_var'], '=', $context['mod-report-closed_token'], '">', $close_button, '</a></li>'; |
| 70 | 70 | |
| 71 | 71 | // Delete message button. |
| 72 | 72 | if (!$report['closed'] && (is_array($context['report_remove_any_boards']) && in_array($report['topic']['id_board'], $context['report_remove_any_boards']))) |
| 73 | 73 | echo ' |
| 74 | - <li><a href="', $scripturl, '?action=deletemsg;topic=', $report['topic']['id'] ,'.0;msg=', $report['topic']['id_msg'] ,';modcenter;', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['mc_reportedp_delete_confirm'] ,'" class="you_sure">', $delete_button, '</a></li>'; |
|
| 74 | + <li><a href="', $scripturl, '?action=deletemsg;topic=', $report['topic']['id'], '.0;msg=', $report['topic']['id_msg'], ';modcenter;', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['mc_reportedp_delete_confirm'], '" class="you_sure">', $delete_button, '</a></li>'; |
|
| 75 | 75 | |
| 76 | 76 | // Ban this user button. |
| 77 | 77 | if (!$report['closed'] && !empty($context['report_manage_bans'])) |
| 78 | 78 | echo ' |
| 79 | - <li><a href="', $scripturl, '?action=admin;area=ban;sa=add', (!empty($report['author']['id']) ? ';u='. $report['author']['id'] : ';msg='. $report['topic']['id_msg']) ,';', $context['session_var'], '=', $context['session_id'], '">', $ban_button, '</a></li>'; |
|
| 79 | + <li><a href="', $scripturl, '?action=admin;area=ban;sa=add', (!empty($report['author']['id']) ? ';u=' . $report['author']['id'] : ';msg=' . $report['topic']['id_msg']), ';', $context['session_var'], '=', $context['session_id'], '">', $ban_button, '</a></li>'; |
|
| 80 | 80 | |
| 81 | 81 | if (!$context['view_closed']) |
| 82 | 82 | echo ' |
@@ -96,9 +96,9 @@ discard block |
||
| 96 | 96 | |
| 97 | 97 | echo ' |
| 98 | 98 | <div class="pagesection"> |
| 99 | - ', !empty($context['total_reports']) && $context['total_reports'] >= $context['reports_how_many'] ? '<div class="pagelinks floatleft">'. $context['page_index']. '</div>' : '' ,' |
|
| 99 | + ', !empty($context['total_reports']) && $context['total_reports'] >= $context['reports_how_many'] ? '<div class="pagelinks floatleft">' . $context['page_index'] . '</div>' : '', ' |
|
| 100 | 100 | <div class="floatright">', !$context['view_closed'] ? ' |
| 101 | - <input type="hidden" name="'. $context['mod-report-close-all_token_var'] .'" value="'. $context['mod-report-close-all_token'] .'"> |
|
| 101 | + <input type="hidden" name="'. $context['mod-report-close-all_token_var'] . '" value="' . $context['mod-report-close-all_token'] . '"> |
|
| 102 | 102 | <input type="submit" name="close_selected" value="' . $txt['mc_reportedp_close_selected'] . '" class="button_submit">' : '', ' |
| 103 | 103 | </div> |
| 104 | 104 | </div> |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | { |
| 189 | 189 | echo ' |
| 190 | 190 | <div class="infobox"> |
| 191 | - ', $txt['report_action_'. $context['report_post_action']], ' |
|
| 191 | + ', $txt['report_action_' . $context['report_post_action']], ' |
|
| 192 | 192 | </div>'; |
| 193 | 193 | } |
| 194 | 194 | |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | $unignore_button = create_button('ignore', 'mc_reportedp_unignore', 'mc_reportedp_unignore'); |
| 214 | 214 | |
| 215 | 215 | echo ' |
| 216 | - <a href="', $scripturl, '?action=moderate;area=reportedposts;sa=handle;ignore=', (int) !$context['report']['ignore'], ';rid=', $context['report']['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" class="button', (!$context['report']['ignore'] ? ' you_sure' : '') ,'"', (!$context['report']['ignore'] ? ' data-confirm="'. $txt['mc_reportedp_ignore_confirm'] .'"' : '') ,'>', $context['report']['ignore'] ? $unignore_button : $ignore_button, '</a> |
|
| 216 | + <a href="', $scripturl, '?action=moderate;area=reportedposts;sa=handle;ignore=', (int) !$context['report']['ignore'], ';rid=', $context['report']['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" class="button', (!$context['report']['ignore'] ? ' you_sure' : ''), '"', (!$context['report']['ignore'] ? ' data-confirm="' . $txt['mc_reportedp_ignore_confirm'] . '"' : ''), '>', $context['report']['ignore'] ? $unignore_button : $ignore_button, '</a> |
|
| 217 | 217 | <a href="', $scripturl, '?action=moderate;area=reportedposts;sa=handle;closed=', (int) !$context['report']['closed'], ';rid=', $context['report']['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-closed_token_var'], '=', $context['mod-report-closed_token'], '" class="button">', $close_button, '</a> |
| 218 | 218 | </span> |
| 219 | 219 | </h3> |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | { |
| 251 | 251 | echo ' |
| 252 | 252 | <div class="title_bar"> |
| 253 | - <h3 class="titlebg">', $comment['member']['link'], ': <em class="smalltext">(', $comment['time'], ')</em>', ($comment['can_edit'] ? '<span class="floatright"><a href="' . $scripturl . '?action=moderate;area=reportedposts;sa=editcomment;rid='. $context['report']['id'] .';mid='. $comment['id'] .';'. $context['session_var'] .'='. $context['session_id'] .'" class="button">'. $txt['mc_reportedp_comment_edit'] .'</a><a href="' . $scripturl . '?action=moderate;area=reportedposts;sa=handlecomment;rid='. $context['report']['id'] .';mid='. $comment['id'] .';delete;'. $context['session_var'] .'='. $context['session_id']. ';'. $context['mod-reportC-delete_token_var'] .'='. $context['mod-reportC-delete_token'] .'" class="button">'. $txt['mc_reportedp_comment_delete'] .'</a></span>' : '') ,'</h3> |
|
| 253 | + <h3 class="titlebg">', $comment['member']['link'], ': <em class="smalltext">(', $comment['time'], ')</em>', ($comment['can_edit'] ? '<span class="floatright"><a href="' . $scripturl . '?action=moderate;area=reportedposts;sa=editcomment;rid=' . $context['report']['id'] . ';mid=' . $comment['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" class="button">' . $txt['mc_reportedp_comment_edit'] . '</a><a href="' . $scripturl . '?action=moderate;area=reportedposts;sa=handlecomment;rid=' . $context['report']['id'] . ';mid=' . $comment['id'] . ';delete;' . $context['session_var'] . '=' . $context['session_id'] . ';' . $context['mod-reportC-delete_token_var'] . '=' . $context['mod-reportC-delete_token'] . '" class="button">' . $txt['mc_reportedp_comment_delete'] . '</a></span>' : ''), '</h3> |
|
| 254 | 254 | </div>'; |
| 255 | 255 | |
| 256 | 256 | echo ' |
@@ -292,17 +292,17 @@ discard block |
||
| 292 | 292 | |
| 293 | 293 | echo ' |
| 294 | 294 | <div id="modcenter"> |
| 295 | - <form action="', $scripturl, '?action=moderate;area=reported', $context['report_type'], ';sa=editcomment;mid=', $context['comment_id'], ';rid=', $context['report_id'] ,';save" method="post" accept-charset="', $context['character_set'], '">'; |
|
| 295 | + <form action="', $scripturl, '?action=moderate;area=reported', $context['report_type'], ';sa=editcomment;mid=', $context['comment_id'], ';rid=', $context['report_id'], ';save" method="post" accept-charset="', $context['character_set'], '">'; |
|
| 296 | 296 | |
| 297 | 297 | echo ' |
| 298 | 298 | <br> |
| 299 | 299 | <div class="cat_bar"> |
| 300 | - <h3 class="catbg">', $txt['mc_modreport_edit_mod_comment'] ,'</h3> |
|
| 300 | + <h3 class="catbg">', $txt['mc_modreport_edit_mod_comment'], '</h3> |
|
| 301 | 301 | </div> |
| 302 | 302 | <div class="windowbg2">'; |
| 303 | 303 | |
| 304 | 304 | echo ' |
| 305 | - <textarea rows="6" cols="60" style="width: 60%;" name="mod_comment">', $context['comment']['body'] ,'</textarea> |
|
| 305 | + <textarea rows="6" cols="60" style="width: 60%;" name="mod_comment">', $context['comment']['body'], '</textarea> |
|
| 306 | 306 | <div> |
| 307 | 307 | <input type="submit" name="edit_comment" value="', $txt['mc_modreport_edit_mod_comment'], '" class="button_submit"> |
| 308 | 308 | </div> |
@@ -393,11 +393,11 @@ discard block |
||
| 393 | 393 | global $context, $txt, $scripturl; |
| 394 | 394 | |
| 395 | 395 | // Let them know the action was a success. |
| 396 | - if (!empty($context['report_post_action']) && !empty($txt['report_action_'. $context['report_post_action']])) |
|
| 396 | + if (!empty($context['report_post_action']) && !empty($txt['report_action_' . $context['report_post_action']])) |
|
| 397 | 397 | { |
| 398 | 398 | echo ' |
| 399 | 399 | <div class="infobox"> |
| 400 | - ', $txt['report_action_'. $context['report_post_action']], ' |
|
| 400 | + ', $txt['report_action_' . $context['report_post_action']], ' |
|
| 401 | 401 | </div>'; |
| 402 | 402 | } |
| 403 | 403 | |
@@ -440,13 +440,13 @@ discard block |
||
| 440 | 440 | <hr> |
| 441 | 441 | <ul class="quickbuttons"> |
| 442 | 442 | <li><a href="', $report['report_href'], '">', $details_button, '</a></li> |
| 443 | - <li><a href="', $scripturl, '?action=moderate;area=reportedmembers;sa=handle;ignore=', (int) !$report['ignore'], ';rid=', $report['id'], ';start=', $context['start'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" ', (!$report['ignore'] ? ' class="you_sure" data-confirm="'. $txt['mc_reportedp_ignore_confirm'] .'"' : '') ,'>', $report['ignore'] ? $unignore_button : $ignore_button, '</a></li> |
|
| 443 | + <li><a href="', $scripturl, '?action=moderate;area=reportedmembers;sa=handle;ignore=', (int) !$report['ignore'], ';rid=', $report['id'], ';start=', $context['start'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" ', (!$report['ignore'] ? ' class="you_sure" data-confirm="' . $txt['mc_reportedp_ignore_confirm'] . '"' : ''), '>', $report['ignore'] ? $unignore_button : $ignore_button, '</a></li> |
|
| 444 | 444 | <li><a href="', $scripturl, '?action=moderate;area=reportedmembers;sa=handle;closed=', (int) !$report['closed'], ';rid=', $report['id'], ';start=', $context['start'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-closed_token_var'], '=', $context['mod-report-closed_token'], '">', $close_button, '</a></li>'; |
| 445 | 445 | |
| 446 | 446 | // Ban this user button. |
| 447 | 447 | if (!$report['closed'] && !empty($context['report_manage_bans']) && !empty($report['user']['id'])) |
| 448 | 448 | echo ' |
| 449 | - <li><a href="', $scripturl, '?action=admin;area=ban;sa=add;u=', $report['user']['id'] ,';', $context['session_var'], '=', $context['session_id'], '">', $ban_button, '</a></li>'; |
|
| 449 | + <li><a href="', $scripturl, '?action=admin;area=ban;sa=add;u=', $report['user']['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $ban_button, '</a></li>'; |
|
| 450 | 450 | |
| 451 | 451 | if (!$context['view_closed']) |
| 452 | 452 | echo ' |
@@ -487,7 +487,7 @@ discard block |
||
| 487 | 487 | { |
| 488 | 488 | echo ' |
| 489 | 489 | <div class="infobox"> |
| 490 | - ', $txt['report_action_'. $context['report_post_action']], ' |
|
| 490 | + ', $txt['report_action_' . $context['report_post_action']], ' |
|
| 491 | 491 | </div>'; |
| 492 | 492 | } |
| 493 | 493 | |
@@ -512,7 +512,7 @@ discard block |
||
| 512 | 512 | $unignore_button = create_button('ignore', 'mc_reportedp_unignore', 'mc_reportedp_unignore'); |
| 513 | 513 | |
| 514 | 514 | echo ' |
| 515 | - <a href="', $scripturl, '?action=moderate;area=reportedmembers;sa=handle;ignore=', (int) !$context['report']['ignore'], ';rid=', $context['report']['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" class="button', (!$context['report']['ignore'] ? ' you_sure' : '') ,'"', (!$context['report']['ignore'] ? ' data-confirm="'. $txt['mc_reportedp_ignore_confirm'] .'"' : '') ,'>', $context['report']['ignore'] ? $unignore_button : $ignore_button, '</a> |
|
| 515 | + <a href="', $scripturl, '?action=moderate;area=reportedmembers;sa=handle;ignore=', (int) !$context['report']['ignore'], ';rid=', $context['report']['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-ignore_token_var'], '=', $context['mod-report-ignore_token'], '" class="button', (!$context['report']['ignore'] ? ' you_sure' : ''), '"', (!$context['report']['ignore'] ? ' data-confirm="' . $txt['mc_reportedp_ignore_confirm'] . '"' : ''), '>', $context['report']['ignore'] ? $unignore_button : $ignore_button, '</a> |
|
| 516 | 516 | <a href="', $scripturl, '?action=moderate;area=reportedmembers;sa=handle;closed=', (int) !$context['report']['closed'], ';rid=', $context['report']['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['mod-report-closed_token_var'], '=', $context['mod-report-closed_token'], '" class="button">', $close_button, '</a> |
| 517 | 517 | </span> |
| 518 | 518 | </h3> |
@@ -546,7 +546,7 @@ discard block |
||
| 546 | 546 | { |
| 547 | 547 | echo ' |
| 548 | 548 | <div class="title_bar"> |
| 549 | - <h3 class="titlebg">', $comment['member']['link'], ': <em class="smalltext">(', $comment['time'], ')</em>', ($comment['can_edit'] ? '<span class="floatright"><a href="' . $scripturl . '?action=moderate;area=reportedmembers;sa=editcomment;rid='. $context['report']['id'] .';mid='. $comment['id'] .';'. $context['session_var'] .'='. $context['session_id'] .'" class="button">'. $txt['mc_reportedp_comment_edit'] .'</a> <a href="' . $scripturl . '?action=moderate;area=reportedmembers;sa=handlecomment;rid='. $context['report']['id'] .';mid='. $comment['id'] .';delete;'. $context['session_var'] .'='. $context['session_id']. ';'. $context['mod-reportC-delete_token_var'] .'='. $context['mod-reportC-delete_token'] .'" class="button you_sure" data-confirm="'. $txt['mc_reportedp_delete_confirm'] .'">'. $txt['mc_reportedp_comment_delete'] .'</a></span>' : '') ,'</h3> |
|
| 549 | + <h3 class="titlebg">', $comment['member']['link'], ': <em class="smalltext">(', $comment['time'], ')</em>', ($comment['can_edit'] ? '<span class="floatright"><a href="' . $scripturl . '?action=moderate;area=reportedmembers;sa=editcomment;rid=' . $context['report']['id'] . ';mid=' . $comment['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" class="button">' . $txt['mc_reportedp_comment_edit'] . '</a> <a href="' . $scripturl . '?action=moderate;area=reportedmembers;sa=handlecomment;rid=' . $context['report']['id'] . ';mid=' . $comment['id'] . ';delete;' . $context['session_var'] . '=' . $context['session_id'] . ';' . $context['mod-reportC-delete_token_var'] . '=' . $context['mod-reportC-delete_token'] . '" class="button you_sure" data-confirm="' . $txt['mc_reportedp_delete_confirm'] . '">' . $txt['mc_reportedp_comment_delete'] . '</a></span>' : ''), '</h3> |
|
| 550 | 550 | </div>'; |
| 551 | 551 | |
| 552 | 552 | echo ' |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | <input type="checkbox" onclick="invertAll(this, this.form, \'topics[]\');" class="input_check">'; |
| 298 | 298 | echo ' |
| 299 | 299 | </span> |
| 300 | - <span class="generic_icons filter"></span> ', $txt['mlist_search_results'],': ',$context['search_params']['search'],' |
|
| 300 | + <span class="generic_icons filter"></span> ', $txt['mlist_search_results'], ': ', $context['search_params']['search'], ' |
|
| 301 | 301 | </h3> |
| 302 | 302 | </div>'; |
| 303 | 303 | |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | { |
| 317 | 317 | |
| 318 | 318 | echo ' |
| 319 | - <div class="', $topic['css_class'] ,'"> |
|
| 319 | + <div class="', $topic['css_class'], '"> |
|
| 320 | 320 | <div class="flow_auto">'; |
| 321 | 321 | |
| 322 | 322 | foreach ($topic['matches'] as $message) |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | <div class="topic_details floatleft" style="width: 94%"> |
| 326 | 326 | <div class="counter">', $message['counter'], '</div> |
| 327 | 327 | <h5>', $topic['board']['link'], ' / <a href="', $scripturl, '?topic=', $topic['id'], '.msg', $message['id'], '#msg', $message['id'], '">', $message['subject_highlighted'], '</a></h5> |
| 328 | - <span class="smalltext">« ',$txt['by'],' <strong>', $message['member']['link'], '</strong> ',$txt['on'],' <em>', $message['time'], '</em> »</span> |
|
| 328 | + <span class="smalltext">« ',$txt['by'], ' <strong>', $message['member']['link'], '</strong> ', $txt['on'], ' <em>', $message['time'], '</em> »</span> |
|
| 329 | 329 | </div>'; |
| 330 | 330 | |
| 331 | 331 | if (!empty($options['display_quick_mod'])) |
@@ -342,11 +342,11 @@ discard block |
||
| 342 | 342 | { |
| 343 | 343 | if ($topic['quick_mod']['remove']) |
| 344 | 344 | echo ' |
| 345 | - <a href="', $scripturl, '?action=quickmod;board='. $topic['board']['id']. '.0;actions%5B', $topic['id'], '%5D=remove;', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons delete" title="', $txt['remove_topic'], '"></span></a>'; |
|
| 345 | + <a href="', $scripturl, '?action=quickmod;board=' . $topic['board']['id'] . '.0;actions%5B', $topic['id'], '%5D=remove;', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons delete" title="', $txt['remove_topic'], '"></span></a>'; |
|
| 346 | 346 | |
| 347 | 347 | if ($topic['quick_mod']['lock']) |
| 348 | 348 | echo ' |
| 349 | - <a href="', $scripturl, '?action=quickmod;board='. $topic['board']['id']. '.0;actions%5B', $topic['id'], '%5D=lock;', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons lock" title="', $topic['is_locked'] ? $txt['set_unlock'] : $txt['set_lock'], '"></span></a>'; |
|
| 349 | + <a href="', $scripturl, '?action=quickmod;board=' . $topic['board']['id'] . '.0;actions%5B', $topic['id'], '%5D=lock;', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons lock" title="', $topic['is_locked'] ? $txt['set_unlock'] : $txt['set_lock'], '"></span></a>'; |
|
| 350 | 350 | |
| 351 | 351 | if ($topic['quick_mod']['lock'] || $topic['quick_mod']['remove']) |
| 352 | 352 | echo ' |
@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | |
| 355 | 355 | if ($topic['quick_mod']['sticky']) |
| 356 | 356 | echo ' |
| 357 | - <a href="', $scripturl, '?action=quickmod;board='. $topic['board']['id']. '.0;actions%5B', $topic['id'], '%5D=sticky;', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons sticky" title="', $topic['is_sticky'] ? $txt['set_nonsticky'] : $txt['set_sticky'], '"></span></a>'; |
|
| 357 | + <a href="', $scripturl, '?action=quickmod;board=' . $topic['board']['id'] . '.0;actions%5B', $topic['id'], '%5D=sticky;', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons sticky" title="', $topic['is_sticky'] ? $txt['set_nonsticky'] : $txt['set_sticky'], '"></span></a>'; |
|
| 358 | 358 | |
| 359 | 359 | if ($topic['quick_mod']['move']) |
| 360 | 360 | echo ' |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | foreach ($context['qmod_actions'] as $qmod_action) |
| 394 | 394 | if ($context['can_' . $qmod_action]) |
| 395 | 395 | echo ' |
| 396 | - <option value="' . $qmod_action . '">' . $txt['quick_mod_' . $qmod_action] . '</option>'; |
|
| 396 | + <option value="' . $qmod_action . '">' . $txt['quick_mod_' . $qmod_action] . '</option>'; |
|
| 397 | 397 | |
| 398 | 398 | echo ' |
| 399 | 399 | </select>'; |
@@ -421,7 +421,7 @@ discard block |
||
| 421 | 421 | echo ' |
| 422 | 422 | <div class="cat_bar"> |
| 423 | 423 | <h3 class="catbg"> |
| 424 | - <span class="generic_icons filter"></span> ', $txt['mlist_search_results'],': ',$context['search_params']['search'],' |
|
| 424 | + <span class="generic_icons filter"></span> ', $txt['mlist_search_results'], ': ', $context['search_params']['search'], ' |
|
| 425 | 425 | </h3> |
| 426 | 426 | </div> |
| 427 | 427 | <div class="pagesection"> |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | foreach ($topic['matches'] as $message) |
| 438 | 438 | { |
| 439 | 439 | echo ' |
| 440 | - <div class="', $topic['css_class'] ,'"> |
|
| 440 | + <div class="', $topic['css_class'], '"> |
|
| 441 | 441 | <div class="counter">', $message['counter'], '</div> |
| 442 | 442 | <div class="topic_details"> |
| 443 | 443 | <h5>', $topic['board']['link'], ' / <a href="', $scripturl, '?topic=', $topic['id'], '.', $message['start'], ';topicseen#msg', $message['id'], '">', $message['subject_highlighted'], '</a></h5> |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | echo ' |
| 70 | 70 | <tr class="windowbg"> |
| 71 | 71 | <td> |
| 72 | - ', !empty($group['help']) ? ' <a class="help" href="' . $scripturl . '?action=helpadmin;help=' . $group['help'] . '" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="'. $txt['help'].'"></span></a>' : '<img class="icon" src="' . $settings['images_url'] . '/blank.png" alt="' . $txt['help'] . '">', ' <span>', $group['name'], '</span>'; |
|
| 72 | + ', !empty($group['help']) ? ' <a class="help" href="' . $scripturl . '?action=helpadmin;help=' . $group['help'] . '" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="' . $txt['help'] . '"></span></a>' : '<img class="icon" src="' . $settings['images_url'] . '/blank.png" alt="' . $txt['help'] . '">', ' <span>', $group['name'], '</span>'; |
|
| 73 | 73 | |
| 74 | 74 | if (!empty($group['children'])) |
| 75 | 75 | echo ' |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | <td width="8%"', $group['id'] == 1 || $group['id'] == -1 ? ' style="font-style: italic;"' : (!empty($group['num_permissions']['denied']) ? ' class="red"' : ''), '>', $group['num_permissions']['denied'], '</td>'; |
| 90 | 90 | |
| 91 | 91 | echo ' |
| 92 | - <td>', $group['allow_modify'] ? '<a href="' . $scripturl . '?action=admin;area=permissions;sa=modify;group=' . $group['id'] . (empty($context['profile']) ? '' : ';pid=' . $context['profile']['id']) . '">' . ($context['can_modify'] ? $txt['permissions_modify'] : $txt['permissions_view']). '</a>' : '', '</td> |
|
| 92 | + <td>', $group['allow_modify'] ? '<a href="' . $scripturl . '?action=admin;area=permissions;sa=modify;group=' . $group['id'] . (empty($context['profile']) ? '' : ';pid=' . $context['profile']['id']) . '">' . ($context['can_modify'] ? $txt['permissions_modify'] : $txt['permissions_view']) . '</a>' : '', '</td> |
|
| 93 | 93 | <td>', $group['allow_modify'] && $context['can_modify'] ? '<input type="checkbox" name="group[]" value="' . $group['id'] . '" class="input_check">' : '', '</td> |
| 94 | 94 | </tr>'; |
| 95 | 95 | } |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | <legend>', $txt['permissions_with_selection'], '</legend> |
| 115 | 115 | <dl class="settings"> |
| 116 | 116 | <dt> |
| 117 | - <a class="help" href="', $scripturl, '?action=helpadmin;help=permissions_quickgroups" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="', $txt['help'],'"></span></a>', $txt['permissions_apply_pre_defined'], ': |
|
| 117 | + <a class="help" href="', $scripturl, '?action=helpadmin;help=permissions_quickgroups" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="', $txt['help'], '"></span></a>', $txt['permissions_apply_pre_defined'], ': |
|
| 118 | 118 | </dt> |
| 119 | 119 | <dd> |
| 120 | 120 | <select name="predefined"> |
@@ -593,7 +593,7 @@ discard block |
||
| 593 | 593 | echo ' |
| 594 | 594 | <tr class="windowbg"> |
| 595 | 595 | <td width="10"> |
| 596 | - ', $permission['show_help'] ? '<a href="' . $scripturl . '?action=helpadmin;help=permissionhelp_' . $permission['id'] . '" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="'. $txt['help'].'"></span></a>' : '', ' |
|
| 596 | + ', $permission['show_help'] ? '<a href="' . $scripturl . '?action=helpadmin;help=permissionhelp_' . $permission['id'] . '" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="' . $txt['help'] . '"></span></a>' : '', ' |
|
| 597 | 597 | </td> |
| 598 | 598 | <td class="lefttext full_width">', $permission['name'], '</td><td>'; |
| 599 | 599 | |
@@ -731,7 +731,7 @@ discard block |
||
| 731 | 731 | if (empty($modSettings['permission_enable_deny'])) |
| 732 | 732 | echo ' |
| 733 | 733 | <li> |
| 734 | - <input type="checkbox" class="input_check" onclick="invertAll(this, this.form, \''. $context['current_permission']. '[\');"> |
|
| 734 | + <input type="checkbox" class="input_check" onclick="invertAll(this, this.form, \''. $context['current_permission'] . '[\');"> |
|
| 735 | 735 | <span>', $txt['check_all'], '</span> |
| 736 | 736 | </li> |
| 737 | 737 | </ul>'; |
@@ -171,7 +171,7 @@ |
||
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | function show_msg() { |
| 174 | - $(\'#progress_msg\').html(\'<div><img src="', $settings['actual_images_url'], '/loading_sm.gif" alt="', $txt['ajax_in_progress'], '" width="35" height="35"> ', $txt['attachment_transfer_progress'] , '<\/div>\'); |
|
| 174 | + $(\'#progress_msg\').html(\'<div><img src="', $settings['actual_images_url'], '/loading_sm.gif" alt="', $txt['ajax_in_progress'], '" width="35" height="35"> ', $txt['attachment_transfer_progress'], '<\/div>\'); |
|
| 175 | 175 | show_progress(); |
| 176 | 176 | } |
| 177 | 177 | |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | </h3> |
| 81 | 81 | </div> |
| 82 | 82 | <div class="windowbg"> |
| 83 | - <p>', $txt['package_ftp_why'],'</p> |
|
| 83 | + <p>', $txt['package_ftp_why'], '</p> |
|
| 84 | 84 | <dl class="settings"> |
| 85 | 85 | <dt |
| 86 | 86 | <label for="ftp_server">', $txt['package_ftp_server'], ':</label> |
@@ -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\', |