@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | 'class' => 'centercol', |
| 394 | 394 | ), |
| 395 | 395 | 'data' => array( |
| 396 | - 'function' => function ($rowData) |
|
| 396 | + 'function' => function($rowData) |
|
| 397 | 397 | { |
| 398 | 398 | return $rowData['selected'] ? '<span class="generic_icons valid"></span>' : ''; |
| 399 | 399 | }, |
@@ -453,7 +453,7 @@ discard block |
||
| 453 | 453 | 'class' => 'centercol', |
| 454 | 454 | ), |
| 455 | 455 | 'data' => array( |
| 456 | - 'function' => function ($rowData) |
|
| 456 | + 'function' => function($rowData) |
|
| 457 | 457 | { |
| 458 | 458 | return $rowData['selected'] ? '' : sprintf('<input type="checkbox" name="smiley_set[%1$d]">', $rowData['id']); |
| 459 | 459 | }, |
@@ -997,7 +997,7 @@ discard block |
||
| 997 | 997 | 'value' => $txt['smileys_location'], |
| 998 | 998 | ), |
| 999 | 999 | 'data' => array( |
| 1000 | - 'function' => function ($rowData) use ($txt) |
|
| 1000 | + 'function' => function($rowData) use ($txt) |
|
| 1001 | 1001 | { |
| 1002 | 1002 | if (empty($rowData['hidden'])) |
| 1003 | 1003 | return $txt['smileys_location_form']; |
@@ -1017,7 +1017,7 @@ discard block |
||
| 1017 | 1017 | 'value' => $txt['smileys_description'], |
| 1018 | 1018 | ), |
| 1019 | 1019 | 'data' => array( |
| 1020 | - 'function' => function ($rowData) use ($context, $txt, $modSettings, $smcFunc) |
|
| 1020 | + 'function' => function($rowData) use ($context, $txt, $modSettings, $smcFunc) |
|
| 1021 | 1021 | { |
| 1022 | 1022 | if (empty($modSettings['smileys_dir']) || !is_dir($modSettings['smileys_dir'])) |
| 1023 | 1023 | return $smcFunc['htmlspecialchars']($rowData['description']); |
@@ -1554,7 +1554,7 @@ discard block |
||
| 1554 | 1554 | 'action' => $smcFunc['htmlspecialchars'](strtr($action['destination'], array($boarddir => '.'))) |
| 1555 | 1555 | ); |
| 1556 | 1556 | |
| 1557 | - $file = $packagesdir . '/temp/' . $base_path . $action['filename']; |
|
| 1557 | + $file = $packagesdir . '/temp/' . $base_path . $action['filename']; |
|
| 1558 | 1558 | if (isset($action['filename']) && (!file_exists($file) || !is_writable(dirname($action['destination'])))) |
| 1559 | 1559 | { |
| 1560 | 1560 | $context['has_failure'] = true; |
@@ -1599,7 +1599,7 @@ discard block |
||
| 1599 | 1599 | { |
| 1600 | 1600 | updateSettings(array( |
| 1601 | 1601 | 'smiley_sets_known' => $modSettings['smiley_sets_known'] . ',' . basename($action['action']), |
| 1602 | - 'smiley_sets_names' => $modSettings['smiley_sets_names'] . "\n" . $smileyInfo['name'] . (count($context['actions']) > 1 ? ' ' . (!empty($action['description']) ? $smcFunc['htmlspecialchars']($action['description']) : basename($action['action'])) : ''), |
|
| 1602 | + 'smiley_sets_names' => $modSettings['smiley_sets_names'] . "\n" . $smileyInfo['name'] . (count($context['actions']) > 1 ? ' ' . (!empty($action['description']) ? $smcFunc['htmlspecialchars']($action['description']) : basename($action['action'])) : ''), |
|
| 1603 | 1603 | )); |
| 1604 | 1604 | } |
| 1605 | 1605 | |
@@ -1611,7 +1611,7 @@ discard block |
||
| 1611 | 1611 | '{db_prefix}log_packages', |
| 1612 | 1612 | array( |
| 1613 | 1613 | 'filename' => 'string', 'name' => 'string', 'package_id' => 'string', 'version' => 'string', |
| 1614 | - 'id_member_installed' => 'int', 'member_installed' => 'string','time_installed' => 'int', |
|
| 1614 | + 'id_member_installed' => 'int', 'member_installed' => 'string', 'time_installed' => 'int', |
|
| 1615 | 1615 | 'install_state' => 'int', 'failed_steps' => 'string', 'themes_installed' => 'string', |
| 1616 | 1616 | 'member_removed' => 'int', 'db_changes' => 'string', 'credits' => 'string', |
| 1617 | 1617 | ), |
@@ -1860,7 +1860,7 @@ discard block |
||
| 1860 | 1860 | 'columns' => array( |
| 1861 | 1861 | 'icon' => array( |
| 1862 | 1862 | 'data' => array( |
| 1863 | - 'function' => function ($rowData) use ($settings, $smcFunc) |
|
| 1863 | + 'function' => function($rowData) use ($settings, $smcFunc) |
|
| 1864 | 1864 | { |
| 1865 | 1865 | $images_url = $settings[file_exists(sprintf('%1$s/images/post/%2$s.png', $settings['theme_dir'], $rowData['filename'])) ? 'actual_images_url' : 'default_images_url']; |
| 1866 | 1866 | return sprintf('<img src="%1$s/post/%2$s.png" alt="%3$s">', $images_url, $rowData['filename'], $smcFunc['htmlspecialchars']($rowData['title'])); |
@@ -1894,7 +1894,7 @@ discard block |
||
| 1894 | 1894 | 'value' => $txt['icons_board'], |
| 1895 | 1895 | ), |
| 1896 | 1896 | 'data' => array( |
| 1897 | - 'function' => function ($rowData) use ($txt) |
|
| 1897 | + 'function' => function($rowData) use ($txt) |
|
| 1898 | 1898 | { |
| 1899 | 1899 | return empty($rowData['board_name']) ? $txt['icons_edit_icons_all_boards'] : $rowData['board_name']; |
| 1900 | 1900 | }, |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | 'class' => 'centercol', |
| 257 | 257 | ), |
| 258 | 258 | 'data' => array( |
| 259 | - 'function' => function ($entry) |
|
| 259 | + 'function' => function($entry) |
|
| 260 | 260 | { |
| 261 | 261 | return '<input type="checkbox" name="delete[]" value="' . $entry['id'] . '"' . ($entry['editable'] ? '' : ' disabled') . '>'; |
| 262 | 262 | }, |
@@ -638,7 +638,7 @@ discard block |
||
| 638 | 638 | if (empty($entries[$k]['action_text'])) |
| 639 | 639 | $entries[$k]['action_text'] = isset($txt['modlog_ac_' . $entry['action']]) ? $txt['modlog_ac_' . $entry['action']] : $entry['action']; |
| 640 | 640 | $entries[$k]['action_text'] = preg_replace_callback('~\{([A-Za-z\d_]+)\}~i', |
| 641 | - function ($matches) use ($entries, $k) |
|
| 641 | + function($matches) use ($entries, $k) |
|
| 642 | 642 | { |
| 643 | 643 | return isset($entries[$k]['extra'][$matches[1]]) ? $entries[$k]['extra'][$matches[1]] : ''; |
| 644 | 644 | }, $entries[$k]['action_text']); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | |
| 73 | 73 | echo ' |
| 74 | 74 | <div class="main_container"> |
| 75 | - <div class="cat_bar ', $category['is_collapsed'] ? 'collapsed' : '','" id="category_', $category['id'], '"> |
|
| 75 | + <div class="cat_bar ', $category['is_collapsed'] ? 'collapsed' : '', '" id="category_', $category['id'], '"> |
|
| 76 | 76 | <h3 class="catbg">'; |
| 77 | 77 | |
| 78 | 78 | // If this category even can collapse, show a link to collapse it. |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | foreach ($board['children'] as $child) |
| 143 | 143 | { |
| 144 | 144 | if (!$child['is_redirect']) |
| 145 | - $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']) . ')"><span class="new_posts">' . $txt['new'] . '</span></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>'; |
|
| 145 | + $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']) . ')"><span class="new_posts">' . $txt['new'] . '</span></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>'; |
|
| 146 | 146 | else |
| 147 | 147 | $child['link'] = '<a href="' . $child['href'] . '" title="' . comma_format($child['posts']) . ' ' . $txt['redirects'] . ' - ' . $child['short_description'] . '">' . $child['name'] . '</a>'; |
| 148 | 148 | |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | |
| 232 | 232 | foreach ($message['custom_fields']['above_member'] as $custom) |
| 233 | 233 | echo ' |
| 234 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 234 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 235 | 235 | |
| 236 | 236 | echo ' |
| 237 | 237 | </ul> |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | if (!empty($message['custom_fields']['below_avatar'])) |
| 269 | 269 | foreach ($message['custom_fields']['below_avatar'] as $custom) |
| 270 | 270 | echo ' |
| 271 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 271 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 272 | 272 | |
| 273 | 273 | if (!$message['member']['is_guest']) |
| 274 | 274 | echo ' |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | |
| 311 | 311 | foreach ($message['custom_fields']['icons'] as $custom) |
| 312 | 312 | echo ' |
| 313 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 313 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 314 | 314 | |
| 315 | 315 | echo ' |
| 316 | 316 | </ol> |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | if (!empty($message['custom_fields']['standard'])) |
| 369 | 369 | foreach ($message['custom_fields']['standard'] as $custom) |
| 370 | 370 | echo ' |
| 371 | - <li class="custom ', $custom['col_name'] ,'">', $custom['title'], ': ', $custom['value'], '</li>'; |
|
| 371 | + <li class="custom ', $custom['col_name'], '">', $custom['title'], ': ', $custom['value'], '</li>'; |
|
| 372 | 372 | |
| 373 | 373 | // Are we showing the warning status? |
| 374 | 374 | if ($message['member']['can_see_warning']) |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | if (!empty($message['custom_fields']['bottom_poster'])) |
| 380 | 380 | foreach ($message['custom_fields']['bottom_poster'] as $custom) |
| 381 | 381 | echo ' |
| 382 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 382 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 383 | 383 | } |
| 384 | 384 | |
| 385 | 385 | // Done with the information about the poster... on to the post itself. |
@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | |
| 478 | 478 | foreach ($message['custom_fields']['above_signature'] as $custom) |
| 479 | 479 | echo ' |
| 480 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 480 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 481 | 481 | |
| 482 | 482 | echo ' |
| 483 | 483 | </ul> |
@@ -498,7 +498,7 @@ discard block |
||
| 498 | 498 | |
| 499 | 499 | foreach ($message['custom_fields']['below_signature'] as $custom) |
| 500 | 500 | echo ' |
| 501 | - <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 501 | + <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 502 | 502 | |
| 503 | 503 | echo ' |
| 504 | 504 | </ul> |
@@ -630,7 +630,7 @@ discard block |
||
| 630 | 630 | while ($message = $context['get_pmessage']('subject')) |
| 631 | 631 | { |
| 632 | 632 | echo ' |
| 633 | - <tr class="windowbg', $message['is_unread'] ? ' unread_pm' : '','"> |
|
| 633 | + <tr class="windowbg', $message['is_unread'] ? ' unread_pm' : '', '"> |
|
| 634 | 634 | <td class="table_icon"> |
| 635 | 635 | <script> |
| 636 | 636 | currentLabels[', $message['id'], '] = {'; |
@@ -902,12 +902,12 @@ discard block |
||
| 902 | 902 | // You can only reply if they are not a guest... |
| 903 | 903 | if (!$message['member']['is_guest']) |
| 904 | 904 | echo ' |
| 905 | - <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote;u=', $context['folder'] == 'sent' ? '' : $message['member']['id'], '">', $quote_button , '</a>', $context['menu_separator'], ' |
|
| 906 | - <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';u=', $message['member']['id'], '">', $reply_button , '</a> ', $context['menu_separator']; |
|
| 905 | + <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote;u=', $context['folder'] == 'sent' ? '' : $message['member']['id'], '">', $quote_button, '</a>', $context['menu_separator'], ' |
|
| 906 | + <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';u=', $message['member']['id'], '">', $reply_button, '</a> ', $context['menu_separator']; |
|
| 907 | 907 | // This is for "forwarding" - even if the member is gone. |
| 908 | 908 | else |
| 909 | 909 | echo ' |
| 910 | - <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote">', $quote_button , '</a>', $context['menu_separator']; |
|
| 910 | + <a href="', $scripturl, '?action=pm;sa=send;f=', $context['folder'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pmsg=', $message['id'], ';quote">', $quote_button, '</a>', $context['menu_separator']; |
|
| 911 | 911 | } |
| 912 | 912 | |
| 913 | 913 | echo ' |
@@ -1007,7 +1007,7 @@ discard block |
||
| 1007 | 1007 | <div class="', empty($context['error_type']) || $context['error_type'] != 'serious' ? 'noticebox' : 'errorbox', '"', empty($context['post_error']['messages']) ? ' style="display: none"' : '', ' id="errors"> |
| 1008 | 1008 | <dl> |
| 1009 | 1009 | <dt> |
| 1010 | - <strong id="error_serious">', $txt['error_while_submitting'] , '</strong> |
|
| 1010 | + <strong id="error_serious">', $txt['error_while_submitting'], '</strong> |
|
| 1011 | 1011 | </dt> |
| 1012 | 1012 | <dd class="error" id="error_list"> |
| 1013 | 1013 | ', empty($context['post_error']['messages']) ? '' : implode('<br>', $context['post_error']['messages']), ' |
@@ -1063,7 +1063,7 @@ discard block |
||
| 1063 | 1063 | <span', (isset($context['post_error']['no_subject']) ? ' class="error"' : ''), ' id="caption_subject">', $txt['subject'], ':</span> |
| 1064 | 1064 | </dt> |
| 1065 | 1065 | <dd id="pm_subject"> |
| 1066 | - <input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="80" maxlength="80"',isset($context['post_error']['no_subject']) ? ' class="error"' : '', '/> |
|
| 1066 | + <input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="80" maxlength="80"', isset($context['post_error']['no_subject']) ? ' class="error"' : '', '/> |
|
| 1067 | 1067 | </dd> |
| 1068 | 1068 | </dl><hr>'; |
| 1069 | 1069 | |
@@ -1426,7 +1426,7 @@ discard block |
||
| 1426 | 1426 | echo ' |
| 1427 | 1427 | <div class="padding"> |
| 1428 | 1428 | <input type="submit" name="save" value="', $txt['save'], '" class="button"> |
| 1429 | - <input type="submit" name="delete" value="', $txt['quickmod_delete_selected'], '" data-confirm="', $txt['pm_labels_delete'] ,'" class="button you_sure"> |
|
| 1429 | + <input type="submit" name="delete" value="', $txt['quickmod_delete_selected'], '" data-confirm="', $txt['pm_labels_delete'], '" class="button you_sure"> |
|
| 1430 | 1430 | </div>'; |
| 1431 | 1431 | |
| 1432 | 1432 | echo ' |
@@ -1590,7 +1590,7 @@ discard block |
||
| 1590 | 1590 | if (!empty($context['rules'])) |
| 1591 | 1591 | echo ' |
| 1592 | 1592 | <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> |
| 1593 | - <input type="submit" name="delselected" value="', $txt['pm_delete_selected_rule'], '" data-confirm="', $txt['pm_js_delete_rule_confirm'] ,'" class="button smalltext you_sure">'; |
|
| 1593 | + <input type="submit" name="delselected" value="', $txt['pm_delete_selected_rule'], '" data-confirm="', $txt['pm_js_delete_rule_confirm'], '" class="button smalltext you_sure">'; |
|
| 1594 | 1594 | |
| 1595 | 1595 | echo ' |
| 1596 | 1596 | </div> |
@@ -1831,9 +1831,9 @@ discard block |
||
| 1831 | 1831 | |
| 1832 | 1832 | echo ' |
| 1833 | 1833 | <select name="acttype[', $k, ']" id="acttype', $k, '" onchange="updateActionDef(', $k, '); rebuildRuleDesc();"> |
| 1834 | - <option value="">', $txt['pm_rule_sel_action'] , ':</option> |
|
| 1835 | - <option value="lab"', $action['t'] == 'lab' ? ' selected' : '', '>', $txt['pm_rule_label'] , '</option> |
|
| 1836 | - <option value="del"', $action['t'] == 'del' ? ' selected' : '', '>', $txt['pm_rule_delete'] , '</option> |
|
| 1834 | + <option value="">', $txt['pm_rule_sel_action'], ':</option> |
|
| 1835 | + <option value="lab"', $action['t'] == 'lab' ? ' selected' : '', '>', $txt['pm_rule_label'], '</option> |
|
| 1836 | + <option value="del"', $action['t'] == 'del' ? ' selected' : '', '>', $txt['pm_rule_delete'], '</option> |
|
| 1837 | 1837 | </select> |
| 1838 | 1838 | <span id="labdiv', $k, '"> |
| 1839 | 1839 | <select name="labdef[', $k, ']" id="labdef', $k, '" onchange="rebuildRuleDesc();"> |
@@ -1945,7 +1945,7 @@ discard block |
||
| 1945 | 1945 | </div> |
| 1946 | 1946 | <ul class="quickbuttons"> |
| 1947 | 1947 | <li><a href="', $scripturl, '?action=pm;sa=showpmdrafts;id_draft=', $draft['id_draft'], ';', $context['session_var'], '=', $context['session_id'], '"><span class="generic_icons modifybutton"></span>', $txt['draft_edit'], '</a></li> |
| 1948 | - <li><a href="', $scripturl, '?action=pm;sa=showpmdrafts;delete=', $draft['id_draft'], ';', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['draft_remove'] ,'?" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['draft_delete'], '</a></li> |
|
| 1948 | + <li><a href="', $scripturl, '?action=pm;sa=showpmdrafts;delete=', $draft['id_draft'], ';', $context['session_var'], '=', $context['session_id'], '" data-confirm="', $txt['draft_remove'], '?" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['draft_delete'], '</a></li> |
|
| 1949 | 1949 | </ul> |
| 1950 | 1950 | </div>'; |
| 1951 | 1951 | } |
@@ -416,8 +416,8 @@ discard block |
||
| 416 | 416 | </div> |
| 417 | 417 | <div class="progressBar" role="progressBar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><span></span></div> |
| 418 | 418 | <div class="attach-ui"> |
| 419 | - <a data-dz-remove class="button cancel">', $txt['modify_cancel'] ,'</a> |
|
| 420 | - <a class="button upload">', $txt['upload'] ,'</a> |
|
| 419 | + <a data-dz-remove class="button cancel">', $txt['modify_cancel'], '</a> |
|
| 420 | + <a class="button upload">', $txt['upload'], '</a> |
|
| 421 | 421 | </div> |
| 422 | 422 | </div> |
| 423 | 423 | </div> |
@@ -435,10 +435,10 @@ discard block |
||
| 435 | 435 | </dt> |
| 436 | 436 | <dd class="smalltext fallback"> |
| 437 | 437 | <div id="attachUpload" class="descbox"> |
| 438 | - <h5>', $txt['attach_drop_zone'] ,'</h5> |
|
| 439 | - <a class="button" id="attach-cancelAll">', $txt['attached_cancelAll'] ,'</a> |
|
| 440 | - <a class="button" id="attach-uploadAll">', $txt['attached_uploadAll'] ,'</a> |
|
| 441 | - <a class="button fileinput-button">', $txt['attach_add'] ,'</a> |
|
| 438 | + <h5>', $txt['attach_drop_zone'], '</h5> |
|
| 439 | + <a class="button" id="attach-cancelAll">', $txt['attached_cancelAll'], '</a> |
|
| 440 | + <a class="button" id="attach-uploadAll">', $txt['attached_uploadAll'], '</a> |
|
| 441 | + <a class="button fileinput-button">', $txt['attach_add'], '</a> |
|
| 442 | 442 | <div id="total-progress" class="progressBar" role="progressBar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><span></span></div> |
| 443 | 443 | <div class="fallback"> |
| 444 | 444 | <input type="file" multiple="multiple" name="attachment[]" id="attachment1" class="fallback"> (<a href="javascript:void(0);" onclick="cleanFileInput(\'attachment1\');">', $txt['clean_attach'], '</a>) |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | // Option to delete an event if user is editing one. |
| 546 | 546 | if ($context['make_event'] && !$context['event']['new']) |
| 547 | 547 | echo ' |
| 548 | - <input type="submit" name="deleteevent" value="', $txt['event_delete'], '" data-confirm="', $txt['event_delete_confirm'] ,'" class="button you_sure">'; |
|
| 548 | + <input type="submit" name="deleteevent" value="', $txt['event_delete'], '" data-confirm="', $txt['event_delete_confirm'], '" class="button you_sure">'; |
|
| 549 | 549 | |
| 550 | 550 | echo ' |
| 551 | 551 | </span> |
@@ -799,7 +799,7 @@ discard block |
||
| 799 | 799 | });'; |
| 800 | 800 | |
| 801 | 801 | echo ' |
| 802 | - var oEditorID = "', $context['post_box_name'] ,'"; |
|
| 802 | + var oEditorID = "', $context['post_box_name'], '"; |
|
| 803 | 803 | var oEditorObject = oEditorHandle_', $context['post_box_name'], '; |
| 804 | 804 | </script>'; |
| 805 | 805 | |
@@ -831,7 +831,7 @@ discard block |
||
| 831 | 831 | { |
| 832 | 832 | echo ' |
| 833 | 833 | <ul class="quickbuttons" id="msg_', $post['id'], '_quote"> |
| 834 | - <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> |
|
| 834 | + <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> |
|
| 835 | 835 | <li id="post_modify"><a href="#postmodify" onclick="return insertQuoteFast(', $post['id'], ');"><span class="generic_icons quote"></span>', $txt['quote'], '</a></li> |
| 836 | 836 | </ul>'; |
| 837 | 837 | } |
@@ -918,7 +918,7 @@ discard block |
||
| 918 | 918 | <head> |
| 919 | 919 | <meta charset="', $context['character_set'], '"> |
| 920 | 920 | <title>', $txt['spell_check'], '</title> |
| 921 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 921 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 922 | 922 | <style> |
| 923 | 923 | body, td |
| 924 | 924 | { |
@@ -951,8 +951,8 @@ discard block |
||
| 951 | 951 | var spell_formname = window.opener.spell_formname; |
| 952 | 952 | var spell_fieldname = window.opener.spell_fieldname; |
| 953 | 953 | </script> |
| 954 | - <script src="', $settings['default_theme_url'], '/scripts/spellcheck.js', $modSettings['browser_cache'] ,'"></script> |
|
| 955 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
| 954 | + <script src="', $settings['default_theme_url'], '/scripts/spellcheck.js', $modSettings['browser_cache'], '"></script> |
|
| 955 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
| 956 | 956 | <script> |
| 957 | 957 | ', $context['spell_js'], ' |
| 958 | 958 | </script> |
@@ -994,7 +994,7 @@ discard block |
||
| 994 | 994 | <head> |
| 995 | 995 | <meta charset="', $context['character_set'], '"> |
| 996 | 996 | <title>', $txt['retrieving_quote'], '</title> |
| 997 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
| 997 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
| 998 | 998 | </head> |
| 999 | 999 | <body> |
| 1000 | 1000 | ', $txt['retrieving_quote'], ' |