@@ -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>'; |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | foreach ($context['posts'] as $post) |
36 | 36 | { |
37 | 37 | echo ' |
38 | - <div class="', $post['css_class'] ,'"> |
|
38 | + <div class="', $post['css_class'], '"> |
|
39 | 39 | <div class="counter">', $post['counter'], '</div> |
40 | 40 | <div class="topic_details"> |
41 | 41 | <h5>', $post['board']['link'], ' / ', $post['link'], '</h5> |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | // How about... even... remove it entirely?! |
61 | 61 | if ($post['can_delete']) |
62 | 62 | echo ' |
63 | - <li><a href="', $scripturl, '?action=deletemsg;msg=', $post['id'], ';topic=', $post['topic'], ';recent;', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['remove_message'] ,'" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['remove'], '</a></li>'; |
|
63 | + <li><a href="', $scripturl, '?action=deletemsg;msg=', $post['id'], ';topic=', $post['topic'], ';recent;', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['remove_message'], '" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['remove'], '</a></li>'; |
|
64 | 64 | |
65 | 65 | if ($post['can_reply'] || $post['can_quote'] || $post['can_delete']) |
66 | 66 | echo ' |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | <div class="', $topic['css_class'], '"> |
275 | 275 | <div class="board_icon"> |
276 | 276 | <img src="', $topic['first_post']['icon_url'], '" alt=""> |
277 | - ', $topic['is_posted_in'] ? '<img class="posted" src="' . $settings['images_url'] . '/icons/profile_sm.png" alt="">' : '',' |
|
277 | + ', $topic['is_posted_in'] ? '<img class="posted" src="' . $settings['images_url'] . '/icons/profile_sm.png" alt="">' : '', ' |
|
278 | 278 | </div> |
279 | 279 | <div class="info">'; |
280 | 280 |
@@ -148,7 +148,7 @@ |
||
148 | 148 | <head> |
149 | 149 | <meta charset="', $context['character_set'], '"> |
150 | 150 | <title>', $context['page_title'], '</title> |
151 | - <link rel="stylesheet" href="', $settings['default_theme_url'], '/css/report.css', $modSettings['browser_cache'] ,'"> |
|
151 | + <link rel="stylesheet" href="', $settings['default_theme_url'], '/css/report.css', $modSettings['browser_cache'], '"> |
|
152 | 152 | </head> |
153 | 153 | <body>'; |
154 | 154 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | <a class="menu_icon mobile_generic_menu_', $context['cur_menu_id'], '"></a> |
53 | 53 | <div id="mobile_generic_menu_', $context['cur_menu_id'], '" class="popup_container"> |
54 | 54 | <div class="popup_window description"> |
55 | - <div class="popup_heading">', $txt['mobile_user_menu'],' |
|
55 | + <div class="popup_heading">', $txt['mobile_user_menu'], ' |
|
56 | 56 | <a href="javascript:void(0);" class="generic_icons hide_popup"></a></div> |
57 | 57 | ', template_generic_menu($menu_context), ' |
58 | 58 | </div> |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | </script>'; |
68 | 68 | } |
69 | 69 | |
70 | -function template_generic_menu (&$menu_context) |
|
70 | +function template_generic_menu(&$menu_context) |
|
71 | 71 | { |
72 | 72 | global $context; |
73 | 73 | |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | foreach ($menu_context['sections'] as $section) |
82 | 82 | { |
83 | 83 | echo ' |
84 | - <li ', !empty($section['areas']) ? 'class="subsections"' : '', '><a class="', !empty($section['selected']) ? 'active ' : '', '" href="', $section['url'], $menu_context['extra_parameters'], '">', $section['title'] , '</a> |
|
84 | + <li ', !empty($section['areas']) ? 'class="subsections"' : '', '><a class="', !empty($section['selected']) ? 'active ' : '', '" href="', $section['url'], $menu_context['extra_parameters'], '">', $section['title'], '</a> |
|
85 | 85 | <ul>'; |
86 | 86 | |
87 | 87 | // For every area of this section show a link to that area (bold if it's currently selected.) |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | echo '<img src="', $settings['images_url'], '/icons/', !empty($selected_tab['icon']) ? $selected_tab['icon'] : $tab_context['icon'], '" alt="" class="icon">'; |
221 | 221 | |
222 | 222 | if (!empty($selected_tab['help']) || !empty($tab_context['help'])) |
223 | - 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>'; |
|
223 | + 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>'; |
|
224 | 224 | |
225 | 225 | echo $tab_context['title']; |
226 | 226 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | echo ' |
25 | 25 | <div class="cat_bar"> |
26 | 26 | <h3 class="catbg"> |
27 | - <a href="', $scripturl, '?action=helpadmin;help=themes" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> |
|
27 | + <a href="', $scripturl, '?action=helpadmin;help=themes" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> |
|
28 | 28 | ', $txt['themeadmin_title'], ' |
29 | 29 | </h3> |
30 | 30 | </div> |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | if (isset($_GET['done'])) |
193 | 193 | echo ' |
194 | 194 | <div class="infobox"> |
195 | - ', $txt['theme_confirmed_'. $_GET['done']] ,' |
|
195 | + ', $txt['theme_confirmed_' . $_GET['done']], ' |
|
196 | 196 | </div>'; |
197 | 197 | |
198 | 198 | echo ' |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | <div class="cat_bar"> |
219 | 219 | <h3 class="catbg"> |
220 | 220 | <span class="floatleft"> |
221 | - ', (!empty($theme['enable']) || $theme['id'] == 1 ? '<a href="'. $scripturl .'?action=admin;area=theme;th='. $theme['id'] .';'. $context['session_var'] .'='. $context['session_id'] .';sa=list">'. $theme['name'] .'</a>' : $theme['name'] ),'', (!empty($theme['version']) ? ' <em>(' . $theme['version'] . ')</em>' : ''), ' |
|
221 | + ', (!empty($theme['enable']) || $theme['id'] == 1 ? '<a href="' . $scripturl . '?action=admin;area=theme;th=' . $theme['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . ';sa=list">' . $theme['name'] . '</a>' : $theme['name']), '', (!empty($theme['version']) ? ' <em>(' . $theme['version'] . ')</em>' : ''), ' |
|
222 | 222 | </span>'; |
223 | 223 | |
224 | 224 | // You *cannot* disable/enable/delete the default theme. It's important! |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | |
230 | 230 | // Enable/Disable. |
231 | 231 | echo ' |
232 | - <a href="', $scripturl, '?action=admin;area=theme;sa=enable;th=', $theme['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['admin-tre_token_var'], '=', $context['admin-tre_token'], '', (!empty($theme['enable']) ? ';disabled' : '') ,'" data-confirm="', $txt['theme_'. (!empty($theme['enable']) ? 'disable' : 'enable') .'_confirm'], '" class="you_sure"><span class="generic_icons ',!empty($theme['enable']) ? 'disable' : 'enable','" title="', $txt['theme_'. (!empty($theme['enable']) ? 'disable' : 'enable')] ,'"></span></a>'; |
|
232 | + <a href="', $scripturl, '?action=admin;area=theme;sa=enable;th=', $theme['id'], ';', $context['session_var'], '=', $context['session_id'], ';', $context['admin-tre_token_var'], '=', $context['admin-tre_token'], '', (!empty($theme['enable']) ? ';disabled' : ''), '" data-confirm="', $txt['theme_' . (!empty($theme['enable']) ? 'disable' : 'enable') . '_confirm'], '" class="you_sure"><span class="generic_icons ', !empty($theme['enable']) ? 'disable' : 'enable', '" title="', $txt['theme_' . (!empty($theme['enable']) ? 'disable' : 'enable')], '"></span></a>'; |
|
233 | 233 | |
234 | 234 | // Deleting. |
235 | 235 | echo ' |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | <form action="', $scripturl, '?action=admin;area=theme;sa=list;th=', $context['theme_settings']['theme_id'], '" method="post" accept-charset="', $context['character_set'], '"> |
457 | 457 | <div class="cat_bar"> |
458 | 458 | <h3 class="catbg"> |
459 | - <a href="', $scripturl, '?action=helpadmin;help=theme_settings" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a> ', $txt['theme_settings'], ' - ', $context['theme_settings']['name'], ' |
|
459 | + <a href="', $scripturl, '?action=helpadmin;help=theme_settings" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a> ', $txt['theme_settings'], ' - ', $context['theme_settings']['name'], ' |
|
460 | 460 | </h3> |
461 | 461 | </div> |
462 | 462 | <br>'; |
@@ -625,7 +625,7 @@ discard block |
||
625 | 625 | echo ' |
626 | 626 | </dt> |
627 | 627 | <dd> |
628 | - <textarea rows="4" style="width: 95%;" cols="40" name="', !empty($setting['default']) ? 'default_' : '','options[', $setting['id'], ']" id="', $setting['id'], '">', $setting['value'], '</textarea>'; |
|
628 | + <textarea rows="4" style="width: 95%;" cols="40" name="', !empty($setting['default']) ? 'default_' : '', 'options[', $setting['id'], ']" id="', $setting['id'], '">', $setting['value'], '</textarea>'; |
|
629 | 629 | echo ' |
630 | 630 | </dd>'; |
631 | 631 | } |
@@ -809,14 +809,14 @@ discard block |
||
809 | 809 | if (!empty($context['error_message'])) |
810 | 810 | echo ' |
811 | 811 | <p> |
812 | - ', $context['error_message'] ,' |
|
812 | + ', $context['error_message'], ' |
|
813 | 813 | </p>'; |
814 | 814 | |
815 | 815 | // Not much to show except a link back... |
816 | 816 | else |
817 | 817 | echo ' |
818 | 818 | <p> |
819 | - <a href="', $scripturl, '?action=admin;area=theme;sa=list;th=', $context['installed_theme']['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $context['installed_theme']['name'], '</a> ', $txt['theme_'. (isset($context['installed_theme']['updated']) ? 'updated' : 'installed') .'_message'], ' |
|
819 | + <a href="', $scripturl, '?action=admin;area=theme;sa=list;th=', $context['installed_theme']['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $context['installed_theme']['name'], '</a> ', $txt['theme_' . (isset($context['installed_theme']['updated']) ? 'updated' : 'installed') . '_message'], ' |
|
820 | 820 | </p> |
821 | 821 | <p> |
822 | 822 | <a href="', $scripturl, '?action=admin;area=theme;sa=admin;', $context['session_var'], '=', $context['session_id'], '">', $txt['back'], '</a> |
@@ -1156,7 +1156,7 @@ discard block |
||
1156 | 1156 | echo ' |
1157 | 1157 | <label for="on_line', $part['line'], '">', $txt['themeadmin_edit_on_line'], ' ', $part['line'], '</label>:<br> |
1158 | 1158 | <div class="centertext"> |
1159 | - <textarea id="on_line', $part['line'] ,'" name="entire_file[]" cols="80" rows="', $part['lines'] > 14 ? '14' : $part['lines'], '" class="edit_file">', $part['data'], '</textarea> |
|
1159 | + <textarea id="on_line', $part['line'], '" name="entire_file[]" cols="80" rows="', $part['lines'] > 14 ? '14' : $part['lines'], '" class="edit_file">', $part['data'], '</textarea> |
|
1160 | 1160 | </div>'; |
1161 | 1161 | |
1162 | 1162 | echo ' |
@@ -139,10 +139,10 @@ discard block |
||
139 | 139 | foreach ($context['posting_fields'] as $pf) |
140 | 140 | echo ' |
141 | 141 | <dt> |
142 | - ', $pf['dt'] ,' |
|
142 | + ', $pf['dt'], ' |
|
143 | 143 | </dt> |
144 | 144 | <dd> |
145 | - ', $pf['dd'] ,' |
|
145 | + ', $pf['dd'], ' |
|
146 | 146 | </dd>'; |
147 | 147 | |
148 | 148 | |
@@ -459,13 +459,13 @@ discard block |
||
459 | 459 | <p class="message" data-dz-message></p> |
460 | 460 | <p class="attached_BBC"> |
461 | 461 | <input type="text" name="attachBBC" value="" readonly> |
462 | - <a class="button_submit insertBBC">', $txt['attached_insertBBC'] ,'</a> |
|
462 | + <a class="button_submit insertBBC">', $txt['attached_insertBBC'], '</a> |
|
463 | 463 | </p> |
464 | 464 | <p class="progressBar" role="progressBar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><span></span></p> |
465 | 465 | </div> |
466 | 466 | <div class="attach-ui"> |
467 | - <a data-dz-remove class="button_submit delete">', $txt['modify_cancel'] ,'</a> |
|
468 | - <a class="button_submit start">', $txt['upload'] ,'</a> |
|
467 | + <a data-dz-remove class="button_submit delete">', $txt['modify_cancel'], '</a> |
|
468 | + <a class="button_submit start">', $txt['upload'], '</a> |
|
469 | 469 | </div> |
470 | 470 | </div> |
471 | 471 | </div> |
@@ -482,10 +482,10 @@ discard block |
||
482 | 482 | </dt> |
483 | 483 | <dd class="smalltext fallback"> |
484 | 484 | <div id="attachUpload" class="descbox"> |
485 | - <h5>', $txt['attach_drop_zone'] ,'</h5> |
|
486 | - <a class="button_submit" id="attach-cancelAll">', $txt['attached_cancelAll'] ,'</a> |
|
487 | - <a class="button_submit" id="attach-uploadAll">', $txt['attached_uploadAll'] ,'</a> |
|
488 | - <a class="button_submit fileinput-button">', $txt['attach_add'] ,'</a> |
|
485 | + <h5>', $txt['attach_drop_zone'], '</h5> |
|
486 | + <a class="button_submit" id="attach-cancelAll">', $txt['attached_cancelAll'], '</a> |
|
487 | + <a class="button_submit" id="attach-uploadAll">', $txt['attached_uploadAll'], '</a> |
|
488 | + <a class="button_submit fileinput-button">', $txt['attach_add'], '</a> |
|
489 | 489 | <div id="total-progress" class="progressBar" role="progressBar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><span></span></div> |
490 | 490 | <div class="fallback"> |
491 | 491 | <input type="file" multiple="multiple" name="attachment[]" id="attachment1" class="input_file fallback"> (<a href="javascript:void(0);" onclick="cleanFileInput(\'attachment1\');">', $txt['clean_attach'], '</a>) |
@@ -592,7 +592,7 @@ discard block |
||
592 | 592 | // Option to delete an event if user is editing one. |
593 | 593 | if ($context['make_event'] && !$context['event']['new']) |
594 | 594 | echo ' |
595 | - <input type="submit" name="deleteevent" value="', $txt['event_delete'], '" data-confirm="', $txt['event_delete_confirm'] ,'" class="button_submit you_sure">'; |
|
595 | + <input type="submit" name="deleteevent" value="', $txt['event_delete'], '" data-confirm="', $txt['event_delete_confirm'], '" class="button_submit you_sure">'; |
|
596 | 596 | |
597 | 597 | echo ' |
598 | 598 | </span> |
@@ -846,7 +846,7 @@ discard block |
||
846 | 846 | });'; |
847 | 847 | |
848 | 848 | echo ' |
849 | - var oEditorID = "', $context['post_box_name'] ,'"; |
|
849 | + var oEditorID = "', $context['post_box_name'], '"; |
|
850 | 850 | var oEditorObject = oEditorHandle_', $context['post_box_name'], '; |
851 | 851 | </script>'; |
852 | 852 | |
@@ -878,7 +878,7 @@ discard block |
||
878 | 878 | { |
879 | 879 | echo ' |
880 | 880 | <ul class="quickbuttons" id="msg_', $post['id'], '_quote"> |
881 | - <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> |
|
881 | + <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> |
|
882 | 882 | <li id="post_modify"><a href="#postmodify" onclick="return insertQuoteFast(', $post['id'], ');"><span class="generic_icons quote"></span>', $txt['quote'], '</a></li> |
883 | 883 | </ul>'; |
884 | 884 | } |
@@ -965,7 +965,7 @@ discard block |
||
965 | 965 | <head> |
966 | 966 | <meta charset="', $context['character_set'], '"> |
967 | 967 | <title>', $txt['spell_check'], '</title> |
968 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
968 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
969 | 969 | <style> |
970 | 970 | body, td |
971 | 971 | { |
@@ -998,8 +998,8 @@ discard block |
||
998 | 998 | var spell_formname = window.opener.spell_formname; |
999 | 999 | var spell_fieldname = window.opener.spell_fieldname; |
1000 | 1000 | </script> |
1001 | - <script src="', $settings['default_theme_url'], '/scripts/spellcheck.js', $modSettings['browser_cache'] ,'"></script> |
|
1002 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
1001 | + <script src="', $settings['default_theme_url'], '/scripts/spellcheck.js', $modSettings['browser_cache'], '"></script> |
|
1002 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
1003 | 1003 | <script> |
1004 | 1004 | ', $context['spell_js'], ' |
1005 | 1005 | </script> |
@@ -1041,7 +1041,7 @@ discard block |
||
1041 | 1041 | <head> |
1042 | 1042 | <meta charset="', $context['character_set'], '"> |
1043 | 1043 | <title>', $txt['retrieving_quote'], '</title> |
1044 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
1044 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
1045 | 1045 | </head> |
1046 | 1046 | <body> |
1047 | 1047 | ', $txt['retrieving_quote'], ' |
@@ -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\', |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | <div class="info"> |
45 | 45 | <a class="subject mobile_subject" href="', $board['href'], '" id="b', $board['id'], '"> |
46 | 46 | ', $board['name'], ' |
47 | - <p class="board_description mobile_display">', $board['description'] , '</p> |
|
47 | + <p class="board_description mobile_display">', $board['description'], '</p> |
|
48 | 48 | </a>'; |
49 | 49 | |
50 | 50 | // Has it outstanding posts for approval? |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | <a href="', $scripturl, '?action=moderate;area=postmod;sa=', ($board['unapproved_topics'] > 0 ? 'topics' : 'posts'), ';brd=', $board['id'], ';', $context['session_var'], '=', $context['session_id'], '" title="', sprintf($txt['unapproved_posts'], $board['unapproved_topics'], $board['unapproved_posts']), '" class="moderation_link">(!)</a>'; |
54 | 54 | |
55 | 55 | echo ' |
56 | - <p class="board_description">', $board['description'] , '</p>'; |
|
56 | + <p class="board_description">', $board['description'], '</p>'; |
|
57 | 57 | |
58 | 58 | // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) |
59 | 59 | if (!empty($board['moderators']) || !empty($board['moderator_groups'])) |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | // Mobile action buttons (top) |
120 | 120 | echo ' |
121 | 121 | <div class="mobile_buttons floatright"> |
122 | - <a class="button mobile_act">', $txt['mobile_action'],'</a> |
|
122 | + <a class="button mobile_act">', $txt['mobile_action'], '</a> |
|
123 | 123 | </div>'; |
124 | 124 | |
125 | 125 | echo ' |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | <img src="', $topic['first_post']['icon_url'], '" alt=""> |
220 | 220 | ', $topic['is_posted_in'] ? '<img class="posted" src="' . $settings['images_url'] . '/icons/profile_sm.png" alt="">' : '', ' |
221 | 221 | </div> |
222 | - <div class="info', !empty($context['can_quick_mod']) ? '' : ' info_block','"> |
|
222 | + <div class="info', !empty($context['can_quick_mod']) ? '' : ' info_block', '"> |
|
223 | 223 | <div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" ondblclick="oQuickModifyTopic.modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>'; |
224 | 224 | |
225 | 225 | // Now we handle the icons |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | </span> |
252 | 252 | </div> |
253 | 253 | <p class="floatleft">', $txt['started_by'], ' ', $topic['first_post']['member']['link'], '</p> |
254 | - ', !empty($topic['pages']) ? '<span id="pages'. $topic['first_post']['id']. '" class="topic_pages"> '. $topic['pages']. '</span>' : '',' |
|
254 | + ', !empty($topic['pages']) ? '<span id="pages' . $topic['first_post']['id'] . '" class="topic_pages"> ' . $topic['pages'] . '</span>' : '', ' |
|
255 | 255 | <br class="clear"> |
256 | 256 | </div> |
257 | 257 | </div> |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | foreach ($context['qmod_actions'] as $qmod_action) |
306 | 306 | if ($context['can_' . $qmod_action]) |
307 | 307 | echo ' |
308 | - <option value="' . $qmod_action . '">' . $txt['quick_mod_' . $qmod_action] . '</option>'; |
|
308 | + <option value="' . $qmod_action . '">' . $txt['quick_mod_' . $qmod_action] . '</option>'; |
|
309 | 309 | |
310 | 310 | echo ' |
311 | 311 | </select>'; |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | // Mobile action buttons (bottom) |
333 | 333 | echo ' |
334 | 334 | <div class="mobile_buttons floatright"> |
335 | - <a class="button mobile_act">', $txt['mobile_action'],'</a> |
|
335 | + <a class="button mobile_act">', $txt['mobile_action'], '</a> |
|
336 | 336 | </div>'; |
337 | 337 | |
338 | 338 | echo ' |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | echo ' |
383 | 383 | <div id="mobile_action" class="popup_container"> |
384 | 384 | <div class="popup_window description"> |
385 | - <div class="popup_heading">', $txt['mobile_action'],' |
|
385 | + <div class="popup_heading">', $txt['mobile_action'], ' |
|
386 | 386 | <a href="javascript:void(0);" class="generic_icons hide_popup"></a></div> |
387 | 387 | ', template_button_strip($context['normal_buttons']), ' |
388 | 388 | </div> |
@@ -24,8 +24,8 @@ |
||
24 | 24 | <meta charset="', $context['character_set'], '"> |
25 | 25 | <meta name="robots" content="noindex"> |
26 | 26 | <title>', $context['page_title'], '</title> |
27 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
28 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
27 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
28 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
29 | 29 | </head> |
30 | 30 | <body id="likes_popup"> |
31 | 31 | <div class="windowbg"> |
@@ -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> |