@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | <div class="tborder login"> |
| 118 | 118 | <div class="cat_bar"> |
| 119 | 119 | <h3 class="catbg"> |
| 120 | - ', $txt['tfa_profile_label'] ,' |
|
| 120 | + ', $txt['tfa_profile_label'], ' |
|
| 121 | 121 | </h3> |
| 122 | 122 | </div> |
| 123 | 123 | <div class="roundframe">'; |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | echo ' |
| 304 | 304 | <strong>', $txt['password'], ':</strong> |
| 305 | 305 | <input type="password" name="', $context['sessionCheckType'], '_pass" size="24" class="input_password"> |
| 306 | - <a href="', $scripturl, '?action=helpadmin;help=securityDisable_why" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a><br> |
|
| 306 | + <a href="', $scripturl, '?action=helpadmin;help=securityDisable_why" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a><br> |
|
| 307 | 307 | <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> |
| 308 | 308 | <input type="hidden" name="', $context['admin-login_token_var'], '" value="', $context['admin-login_token'], '"> |
| 309 | 309 | <input type="submit" style="margin-top: 1em;" value="', $txt['login'], '" class="button_submit">'; |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | <strong', !empty($field['is_error']) ? ' class="red"' : '', '>', $field['name'], ':</strong> |
| 151 | 151 | <span class="smalltext">', $field['desc'], '</span> |
| 152 | 152 | </dt> |
| 153 | - <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ .'" name="', $field['input_html']), '</dd>'; |
|
| 153 | + <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ . '" name="', $field['input_html']), '</dd>'; |
|
| 154 | 154 | |
| 155 | 155 | echo ' |
| 156 | 156 | </dl>'; |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | <meta charset="', $context['character_set'], '"> |
| 437 | 437 | <title>', $txt['visual_verification_sound'], '</title> |
| 438 | 438 | <meta name="robots" content="noindex"> |
| 439 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 439 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 440 | 440 | <style>'; |
| 441 | 441 | |
| 442 | 442 | // Just show the help text and a "close window" link. |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | <strong', !empty($field['is_error']) ? ' class="red"' : '', '>', $field['name'], ':</strong> |
| 543 | 543 | <span class="smalltext">', $field['desc'], '</span> |
| 544 | 544 | </dt> |
| 545 | - <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ .'" name="', $field['input_html']), '</dd>'; |
|
| 545 | + <dd>', str_replace('name="', 'tabindex="' . $context['tabindex']++ . '" name="', $field['input_html']), '</dd>'; |
|
| 546 | 546 | |
| 547 | 547 | echo ' |
| 548 | 548 | <dt> |
@@ -172,23 +172,23 @@ discard block |
||
| 172 | 172 | // Additional classes are given for events, holidays, and birthdays. |
| 173 | 173 | if (!empty($day['events']) && !empty($calendar_data['highlight']['events'])) |
| 174 | 174 | { |
| 175 | - if ($is_mini === true && in_array($calendar_data['highlight']['events'], array(1,3))) |
|
| 175 | + if ($is_mini === true && in_array($calendar_data['highlight']['events'], array(1, 3))) |
|
| 176 | 176 | $classes[] = 'events'; |
| 177 | - elseif ($is_mini === false && in_array($calendar_data['highlight']['events'], array(2,3))) |
|
| 177 | + elseif ($is_mini === false && in_array($calendar_data['highlight']['events'], array(2, 3))) |
|
| 178 | 178 | $classes[] = 'events'; |
| 179 | 179 | } |
| 180 | 180 | if (!empty($day['holidays']) && !empty($calendar_data['highlight']['holidays'])) |
| 181 | 181 | { |
| 182 | - if ($is_mini === true && in_array($calendar_data['highlight']['holidays'], array(1,3))) |
|
| 182 | + if ($is_mini === true && in_array($calendar_data['highlight']['holidays'], array(1, 3))) |
|
| 183 | 183 | $classes[] = 'holidays'; |
| 184 | - elseif ($is_mini === false && in_array($calendar_data['highlight']['holidays'], array(2,3))) |
|
| 184 | + elseif ($is_mini === false && in_array($calendar_data['highlight']['holidays'], array(2, 3))) |
|
| 185 | 185 | $classes[] = 'holidays'; |
| 186 | 186 | } |
| 187 | 187 | if (!empty($day['birthdays']) && !empty($calendar_data['highlight']['birthdays'])) |
| 188 | 188 | { |
| 189 | - if ($is_mini === true && in_array($calendar_data['highlight']['birthdays'], array(1,3))) |
|
| 189 | + if ($is_mini === true && in_array($calendar_data['highlight']['birthdays'], array(1, 3))) |
|
| 190 | 190 | $classes[] = 'birthdays'; |
| 191 | - elseif ($is_mini === false && in_array($calendar_data['highlight']['birthdays'], array(2,3))) |
|
| 191 | + elseif ($is_mini === false && in_array($calendar_data['highlight']['birthdays'], array(2, 3))) |
|
| 192 | 192 | $classes[] = 'birthdays'; |
| 193 | 193 | } |
| 194 | 194 | } |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | elseif ($is_mini === false) |
| 288 | 288 | { |
| 289 | 289 | if (empty($current_month_started) && !empty($context['calendar_grid_prev'])) |
| 290 | - echo '<a href="', $scripturl, '?action=calendar;year=', $context['calendar_grid_prev']['current_year'], ';month=', $context['calendar_grid_prev']['current_month'], '">', $context['calendar_grid_prev']['last_of_month'] - $calendar_data['shift']-- + 1, '</a>'; |
|
| 290 | + echo '<a href="', $scripturl, '?action=calendar;year=', $context['calendar_grid_prev']['current_year'], ';month=', $context['calendar_grid_prev']['current_month'], '">', $context['calendar_grid_prev']['last_of_month'] - $calendar_data['shift']-- +1, '</a>'; |
|
| 291 | 291 | elseif (!empty($current_month_started) && !empty($context['calendar_grid_next'])) |
| 292 | 292 | echo '<a href="', $scripturl, '?action=calendar;year=', $context['calendar_grid_next']['current_year'], ';month=', $context['calendar_grid_next']['current_month'], '">', $current_month_started + 1 == $count ? (!empty($calendar_data['short_month_titles']) ? $txt['months_short'][$context['calendar_grid_next']['current_month']] . ' ' : $txt['months_titles'][$context['calendar_grid_next']['current_month']] . ' ') : '', $final_count++, '</a>'; |
| 293 | 293 | } |
@@ -916,7 +916,7 @@ discard block |
||
| 916 | 916 | { |
| 917 | 917 | // 1. Some mod [ Download ]. |
| 918 | 918 | echo ' |
| 919 | - <strong><span id="ps_img_', $i, '_pkg_', $id, '" class="toggle_up" alt="*" style="display: none;"></span> ', $package['can_install'] || !empty($package['can_emulate_install']) ? '<strong>' . $package['name'] . '</strong> <a href="' . $package['download']['href'] . '">[ ' . $txt['download'] . ' ]</a>': $package['name'], '</strong> |
|
| 919 | + <strong><span id="ps_img_', $i, '_pkg_', $id, '" class="toggle_up" alt="*" style="display: none;"></span> ', $package['can_install'] || !empty($package['can_emulate_install']) ? '<strong>' . $package['name'] . '</strong> <a href="' . $package['download']['href'] . '">[ ' . $txt['download'] . ' ]</a>' : $package['name'], '</strong> |
|
| 920 | 920 | <ul id="package_section_', $i, '_pkg_', $id, '" class="package_section">'; |
| 921 | 921 | |
| 922 | 922 | // Show the mod type? |
@@ -1289,10 +1289,10 @@ discard block |
||
| 1289 | 1289 | <head> |
| 1290 | 1290 | <meta charset="', $context['character_set'], '"> |
| 1291 | 1291 | <title>', $txt['operation_title'], '</title> |
| 1292 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 1293 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/admin.css', $modSettings['browser_cache'] ,'"> |
|
| 1294 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
| 1295 | - <script src="', $settings['default_theme_url'], '/scripts/theme.js', $modSettings['browser_cache'] ,'"></script> |
|
| 1292 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 1293 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/admin.css', $modSettings['browser_cache'], '"> |
|
| 1294 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
| 1295 | + <script src="', $settings['default_theme_url'], '/scripts/theme.js', $modSettings['browser_cache'], '"></script> |
|
| 1296 | 1296 | </head> |
| 1297 | 1297 | <body> |
| 1298 | 1298 | <div class="padding windowbg"> |
@@ -24,8 +24,8 @@ discard block |
||
| 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="help_popup"> |
| 31 | 31 | <div class="windowbg description"> |
@@ -50,8 +50,8 @@ discard block |
||
| 50 | 50 | <title>', $txt['find_members'], '</title> |
| 51 | 51 | <meta charset="', $context['character_set'], '"> |
| 52 | 52 | <meta name="robots" content="noindex"> |
| 53 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 54 | - <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script> |
|
| 53 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 54 | + <script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script> |
|
| 55 | 55 | <script> |
| 56 | 56 | var membersAdded = []; |
| 57 | 57 | function addMember(name) |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | |
| 91 | 91 | echo ' |
| 92 | 92 | </dl> |
| 93 | - <input type="submit" name="preview" value="', $txt['preview'] , '" class="button_submit"> |
|
| 93 | + <input type="submit" name="preview" value="', $txt['preview'], '" class="button_submit"> |
|
| 94 | 94 | <input type="submit" name="save" value="', $txt['rtm10'], '" style="margin-left: 1ex;" class="button_submit"> |
| 95 | 95 | <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> |
| 96 | 96 | </div> |
@@ -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 | |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | { |
| 326 | 326 | echo ' |
| 327 | 327 | <div class="infobox"> |
| 328 | - ', $txt['report_action_'. $context['report_post_action']], ' |
|
| 328 | + ', $txt['report_action_' . $context['report_post_action']], ' |
|
| 329 | 329 | </div>'; |
| 330 | 330 | } |
| 331 | 331 | |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | // Cycle through the notes. |
| 347 | 347 | foreach ($context['notes'] as $note) |
| 348 | 348 | echo ' |
| 349 | - <li class="smalltext">', ($note['can_delete'] ? '<a href="'. $note['delete_href'] .';'. $context['mod-modnote-del_token_var'] .'='. $context['mod-modnote-del_token'] .'" data-confirm="'. $txt['mc_reportedp_delete_confirm'] .'" class="you_sure"><span class="generic_icons delete"></span></a>' : ''), $note['time'] ,' <strong>', $note['author']['link'], ':</strong> ', $note['text'], '</li>'; |
|
| 349 | + <li class="smalltext">', ($note['can_delete'] ? '<a href="' . $note['delete_href'] . ';' . $context['mod-modnote-del_token_var'] . '=' . $context['mod-modnote-del_token'] . '" data-confirm="' . $txt['mc_reportedp_delete_confirm'] . '" class="you_sure"><span class="generic_icons delete"></span></a>' : ''), $note['time'], ' <strong>', $note['author']['link'], ':</strong> ', $note['text'], '</li>'; |
|
| 350 | 350 | |
| 351 | 351 | echo ' |
| 352 | 352 | </ul> |
@@ -479,7 +479,7 @@ discard block |
||
| 479 | 479 | |
| 480 | 480 | if ($post['can_delete']) |
| 481 | 481 | $output_html .= ' |
| 482 | - <a href="' . $scripturl . '?action=moderate;area=userwatch;sa=post;delete=' . $post['id'] . ';start=' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" data-confirm="'. $txt['mc_watched_users_delete_post'] . '" class="you_sure">' . $delete_button . '</a> |
|
| 482 | + <a href="' . $scripturl . '?action=moderate;area=userwatch;sa=post;delete=' . $post['id'] . ';start=' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" data-confirm="' . $txt['mc_watched_users_delete_post'] . '" class="you_sure">' . $delete_button . '</a> |
|
| 483 | 483 | <input type="checkbox" name="delete[]" value="' . $post['id'] . '" class="input_check">'; |
| 484 | 484 | |
| 485 | 485 | $output_html .= ' |
@@ -546,7 +546,7 @@ discard block |
||
| 546 | 546 | <head> |
| 547 | 547 | <meta charset="', $context['character_set'], '"> |
| 548 | 548 | <title>', $context['page_title'], '</title> |
| 549 | - <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'"> |
|
| 549 | + <link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '"> |
|
| 550 | 550 | </head> |
| 551 | 551 | <body> |
| 552 | 552 | <div class="cat_bar"> |
@@ -590,7 +590,7 @@ discard block |
||
| 590 | 590 | <div class="errorbox"', empty($context['warning_errors']) ? ' style="display: none"' : '', ' id="errors"> |
| 591 | 591 | <dl> |
| 592 | 592 | <dt> |
| 593 | - <strong id="error_serious">', $txt['error_while_submitting'] , '</strong> |
|
| 593 | + <strong id="error_serious">', $txt['error_while_submitting'], '</strong> |
|
| 594 | 594 | </dt> |
| 595 | 595 | <dd class="error" id="error_list"> |
| 596 | 596 | ', empty($context['warning_errors']) ? '' : implode('<br>', $context['warning_errors']), ' |
@@ -600,7 +600,7 @@ discard block |
||
| 600 | 600 | <div id="box_preview"', !empty($context['template_preview']) ? '' : ' style="display:none"', '> |
| 601 | 601 | <dl class="settings"> |
| 602 | 602 | <dt> |
| 603 | - <strong>', $txt['preview'] , '</strong> |
|
| 603 | + <strong>', $txt['preview'], '</strong> |
|
| 604 | 604 | </dt> |
| 605 | 605 | <dd id="template_preview"> |
| 606 | 606 | ', !empty($context['template_preview']) ? $context['template_preview'] : '', ' |
@@ -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> |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | if (isset($_GET['done'])) |
| 201 | 201 | echo ' |
| 202 | 202 | <div class="infobox"> |
| 203 | - ', $txt['theme_confirmed_'. $_GET['done']] ,' |
|
| 203 | + ', $txt['theme_confirmed_' . $_GET['done']], ' |
|
| 204 | 204 | </div>'; |
| 205 | 205 | |
| 206 | 206 | echo ' |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | <div class="cat_bar"> |
| 227 | 227 | <h3 class="catbg"> |
| 228 | 228 | <span class="floatleft"> |
| 229 | - ', (!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>' : ''), ' |
|
| 229 | + ', (!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>' : ''), ' |
|
| 230 | 230 | </span>'; |
| 231 | 231 | |
| 232 | 232 | // You *cannot* disable/enable/delete the default theme. It's important! |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | |
| 238 | 238 | // Enable/Disable. |
| 239 | 239 | echo ' |
| 240 | - <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>'; |
|
| 240 | + <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>'; |
|
| 241 | 241 | |
| 242 | 242 | // Deleting. |
| 243 | 243 | echo ' |
@@ -464,7 +464,7 @@ discard block |
||
| 464 | 464 | <form action="', $scripturl, '?action=admin;area=theme;sa=list;th=', $context['theme_settings']['theme_id'], '" method="post" accept-charset="', $context['character_set'], '"> |
| 465 | 465 | <div class="cat_bar"> |
| 466 | 466 | <h3 class="catbg"> |
| 467 | - <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'], ' |
|
| 467 | + <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'], ' |
|
| 468 | 468 | </h3> |
| 469 | 469 | </div> |
| 470 | 470 | <br>'; |
@@ -633,7 +633,7 @@ discard block |
||
| 633 | 633 | echo ' |
| 634 | 634 | </dt> |
| 635 | 635 | <dd> |
| 636 | - <textarea rows="4" style="width: 95%;" cols="40" name="', !empty($setting['default']) ? 'default_' : '','options[', $setting['id'], ']" id="', $setting['id'], '">', $setting['value'], '</textarea>'; |
|
| 636 | + <textarea rows="4" style="width: 95%;" cols="40" name="', !empty($setting['default']) ? 'default_' : '', 'options[', $setting['id'], ']" id="', $setting['id'], '">', $setting['value'], '</textarea>'; |
|
| 637 | 637 | echo ' |
| 638 | 638 | </dd>'; |
| 639 | 639 | } |
@@ -817,14 +817,14 @@ discard block |
||
| 817 | 817 | if (!empty($context['error_message'])) |
| 818 | 818 | echo ' |
| 819 | 819 | <p> |
| 820 | - ', $context['error_message'] ,' |
|
| 820 | + ', $context['error_message'], ' |
|
| 821 | 821 | </p>'; |
| 822 | 822 | |
| 823 | 823 | // Not much to show except a link back... |
| 824 | 824 | else |
| 825 | 825 | echo ' |
| 826 | 826 | <p> |
| 827 | - <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'], ' |
|
| 827 | + <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'], ' |
|
| 828 | 828 | </p> |
| 829 | 829 | <p> |
| 830 | 830 | <a href="', $scripturl, '?action=admin;area=theme;sa=admin;', $context['session_var'], '=', $context['session_id'], '">', $txt['back'], '</a> |
@@ -1165,7 +1165,7 @@ discard block |
||
| 1165 | 1165 | echo ' |
| 1166 | 1166 | <label for="on_line', $part['line'], '">', $txt['themeadmin_edit_on_line'], ' ', $part['line'], '</label>:<br> |
| 1167 | 1167 | <div class="centertext"> |
| 1168 | - <textarea id="on_line', $part['line'] ,'" name="entire_file[]" cols="80" rows="', $part['lines'] > 14 ? '14' : $part['lines'], '" class="edit_file">', $part['data'], '</textarea> |
|
| 1168 | + <textarea id="on_line', $part['line'], '" name="entire_file[]" cols="80" rows="', $part['lines'] > 14 ? '14' : $part['lines'], '" class="edit_file">', $part['data'], '</textarea> |
|
| 1169 | 1169 | </div>'; |
| 1170 | 1170 | |
| 1171 | 1171 | echo ' |