@@ -34,14 +34,14 @@ discard block |
||
| 34 | 34 | foreach ($context['news_lines'] as $news) |
| 35 | 35 | { |
| 36 | 36 | echo ' |
| 37 | - <li>', $news,'</li>'; |
|
| 37 | + <li>', $news, '</li>'; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | echo ' |
| 41 | 41 | </ul> |
| 42 | 42 | <script> |
| 43 | 43 | jQuery("#smf_slider").slippry({ |
| 44 | - pause: ', $settings['newsfader_time'],', |
|
| 44 | + pause: ', $settings['newsfader_time'], ', |
|
| 45 | 45 | adaptiveHeight: 0, |
| 46 | 46 | captions: 0, |
| 47 | 47 | controls: 0, |
@@ -78,14 +78,14 @@ discard block |
||
| 78 | 78 | // If this category even can collapse, show a link to collapse it. |
| 79 | 79 | if ($category['can_collapse']) |
| 80 | 80 | echo ' |
| 81 | - <span id="category_', $category['id'], '_upshrink" class="', $category['is_collapsed'] ? 'toggle_down' : 'toggle_up', ' floatright" data-collapsed="', (int) $category['is_collapsed'], '" title="', !$category['is_collapsed'] ? $txt['hide_category'] : $txt['show_category'] ,'" style="display: none;"></span>'; |
|
| 81 | + <span id="category_', $category['id'], '_upshrink" class="', $category['is_collapsed'] ? 'toggle_down' : 'toggle_up', ' floatright" data-collapsed="', (int) $category['is_collapsed'], '" title="', !$category['is_collapsed'] ? $txt['hide_category'] : $txt['show_category'], '" style="display: none;"></span>'; |
|
| 82 | 82 | |
| 83 | 83 | echo ' |
| 84 | 84 | ', $category['link'], ' |
| 85 | 85 | </h3>', !empty($category['description']) ? ' |
| 86 | 86 | <div class="desc">' . $category['description'] . '</div>' : '', ' |
| 87 | 87 | </div> |
| 88 | - <div id="category_', $category['id'], '_boards" ', (!empty($category['css_class']) ? ('class="'. $category['css_class'] .'"') : '') ,'>'; |
|
| 88 | + <div id="category_', $category['id'], '_boards" ', (!empty($category['css_class']) ? ('class="' . $category['css_class'] . '"') : ''), '>'; |
|
| 89 | 89 | |
| 90 | 90 | /* Each board in each category's boards has: |
| 91 | 91 | new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.), |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | foreach ($category['boards'] as $board) |
| 95 | 95 | { |
| 96 | 96 | echo ' |
| 97 | - <div id="board_', $board['id'], '" class="up_contain ', (!empty($board['css_class']) ? $board['css_class'] : '') ,'"> |
|
| 97 | + <div id="board_', $board['id'], '" class="up_contain ', (!empty($board['css_class']) ? $board['css_class'] : ''), '"> |
|
| 98 | 98 | <div class="board_icon"> |
| 99 | 99 | <a href="', ($board['is_redirect'] || $context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '" class="board_', $board['board_class'], '"', !empty($board['board_tooltip']) ? ' title="' . $board['board_tooltip'] . '"' : '', '></a> |
| 100 | 100 | </div> |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | |
| 109 | 109 | echo ' |
| 110 | 110 | |
| 111 | - <p class="board_description">', $board['description'] , '</p>'; |
|
| 111 | + <p class="board_description">', $board['description'], '</p>'; |
|
| 112 | 112 | |
| 113 | 113 | // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) |
| 114 | 114 | if (!empty($board['link_moderators'])) |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | ', $board['is_redirect'] ? '' : '<br> ' . comma_format($board['topics']) . ' ' . $txt['board_topics'], ' |
| 124 | 124 | </p> |
| 125 | 125 | </div> |
| 126 | - <div class="lastpost ',!empty($board['last_post']['id']) ? 'lpr_border' : 'hidden','">'; |
|
| 126 | + <div class="lastpost ',!empty($board['last_post']['id']) ? 'lpr_border' : 'hidden', '">'; |
|
| 127 | 127 | |
| 128 | 128 | if (!empty($board['last_post']['id'])) |
| 129 | 129 | echo ' |
@@ -372,7 +372,7 @@ discard block |
||
| 372 | 372 | </h4> |
| 373 | 373 | </div> |
| 374 | 374 | <p class="inline"> |
| 375 | - ', $context['common_stats']['boardindex_total_posts'], '', !empty($settings['show_latest_member']) ? ' - '. $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br> |
|
| 375 | + ', $context['common_stats']['boardindex_total_posts'], '', !empty($settings['show_latest_member']) ? ' - ' . $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br> |
|
| 376 | 376 | ', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>"' . $context['latest_post']['link'] . '"</strong> (' . $context['latest_post']['time'] . ')<br>' : ''), ' |
| 377 | 377 | <a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a> |
| 378 | 378 | </p>'; |
@@ -420,7 +420,7 @@ discard block |
||
| 420 | 420 | // Showing membergroups? |
| 421 | 421 | if (!empty($settings['show_group_key']) && !empty($context['membergroups'])) |
| 422 | 422 | echo ' |
| 423 | - <span class="membergroups">' . implode(', ', $context['membergroups']). '</span>'; |
|
| 423 | + <span class="membergroups">' . implode(', ', $context['membergroups']) . '</span>'; |
|
| 424 | 424 | } |
| 425 | 425 | |
| 426 | 426 | echo ' |
@@ -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"> |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | foreach ($menu_context['sections'] as $section) |
| 32 | 32 | { |
| 33 | 33 | echo ' |
| 34 | - <li ', !empty($section['areas']) ? 'class="subsections"' : '', '><a class="', !empty($section['selected']) ? 'active ' : '', '" href="', $section['url'], $menu_context['extra_parameters'], '">', $section['title'] , '</a> |
|
| 34 | + <li ', !empty($section['areas']) ? 'class="subsections"' : '', '><a class="', !empty($section['selected']) ? 'active ' : '', '" href="', $section['url'], $menu_context['extra_parameters'], '">', $section['title'], '</a> |
|
| 35 | 35 | <ul>'; |
| 36 | 36 | |
| 37 | 37 | // For every area of this section show a link to that area (bold if it's currently selected.) |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | echo '<img src="', $settings['images_url'], '/icons/', !empty($selected_tab['icon']) ? $selected_tab['icon'] : $tab_context['icon'], '" alt="" class="icon">'; |
| 188 | 188 | |
| 189 | 189 | if (!empty($selected_tab['help']) || !empty($tab_context['help'])) |
| 190 | - echo '<a href="', $scripturl, '?action=helpadmin;help=', !empty($selected_tab['help']) ? $selected_tab['help'] : $tab_context['help'], '" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a>'; |
|
| 190 | + echo '<a href="', $scripturl, '?action=helpadmin;help=', !empty($selected_tab['help']) ? $selected_tab['help'] : $tab_context['help'], '" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a>'; |
|
| 191 | 191 | |
| 192 | 192 | echo $tab_context['title']; |
| 193 | 193 | } |
@@ -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 ' |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | <div id="live_news" class="floatleft"> |
| 34 | 34 | <div class="cat_bar"> |
| 35 | 35 | <h3 class="catbg"> |
| 36 | - <a href="', $scripturl, '?action=helpadmin;help=live_news" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> ', $txt['live'], ' |
|
| 36 | + <a href="', $scripturl, '?action=helpadmin;help=live_news" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> ', $txt['live'], ' |
|
| 37 | 37 | </h3> |
| 38 | 38 | </div> |
| 39 | 39 | <div class="windowbg nopadding"> |
@@ -505,7 +505,7 @@ discard block |
||
| 505 | 505 | <tbody> |
| 506 | 506 | <tr class="windowbg"> |
| 507 | 507 | <td class="half_table"> |
| 508 | - <a href="#" id="Tasks-link">', $txt['dvc_tasks'] ,'</a> |
|
| 508 | + <a href="#" id="Tasks-link">', $txt['dvc_tasks'], '</a> |
|
| 509 | 509 | </td> |
| 510 | 510 | <td class="quarter_table"> |
| 511 | 511 | <em id="yourTasks">??</em> |
@@ -769,7 +769,7 @@ discard block |
||
| 769 | 769 | echo ' |
| 770 | 770 | <div class="cat_bar"> |
| 771 | 771 | <h3 class="', !empty($config_var['class']) ? $config_var['class'] : 'catbg', '"', !empty($config_var['force_div_id']) ? ' id="' . $config_var['force_div_id'] . '"' : '', '> |
| 772 | - ', ($config_var['help'] ? '<a href="' . $scripturl . '?action=helpadmin;help=' . $config_var['help'] . '" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="'. $txt['help'].'"></span></a>' : ''), ' |
|
| 772 | + ', ($config_var['help'] ? '<a href="' . $scripturl . '?action=helpadmin;help=' . $config_var['help'] . '" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="' . $txt['help'] . '"></span></a>' : ''), ' |
|
| 773 | 773 | ', $config_var['label'], ' |
| 774 | 774 | </h3> |
| 775 | 775 | </div>'; |
@@ -831,7 +831,7 @@ discard block |
||
| 831 | 831 | // Show the [?] button. |
| 832 | 832 | if ($config_var['help']) |
| 833 | 833 | echo ' |
| 834 | - <a id="setting_', $config_var['name'], '" href="', $scripturl, '?action=helpadmin;help=', $config_var['help'], '" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="', $txt['help'],'"></span></a> '; |
|
| 834 | + <a id="setting_', $config_var['name'], '" href="', $scripturl, '?action=helpadmin;help=', $config_var['help'], '" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="', $txt['help'], '"></span></a> '; |
|
| 835 | 835 | |
| 836 | 836 | echo ' |
| 837 | 837 | <a id="setting_', $config_var['name'], '"></a> <span', ($config_var['disabled'] ? ' style="color: #777777;"' : ($config_var['invalid'] ? ' class="error"' : '')), '><label for="', $config_var['name'], '">', $config_var['label'], '</label>', $subtext, ($config_var['type'] == 'password' ? '<br><em>' . $txt['admin_confirm_password'] . '</em>' : ''), '</span> |
@@ -935,7 +935,7 @@ discard block |
||
| 935 | 935 | $max = isset($config_var['max']) ? ' max="' . $config_var['max'] . '"' : ''; |
| 936 | 936 | |
| 937 | 937 | echo ' |
| 938 | - <input type="', $type ,'"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '" value="', $config_var['value'], '"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_text"', $min . $max . $step, '>'; |
|
| 938 | + <input type="', $type, '"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '" value="', $config_var['value'], '"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_text"', $min . $max . $step, '>'; |
|
| 939 | 939 | } |
| 940 | 940 | |
| 941 | 941 | echo isset($config_var['postinput']) ? ' |
@@ -1127,13 +1127,13 @@ discard block |
||
| 1127 | 1127 | |
| 1128 | 1128 | foreach ($context['cust_profile_fields_placement'] as $order => $name) |
| 1129 | 1129 | echo ' |
| 1130 | - <option value="', $order ,'"', $context['field']['placement'] == $order ? ' selected' : '', '>', $txt['custom_profile_placement_'. $name], '</option>'; |
|
| 1130 | + <option value="', $order, '"', $context['field']['placement'] == $order ? ' selected' : '', '>', $txt['custom_profile_placement_' . $name], '</option>'; |
|
| 1131 | 1131 | |
| 1132 | 1132 | echo ' |
| 1133 | 1133 | </select> |
| 1134 | 1134 | </dd> |
| 1135 | 1135 | <dt> |
| 1136 | - <a id="field_show_enclosed" href="', $scripturl, '?action=helpadmin;help=field_show_enclosed" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> |
|
| 1136 | + <a id="field_show_enclosed" href="', $scripturl, '?action=helpadmin;help=field_show_enclosed" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> |
|
| 1137 | 1137 | <strong><label for="enclose">', $txt['custom_edit_enclose'], ':</label></strong><br> |
| 1138 | 1138 | <span class="smalltext">', $txt['custom_edit_enclose_desc'], '</span> |
| 1139 | 1139 | </dt> |
@@ -1178,7 +1178,7 @@ discard block |
||
| 1178 | 1178 | <input type="checkbox" name="bbc" id="bbc_dd"', $context['field']['bbc'] ? ' checked' : '', ' class="input_check"> |
| 1179 | 1179 | </dd> |
| 1180 | 1180 | <dt id="options_dt"> |
| 1181 | - <a href="', $scripturl, '?action=helpadmin;help=customoptions" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> |
|
| 1181 | + <a href="', $scripturl, '?action=helpadmin;help=customoptions" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> |
|
| 1182 | 1182 | <strong><label for="options_dd">', $txt['custom_edit_options'], ':</label></strong><br> |
| 1183 | 1183 | <span class="smalltext">', $txt['custom_edit_options_desc'], '</span> |
| 1184 | 1184 | </dt> |
@@ -1207,7 +1207,7 @@ discard block |
||
| 1207 | 1207 | <legend>', $txt['custom_edit_advanced'], '</legend> |
| 1208 | 1208 | <dl class="settings"> |
| 1209 | 1209 | <dt id="mask_dt"> |
| 1210 | - <a id="custom_mask" href="', $scripturl, '?action=helpadmin;help=custom_mask" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> |
|
| 1210 | + <a id="custom_mask" href="', $scripturl, '?action=helpadmin;help=custom_mask" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> |
|
| 1211 | 1211 | <strong><label for="mask">', $txt['custom_edit_mask'], ':</label></strong><br> |
| 1212 | 1212 | <span class="smalltext">', $txt['custom_edit_mask_desc'], '</span> |
| 1213 | 1213 | </dt> |
@@ -1323,7 +1323,7 @@ discard block |
||
| 1323 | 1323 | { |
| 1324 | 1324 | echo ' |
| 1325 | 1325 | <li> |
| 1326 | - <a href="', $result['url'], '"><strong>', $result['name'], '</strong></a> [', isset($txt['admin_search_section_' . $result['type']]) ? $txt['admin_search_section_' . $result['type']] : $result['type'] , ']'; |
|
| 1326 | + <a href="', $result['url'], '"><strong>', $result['name'], '</strong></a> [', isset($txt['admin_search_section_' . $result['type']]) ? $txt['admin_search_section_' . $result['type']] : $result['type'], ']'; |
|
| 1327 | 1327 | |
| 1328 | 1328 | if ($result['help']) |
| 1329 | 1329 | echo ' |
@@ -1403,7 +1403,7 @@ discard block |
||
| 1403 | 1403 | <div id="admincenter"> |
| 1404 | 1404 | <div id="section_header" class="cat_bar"> |
| 1405 | 1405 | <h3 class="catbg">', |
| 1406 | - $context['error_search'] ? $txt['errors_list'] : $txt['errors_fixing'] , ' |
|
| 1406 | + $context['error_search'] ? $txt['errors_list'] : $txt['errors_fixing'], ' |
|
| 1407 | 1407 | </h3> |
| 1408 | 1408 | </div> |
| 1409 | 1409 | <div class="windowbg">'; |
@@ -1556,7 +1556,7 @@ discard block |
||
| 1556 | 1556 | { |
| 1557 | 1557 | echo ' |
| 1558 | 1558 | <tr class="windowbg"> |
| 1559 | - <td class="equal_table">', $key, '</td> |
|
| 1559 | + <td class="equal_table">', $key, '</td> |
|
| 1560 | 1560 | <td colspan="2">', $setting, '</td> |
| 1561 | 1561 | </tr>'; |
| 1562 | 1562 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | // Show right to left, the language code, and the character set for ease of translating. |
| 87 | 87 | echo '<!DOCTYPE html> |
| 88 | - <html', $context['right_to_left'] ? ' dir="rtl"' : '', !empty($txt['lang_locale']) ? ' lang="' . str_replace("_", "-", substr($txt['lang_locale'], 0, strcspn($txt['lang_locale'], "."))) . '"' : '' , '> |
|
| 88 | + <html', $context['right_to_left'] ? ' dir="rtl"' : '', !empty($txt['lang_locale']) ? ' lang="' . str_replace("_", "-", substr($txt['lang_locale'], 0, strcspn($txt['lang_locale'], "."))) . '"' : '', '> |
|
| 89 | 89 | <head> |
| 90 | 90 | <meta charset="', $context['character_set'], '">'; |
| 91 | 91 | |
@@ -109,11 +109,11 @@ discard block |
||
| 109 | 109 | |
| 110 | 110 | // Some Open Graph? |
| 111 | 111 | echo ' |
| 112 | - <meta property="og:site_name" content="', $mbname,'"> |
|
| 113 | - <meta property="og:title" content="', $context['page_title_html_safe'],'"> |
|
| 114 | - ', !empty($context['canonical_url']) ? '<meta property="og:url" content="'. $context['canonical_url'].'">' : '', |
|
| 115 | - !empty($settings['og_image']) ? '<meta property="og:image" content="'. $settings['og_image'].'">' : '',' |
|
| 116 | - <meta property="og:description" content="',!empty($context['meta_description']) ? $context['meta_description'] : $context['page_title_html_safe'],'">'; |
|
| 112 | + <meta property="og:site_name" content="', $mbname, '"> |
|
| 113 | + <meta property="og:title" content="', $context['page_title_html_safe'], '"> |
|
| 114 | + ', !empty($context['canonical_url']) ? '<meta property="og:url" content="' . $context['canonical_url'] . '">' : '', |
|
| 115 | + !empty($settings['og_image']) ? '<meta property="og:image" content="' . $settings['og_image'] . '">' : '', ' |
|
| 116 | + <meta property="og:description" content="',!empty($context['meta_description']) ? $context['meta_description'] : $context['page_title_html_safe'], '">'; |
|
| 117 | 117 | |
| 118 | 118 | /* What is your Lollipop's color? |
| 119 | 119 | Theme Authors you can change here to make sure your theme's main color got visible on tab */ |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | // Thirdly, alerts |
| 209 | 209 | echo ' |
| 210 | 210 | <li> |
| 211 | - <a href="', $scripturl, '?action=profile;area=showalerts;u=', $context['user']['id'] ,'"', !empty($context['self_alerts']) ? ' class="active"' : '', ' id="alerts_menu_top">', $txt['alerts'], !empty($context['user']['alerts']) ? ' <span class="amt">' . $context['user']['alerts'] . '</span>' : '', '</a> |
|
| 211 | + <a href="', $scripturl, '?action=profile;area=showalerts;u=', $context['user']['id'], '"', !empty($context['self_alerts']) ? ' class="active"' : '', ' id="alerts_menu_top">', $txt['alerts'], !empty($context['user']['alerts']) ? ' <span class="amt">' . $context['user']['alerts'] . '</span>' : '', '</a> |
|
| 212 | 212 | <div id="alerts_menu" class="top_menu scrollable"></div> |
| 213 | 213 | </li>'; |
| 214 | 214 | |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | // There is now a global "Go to top" link at the right. |
| 357 | 357 | echo ' |
| 358 | 358 | <ul> |
| 359 | - <li class="floatright"><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="'. $scripturl. '?action=help;sa=rules">'. $txt['terms_and_rules']. '</a>' : '', ' | <a href="#top_section">', $txt['go_up'], ' ▲</a></li> |
|
| 359 | + <li class="floatright"><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="' . $scripturl . '?action=help;sa=rules">' . $txt['terms_and_rules'] . '</a>' : '', ' | <a href="#top_section">', $txt['go_up'], ' ▲</a></li> |
|
| 360 | 360 | <li class="copyright">', theme_copyright(), '</li> |
| 361 | 361 | </ul>'; |
| 362 | 362 | |
@@ -462,9 +462,9 @@ discard block |
||
| 462 | 462 | foreach ($context['menu_buttons'] as $act => $button) |
| 463 | 463 | { |
| 464 | 464 | echo ' |
| 465 | - <li id="button_', $act, '"', !empty($button['sub_buttons']) ? ' class="subsections"' :'', '> |
|
| 465 | + <li id="button_', $act, '"', !empty($button['sub_buttons']) ? ' class="subsections"' : '', '> |
|
| 466 | 466 | <a', $button['active_button'] ? ' class="active"' : '', ' href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '> |
| 467 | - ', $button['icon'],'<span class="textmenu">', $button['title'], '</span> |
|
| 467 | + ', $button['icon'], '<span class="textmenu">', $button['title'], '</span> |
|
| 468 | 468 | </a>'; |
| 469 | 469 | |
| 470 | 470 | if (!empty($button['sub_buttons'])) |
@@ -475,8 +475,8 @@ discard block |
||
| 475 | 475 | foreach ($button['sub_buttons'] as $childbutton) |
| 476 | 476 | { |
| 477 | 477 | echo ' |
| 478 | - <li', !empty($childbutton['sub_buttons']) ? ' class="subsections"' :'', '> |
|
| 479 | - <a href="', $childbutton['href'], '"' , isset($childbutton['target']) ? ' target="' . $childbutton['target'] . '"' : '', '> |
|
| 478 | + <li', !empty($childbutton['sub_buttons']) ? ' class="subsections"' : '', '> |
|
| 479 | + <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? ' target="' . $childbutton['target'] . '"' : '', '> |
|
| 480 | 480 | ', $childbutton['title'], ' |
| 481 | 481 | </a>'; |
| 482 | 482 | // 3rd level menus :) |
@@ -488,7 +488,7 @@ discard block |
||
| 488 | 488 | foreach ($childbutton['sub_buttons'] as $grandchildbutton) |
| 489 | 489 | echo ' |
| 490 | 490 | <li> |
| 491 | - <a href="', $grandchildbutton['href'], '"' , isset($grandchildbutton['target']) ? ' target="' . $grandchildbutton['target'] . '"' : '', '> |
|
| 491 | + <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ' target="' . $grandchildbutton['target'] . '"' : '', '> |
|
| 492 | 492 | ', $grandchildbutton['title'], ' |
| 493 | 493 | </a> |
| 494 | 494 | </li>'; |
@@ -538,7 +538,7 @@ discard block |
||
| 538 | 538 | $value['id'] = $key; |
| 539 | 539 | |
| 540 | 540 | $button = ' |
| 541 | - <a class="button button_strip_' . $key . (!empty($value['active']) ? ' active' : '') . (isset($value['class']) ? ' '. $value['class'] : '') . '" ' . (!empty($value['url']) ? 'href="'. $value['url'] .'"' : '') . ' ' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>'; |
|
| 541 | + <a class="button button_strip_' . $key . (!empty($value['active']) ? ' active' : '') . (isset($value['class']) ? ' ' . $value['class'] : '') . '" ' . (!empty($value['url']) ? 'href="' . $value['url'] . '"' : '') . ' ' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>'; |
|
| 542 | 542 | |
| 543 | 543 | if (!empty($value['sub_buttons'])) |
| 544 | 544 | { |
@@ -572,7 +572,7 @@ discard block |
||
| 572 | 572 | return; |
| 573 | 573 | |
| 574 | 574 | echo ' |
| 575 | - <div class="buttonlist', !empty($direction) ? ' float' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($strip_options['id']) ? ' id="' . $strip_options['id'] . '"': ''), '> |
|
| 575 | + <div class="buttonlist', !empty($direction) ? ' float' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($strip_options['id']) ? ' id="' . $strip_options['id'] . '"' : ''), '> |
|
| 576 | 576 | ',implode('', $buttons), ' |
| 577 | 577 | </div>'; |
| 578 | 578 | } |
@@ -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 | |