@@ -106,7 +106,7 @@ |
||
106 | 106 | if (!empty($context['custom_profile_fields']['columns'])) |
107 | 107 | foreach ($context['custom_profile_fields']['columns'] as $key => $column) |
108 | 108 | echo ' |
109 | - <td class="' , $key , ' centertext">', $member['options'][$key], '</td>'; |
|
109 | + <td class="' , $key, ' centertext">', $member['options'][$key], '</td>'; |
|
110 | 110 | |
111 | 111 | echo ' |
112 | 112 | </tr>'; |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | <div id="recent" class="main_section"> |
22 | 22 | <div class="cat_bar"> |
23 | 23 | <h3 class="catbg"> |
24 | - <span class="xx"></span>',$txt['recent_posts'],' |
|
24 | + <span class="xx"></span>',$txt['recent_posts'], ' |
|
25 | 25 | </h3> |
26 | 26 | </div> |
27 | 27 | <div class="pagesection">', $context['page_index'], '</div>'; |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | <p class="floatleft"> |
165 | 165 | ', $topic['first_post']['started_by'], ' |
166 | 166 | </p> |
167 | - ', !empty($topic['pages']) ? '<span id="pages'.$topic['first_post']['id'].'" class="topic_pages">'.$topic['pages'].'</span>' : '', ' |
|
167 | + ', !empty($topic['pages']) ? '<span id="pages' . $topic['first_post']['id'] . '" class="topic_pages">' . $topic['pages'] . '</span>' : '', ' |
|
168 | 168 | </div><!-- .info --> |
169 | 169 | <div class="board_stats centertext"> |
170 | 170 | <p> |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | <p class="floatleft"> |
316 | 316 | ', $topic['first_post']['started_by'], ' |
317 | 317 | </p> |
318 | - ', !empty($topic['pages']) ? '<span id="pages'.$topic['first_post']['id'].'" class="topic_pages">'.$topic['pages'].'</span>' : '', ' |
|
318 | + ', !empty($topic['pages']) ? '<span id="pages' . $topic['first_post']['id'] . '" class="topic_pages">' . $topic['pages'] . '</span>' : '', ' |
|
319 | 319 | </div><!-- .info --> |
320 | 320 | <div class="board_stats centertext"> |
321 | 321 | <p> |
@@ -401,8 +401,8 @@ discard block |
||
401 | 401 | <div class="bar"></div> |
402 | 402 | </div> |
403 | 403 | <div class="attach-ui"> |
404 | - <a data-dz-remove class="button cancel">', $txt['modify_cancel'] ,'</a> |
|
405 | - <a class="button upload">', $txt['upload'] ,'</a> |
|
404 | + <a data-dz-remove class="button cancel">', $txt['modify_cancel'], '</a> |
|
405 | + <a class="button upload">', $txt['upload'], '</a> |
|
406 | 406 | </div> |
407 | 407 | </div><!-- .attach-info --> |
408 | 408 | </div><!-- #au-template --> |
@@ -419,10 +419,10 @@ discard block |
||
419 | 419 | </dt> |
420 | 420 | <dd class="smalltext fallback"> |
421 | 421 | <div id="attachUpload" class="descbox"> |
422 | - <h5>', $txt['attach_drop_zone'] ,'</h5> |
|
423 | - <a class="button" id="attach-cancelAll">', $txt['attached_cancelAll'] ,'</a> |
|
424 | - <a class="button" id="attach-uploadAll">', $txt['attached_uploadAll'] ,'</a> |
|
425 | - <a class="button fileinput-button">', $txt['attach_add'] ,'</a> |
|
422 | + <h5>', $txt['attach_drop_zone'], '</h5> |
|
423 | + <a class="button" id="attach-cancelAll">', $txt['attached_cancelAll'], '</a> |
|
424 | + <a class="button" id="attach-uploadAll">', $txt['attached_uploadAll'], '</a> |
|
425 | + <a class="button fileinput-button">', $txt['attach_add'], '</a> |
|
426 | 426 | <div id="total-progress" class="progress_bar" role="progressBar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"> |
427 | 427 | <div class="bar"></div> |
428 | 428 | </div> |
@@ -532,7 +532,7 @@ discard block |
||
532 | 532 | // Option to delete an event if user is editing one. |
533 | 533 | if ($context['make_event'] && !$context['event']['new']) |
534 | 534 | echo ' |
535 | - <input type="submit" name="deleteevent" value="', $txt['event_delete'], '" data-confirm="', $txt['event_delete_confirm'] ,'" class="button you_sure">'; |
|
535 | + <input type="submit" name="deleteevent" value="', $txt['event_delete'], '" data-confirm="', $txt['event_delete_confirm'], '" class="button you_sure">'; |
|
536 | 536 | |
537 | 537 | echo ' |
538 | 538 | </span> |
@@ -574,7 +574,7 @@ discard block |
||
574 | 574 | |
575 | 575 | $newPostsHTML .= ' |
576 | 576 | <br class="clear"> |
577 | - <div id="msg_%PostID%_ignored_prompt" class="smalltext" style="display: none;">' . $txt['ignoring_user'] . '<a href="#" id="msg_%PostID%_ignored_link" style="%IgnoredStyle%">' . $txt['show_ignore_user_post'] . '</a></div> |
|
577 | + <div id="msg_%PostID%_ignored_prompt" class="smalltext" style="display: none;">' . $txt['ignoring_user'] . '<a href="#" id="msg_%PostID%_ignored_link" style="%IgnoredStyle%">' . $txt['show_ignore_user_post'] . '</a></div> |
|
578 | 578 | <div class="list_posts smalltext" id="msg_%PostID%_body">%PostBody%</div> |
579 | 579 | </div>'; |
580 | 580 | |
@@ -660,7 +660,7 @@ discard block |
||
660 | 660 | });'; |
661 | 661 | |
662 | 662 | echo ' |
663 | - var oEditorID = "', $context['post_box_name'] ,'"; |
|
663 | + var oEditorID = "', $context['post_box_name'], '"; |
|
664 | 664 | var oEditorObject = oEditorHandle_', $context['post_box_name'], '; |
665 | 665 | </script>'; |
666 | 666 | |
@@ -692,7 +692,7 @@ discard block |
||
692 | 692 | if ($context['can_quote']) |
693 | 693 | echo ' |
694 | 694 | <ul class="quickbuttons" id="msg_', $post['id'], '_quote"> |
695 | - <li style="display:none;" id="quoteSelected_', $post['id'], '" data-msgid="', $post['id'], '"><a href="javascript:void(0)"><span class="generic_icons quote_selected"></span>', $txt['quote_selected_action'] ,'</a></li> |
|
695 | + <li style="display:none;" id="quoteSelected_', $post['id'], '" data-msgid="', $post['id'], '"><a href="javascript:void(0)"><span class="generic_icons quote_selected"></span>', $txt['quote_selected_action'], '</a></li> |
|
696 | 696 | <li id="post_modify"><a href="#postmodify" onclick="return insertQuoteFast(', $post['id'], ');"><span class="generic_icons quote"></span>', $txt['quote'], '</a></li> |
697 | 697 | </ul>'; |
698 | 698 | |
@@ -777,7 +777,7 @@ discard block |
||
777 | 777 | <head> |
778 | 778 | <meta charset="', $context['character_set'], '"> |
779 | 779 | <title>', $txt['spell_check'], '</title> |
780 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
780 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
781 | 781 | <style> |
782 | 782 | body, td { |
783 | 783 | font-size: small; |
@@ -807,8 +807,8 @@ discard block |
||
807 | 807 | var spell_formname = window.opener.spell_formname; |
808 | 808 | var spell_fieldname = window.opener.spell_fieldname; |
809 | 809 | </script> |
810 | - <script src="', $settings['default_theme_url'], '/scripts/spellcheck.js', $modSettings['browser_cache'] ,'"></script> |
|
811 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
810 | + <script src="', $settings['default_theme_url'], '/scripts/spellcheck.js', $modSettings['browser_cache'], '"></script> |
|
811 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
812 | 812 | <script> |
813 | 813 | ', $context['spell_js'], ' |
814 | 814 | </script> |
@@ -852,7 +852,7 @@ discard block |
||
852 | 852 | <head> |
853 | 853 | <meta charset="', $context['character_set'], '"> |
854 | 854 | <title>', $txt['retrieving_quote'], '</title> |
855 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
855 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
856 | 856 | </head> |
857 | 857 | <body> |
858 | 858 | ', $txt['retrieving_quote'], ' |
@@ -84,7 +84,7 @@ |
||
84 | 84 | foreach ($board['children'] as $child) |
85 | 85 | { |
86 | 86 | if (!$child['is_redirect']) |
87 | - $child['link'] = ''. ($child['new'] ? '<a href="' . $scripturl . '?action=unread;board=' . $child['id'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')" class="new_posts">' . $txt['new'] . '</a>' : '') . '<a href="' . $child['href'] . '" ' . ($child['new'] ? 'class="board_new_posts" ' : '') . 'title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')">' . $child['name'] . '</a>'; |
|
87 | + $child['link'] = '' . ($child['new'] ? '<a href="' . $scripturl . '?action=unread;board=' . $child['id'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')" class="new_posts">' . $txt['new'] . '</a>' : '') . '<a href="' . $child['href'] . '" ' . ($child['new'] ? 'class="board_new_posts" ' : '') . 'title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')">' . $child['name'] . '</a>'; |
|
88 | 88 | else |
89 | 89 | $child['link'] = '<a href="' . $child['href'] . '" title="' . comma_format($child['posts']) . ' ' . $txt['redirects'] . '">' . $child['name'] . '</a>'; |
90 | 90 |
@@ -328,7 +328,7 @@ |
||
328 | 328 | foreach ($context['error_info']['backtrace'] as $key => $value) |
329 | 329 | { |
330 | 330 | //Check for existing |
331 | - if (!property_exists($value,'file') || empty($value->file)) |
|
331 | + if (!property_exists($value, 'file') || empty($value->file)) |
|
332 | 332 | $value->file = $txt['unknown']; |
333 | 333 | if (!property_exists($value, 'line') || empty($value->line)) |
334 | 334 | $value->line = -1; |
@@ -151,7 +151,7 @@ |
||
151 | 151 | $max_age = $time - $cached['time'] + (5 * 86400); |
152 | 152 | header('content-type: ' . $cached['content_type']); |
153 | 153 | header('content-length: ' . $cached['size']); |
154 | - header('cache-control: public, max-age=' . $max_age ); |
|
154 | + header('cache-control: public, max-age=' . $max_age); |
|
155 | 155 | header('last-modified: ' . gmdate('D, d M Y H:i:s', $cached['time']) . ' GMT'); |
156 | 156 | header('etag: ' . $eTag); |
157 | 157 | echo base64_decode($cached['body']); |