Completed
Branch release-2.1 (e49a83)
by Michael
08:59
created
Themes/default/Admin.template.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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>
@@ -768,7 +768,7 @@  discard block
 block discarded – undo
768 768
 				echo '
769 769
 							<div class="cat_bar">
770 770
 								<h3 class="', !empty($config_var['class']) ? $config_var['class'] : 'catbg', '"', !empty($config_var['force_div_id']) ? ' id="' . $config_var['force_div_id'] . '"' : '', '>
771
-									', ($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>' : ''), '
771
+									', ($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 772
 									', $config_var['label'], '
773 773
 								</h3>
774 774
 							</div>';
@@ -830,7 +830,7 @@  discard block
 block discarded – undo
830 830
 				// Show the [?] button.
831 831
 				if ($config_var['help'])
832 832
 					echo '
833
-							<a id="setting_', $config_var['name'], '_help" href="', $scripturl, '?action=helpadmin;help=', $config_var['help'], '" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="', $txt['help'],'"></span></a> ';
833
+							<a id="setting_', $config_var['name'], '_help" href="', $scripturl, '?action=helpadmin;help=', $config_var['help'], '" onclick="return reqOverlayDiv(this.href);"><span class="generic_icons help" title="', $txt['help'], '"></span></a> ';
834 834
 
835 835
 				echo '
836 836
 										<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>
@@ -934,7 +934,7 @@  discard block
 block discarded – undo
934 934
 					$max = isset($config_var['max']) ? ' max="' . $config_var['max'] . '"' : '';
935 935
 
936 936
 					echo '
937
-											<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, '>';
937
+											<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 938
 				}
939 939
 
940 940
 				echo isset($config_var['postinput']) ? '
@@ -1126,13 +1126,13 @@  discard block
 block discarded – undo
1126 1126
 
1127 1127
 	foreach ($context['cust_profile_fields_placement'] as $order => $name)
1128 1128
 		echo '
1129
-												<option value="', $order ,'"', $context['field']['placement'] == $order ? ' selected' : '', '>', $txt['custom_profile_placement_'. $name], '</option>';
1129
+												<option value="', $order, '"', $context['field']['placement'] == $order ? ' selected' : '', '>', $txt['custom_profile_placement_' . $name], '</option>';
1130 1130
 
1131 1131
 	echo '
1132 1132
 											</select>
1133 1133
 										</dd>
1134 1134
 										<dt>
1135
-											<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>
1135
+											<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 1136
 											<strong><label for="enclose">', $txt['custom_edit_enclose'], ':</label></strong><br>
1137 1137
 											<span class="smalltext">', $txt['custom_edit_enclose_desc'], '</span>
1138 1138
 										</dt>
@@ -1177,7 +1177,7 @@  discard block
 block discarded – undo
1177 1177
 											<input type="checkbox" name="bbc" id="bbc_dd"', $context['field']['bbc'] ? ' checked' : '', ' class="input_check">
1178 1178
 										</dd>
1179 1179
 										<dt id="options_dt">
1180
-											<a href="', $scripturl, '?action=helpadmin;help=customoptions" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a>
1180
+											<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 1181
 											<strong><label for="options_dd">', $txt['custom_edit_options'], ':</label></strong><br>
1182 1182
 											<span class="smalltext">', $txt['custom_edit_options_desc'], '</span>
1183 1183
 										</dt>
@@ -1206,7 +1206,7 @@  discard block
 block discarded – undo
1206 1206
 									<legend>', $txt['custom_edit_advanced'], '</legend>
1207 1207
 									<dl class="settings">
1208 1208
 										<dt id="mask_dt">
1209
-											<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>
1209
+											<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 1210
 											<strong><label for="mask">', $txt['custom_edit_mask'], ':</label></strong><br>
1211 1211
 											<span class="smalltext">', $txt['custom_edit_mask_desc'], '</span>
1212 1212
 										</dt>
@@ -1322,7 +1322,7 @@  discard block
 block discarded – undo
1322 1322
 			{
1323 1323
 				echo '
1324 1324
 							<li>
1325
-								<a href="', $result['url'], '"><strong>', $result['name'], '</strong></a> [', isset($txt['admin_search_section_' . $result['type']]) ? $txt['admin_search_section_' . $result['type']] : $result['type'] , ']';
1325
+								<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 1326
 
1327 1327
 				if ($result['help'])
1328 1328
 					echo '
@@ -1402,7 +1402,7 @@  discard block
 block discarded – undo
1402 1402
 					<div id="admincenter">
1403 1403
 						<div id="section_header" class="cat_bar">
1404 1404
 							<h3 class="catbg">',
1405
-								$context['error_search'] ? $txt['errors_list'] : $txt['errors_fixing'] , '
1405
+								$context['error_search'] ? $txt['errors_list'] : $txt['errors_fixing'], '
1406 1406
 							</h3>
1407 1407
 						</div>
1408 1408
 						<div class="windowbg">';
@@ -1555,7 +1555,7 @@  discard block
 block discarded – undo
1555 1555
 			{
1556 1556
 				echo '
1557 1557
 								<tr class="windowbg">
1558
-									<td class="equal_table">', $key,  '</td>
1558
+									<td class="equal_table">', $key, '</td>
1559 1559
 									<td colspan="2">', $setting, '</td>
1560 1560
 								</tr>';
1561 1561
 			}
Please login to merge, or discard this patch.
Themes/default/Register.template.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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>
Please login to merge, or discard this patch.
Themes/default/BoardIndex.template.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,14 +94,14 @@  discard block
 block discarded – undo
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>
101 101
 					<div class="info">
102 102
 						<a class="subject mobile_subject" href="', $board['href'], '" id="b', $board['id'], '">
103 103
 							', $board['name'], '
104
-							<p class="board_description mobile_display">', $board['description'] , '</p>
104
+							<p class="board_description mobile_display">', $board['description'], '</p>
105 105
 						</a>';
106 106
 
107 107
 				// Has it outstanding posts for approval?
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 						<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>';
111 111
 
112 112
 				echo '
113
-						<p class="board_description">', $board['description'] , '</p>';
113
+						<p class="board_description">', $board['description'], '</p>';
114 114
 
115 115
 				// Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.)
116 116
 				if (!empty($board['link_moderators']))
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 						', $board['is_redirect'] ? '' : '<br> ' . comma_format($board['topics']) . ' ' . $txt['board_topics'], '
126 126
 						</p>
127 127
 					</div>
128
-					<div class="lastpost ',!empty($board['last_post']['id']) ? 'lpr_border' : 'hidden','">';
128
+					<div class="lastpost ',!empty($board['last_post']['id']) ? 'lpr_border' : 'hidden', '">';
129 129
 
130 130
 				if (!empty($board['last_post']['id']))
131 131
 					echo '
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
 				</h4>
375 375
 			</div>
376 376
 			<p class="inline">
377
-				', $context['common_stats']['boardindex_total_posts'], '', !empty($settings['show_latest_member']) ? ' - '. $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br>
377
+				', $context['common_stats']['boardindex_total_posts'], '', !empty($settings['show_latest_member']) ? ' - ' . $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br>
378 378
 				', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>&quot;' . $context['latest_post']['link'] . '&quot;</strong>  (' . $context['latest_post']['time'] . ')<br>' : ''), '
379 379
 				<a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a>
380 380
 			</p>';
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
 		// Showing membergroups?
423 423
 		if (!empty($settings['show_group_key']) && !empty($context['membergroups']))
424 424
 			echo '
425
-				<span class="membergroups">' . implode(',&nbsp;', $context['membergroups']). '</span>';
425
+				<span class="membergroups">' . implode(',&nbsp;', $context['membergroups']) . '</span>';
426 426
 	}
427 427
 
428 428
 	echo '
Please login to merge, or discard this patch.
Themes/default/Calendar.template.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -172,23 +172,23 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 			}
Please login to merge, or discard this patch.
Themes/default/ModerationCenter.template.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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'] : '', '
Please login to merge, or discard this patch.
Themes/default/ManageLanguages.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 				</h3>
81 81
 			</div>
82 82
 			<div class="windowbg">
83
-				<p>', $txt['package_ftp_why'],'</p>
83
+				<p>', $txt['package_ftp_why'], '</p>
84 84
 				<dl class="settings">
85 85
 					<dt
86 86
 						<label for="ftp_server">', $txt['package_ftp_server'], ':</label>
Please login to merge, or discard this patch.
Themes/default/MoveTopic.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
 		foreach ($category['boards'] as $board)
41 41
 			echo '
42
-									<option value="', $board['id'], '"', $board['selected'] ? ' selected' : '', $board['id'] == $context['current_board'] ? ' disabled' : '', '>', $board['child_level'] > 0 ? str_repeat('==', $board['child_level']-1) . '=&gt; ' : '', $board['name'], '</option>';
42
+									<option value="', $board['id'], '"', $board['selected'] ? ' selected' : '', $board['id'] == $context['current_board'] ? ' disabled' : '', '>', $board['child_level'] > 0 ? str_repeat('==', $board['child_level'] - 1) . '=&gt; ' : '', $board['name'], '</option>';
43 43
 		echo '
44 44
 								</optgroup>';
45 45
 	}
Please login to merge, or discard this patch.
Themes/default/Packages.template.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -912,7 +912,7 @@  discard block
 block discarded – undo
912 912
 				{
913 913
 					// 1. Some mod [ Download ].
914 914
 					echo '
915
-						<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>
915
+						<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>
916 916
 						<ul id="package_section_', $i, '_pkg_', $id, '" class="package_section">';
917 917
 
918 918
 					// Show the mod type?
@@ -1284,10 +1284,10 @@  discard block
 block discarded – undo
1284 1284
 	<head>
1285 1285
 		<meta charset="', $context['character_set'], '">
1286 1286
 		<title>', $txt['operation_title'], '</title>
1287
-		<link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'] ,'">
1288
-		<link rel="stylesheet" href="', $settings['theme_url'], '/css/admin.css', $modSettings['browser_cache'] ,'">
1289
-		<script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'] ,'"></script>
1290
-		<script src="', $settings['default_theme_url'], '/scripts/theme.js', $modSettings['browser_cache'] ,'"></script>
1287
+		<link rel="stylesheet" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css', $modSettings['browser_cache'], '">
1288
+		<link rel="stylesheet" href="', $settings['theme_url'], '/css/admin.css', $modSettings['browser_cache'], '">
1289
+		<script src="', $settings['default_theme_url'], '/scripts/script.js', $modSettings['browser_cache'], '"></script>
1290
+		<script src="', $settings['default_theme_url'], '/scripts/theme.js', $modSettings['browser_cache'], '"></script>
1291 1291
 	</head>
1292 1292
 	<body>
1293 1293
 		<div class="padding windowbg">
Please login to merge, or discard this patch.
Themes/default/Profile.template.php 1 patch
Spacing   +30 added lines, -31 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
 	echo '
56 56
 		<div class="profile_user_avatar floatleft">
57
-			<a href="', $scripturl, '?action=profile;u=', $context['user']['id'], '">', $context['member']['avatar']['image'],'</a>
57
+			<a href="', $scripturl, '?action=profile;u=', $context['user']['id'], '">', $context['member']['avatar']['image'], '</a>
58 58
 		</div>
59 59
 		<div class="profile_user_info floatleft">
60 60
 			<span class="profile_username"><a href="', $scripturl, '?action=profile;u=', $context['user']['id'], '">', $context['user']['name'], '</a></span>
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 		echo '
330 330
 					<dt>', $txt['profile_warning_level'], ': </dt>
331 331
 					<dd>
332
-						<a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=', ($context['can_issue_warning'] && !$context['user']['is_owner'] ? 'issuewarning' : 'viewwarning') , '">', $context['member']['warning'], '%</a>';
332
+						<a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=', ($context['can_issue_warning'] && !$context['user']['is_owner'] ? 'issuewarning' : 'viewwarning'), '">', $context['member']['warning'], '%</a>';
333 333
 
334 334
 		// Can we provide information on what this means?
335 335
 		if (!empty($context['warning_status']))
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
 		// If the person looking at the summary has permission, and the account isn't activated, give the viewer the ability to do it themselves.
348 348
 		if (!empty($context['activate_message']))
349 349
 			echo '
350
-					<dt class="clear"><span class="alert">', $context['activate_message'], '</span>&nbsp;(<a href="', $context['activate_link'], '"', ($context['activate_type'] == 4 ? ' class="you_sure" data-confirm="'. $txt['profileConfirm'] .'"' : ''), '>', $context['activate_link_text'], '</a>)</dt>';
350
+					<dt class="clear"><span class="alert">', $context['activate_message'], '</span>&nbsp;(<a href="', $context['activate_link'], '"', ($context['activate_type'] == 4 ? ' class="you_sure" data-confirm="' . $txt['profileConfirm'] . '"' : ''), '>', $context['activate_link_text'], '</a>)</dt>';
351 351
 
352 352
 		// If the current member is banned, show a message and possibly a link to the ban.
353 353
 		if (!empty($context['member']['bans']))
@@ -473,7 +473,7 @@  discard block
 block discarded – undo
473 473
 		foreach ($context['posts'] as $post)
474 474
 		{
475 475
 			echo '
476
-			<div class="', $post['css_class'] ,'">
476
+			<div class="', $post['css_class'], '">
477 477
 				<div class="counter">', $post['counter'], '</div>
478 478
 				<div class="topic_details">
479 479
 					<h5><strong><a href="', $scripturl, '?board=', $post['board']['id'], '.0">', $post['board']['name'], '</a> / <a href="', $scripturl, '?topic=', $post['topic'], '.', $post['start'], '#msg', $post['id'], '">', $post['subject'], '</a></strong></h5>
@@ -509,7 +509,7 @@  discard block
 block discarded – undo
509 509
 			// How about... even... remove it entirely?!
510 510
 			if ($post['can_delete'])
511 511
 				echo '
512
-						<li><a href="', $scripturl, '?action=deletemsg;msg=', $post['id'], ';topic=', $post['topic'], ';profile;u=', $context['member']['id'], ';start=', $context['start'], ';', $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>';
512
+						<li><a href="', $scripturl, '?action=deletemsg;msg=', $post['id'], ';topic=', $post['topic'], ';profile;u=', $context['member']['id'], ';start=', $context['start'], ';', $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>';
513 513
 
514 514
 			if ($post['can_reply'] || $post['can_quote'] || $post['can_delete'])
515 515
 				echo '
@@ -580,9 +580,9 @@  discard block
 block discarded – undo
580 580
 					<td>', $alert['time'], '</td>
581 581
 					<td>
582 582
 						<ul class="quickbuttons">
583
-							<li><a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=showalerts;do=remove;aid=', $id ,';', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['delete'] ,'</a></li>
584
-							<li><a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=showalerts;do=', ($alert['is_read'] != 0 ? 'unread' : 'read') ,';aid=', $id ,';', $context['session_var'], '=', $context['session_id'], '"><span class="generic_icons ', $alert['is_read'] != 0 ? 'unread_button' : 'read_button','"></span>', ($alert['is_read'] != 0 ? $txt['mark_unread'] : $txt['mark_read_short']),'</a></li>
585
-							<li><input type="checkbox" name="mark[', $id ,']" value="', $id ,'"></li>
583
+							<li><a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=showalerts;do=remove;aid=', $id, ';', $context['session_var'], '=', $context['session_id'], '" class="you_sure"><span class="generic_icons remove_button"></span>', $txt['delete'], '</a></li>
584
+							<li><a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=showalerts;do=', ($alert['is_read'] != 0 ? 'unread' : 'read'), ';aid=', $id, ';', $context['session_var'], '=', $context['session_id'], '"><span class="generic_icons ', $alert['is_read'] != 0 ? 'unread_button' : 'read_button', '"></span>', ($alert['is_read'] != 0 ? $txt['mark_unread'] : $txt['mark_read_short']), '</a></li>
585
+							<li><input type="checkbox" name="mark[', $id, ']" value="', $id, '"></li>
586 586
 						</ul>
587 587
 					</td>
588 588
 				</tr>';
@@ -592,17 +592,17 @@  discard block
 block discarded – undo
592 592
 			</table>
593 593
 			<div class="pagesection">
594 594
 				<div class="floatleft">
595
-					', $context['pagination'] ,'
595
+					', $context['pagination'], '
596 596
 				</div>
597 597
 				<div class="floatright">
598
-					', $txt['check_all'] ,': <input type="checkbox" name="select_all" id="select_all">
598
+					', $txt['check_all'], ': <input type="checkbox" name="select_all" id="select_all">
599 599
 					<select name="mark_as">
600
-						<option value="read">', $txt['quick_mod_markread'] ,'</option>
601
-						<option value="unread">', $txt['quick_mod_markunread'] ,'</option>
602
-						<option value="remove">', $txt['quick_mod_remove'] ,'</option>
600
+						<option value="read">', $txt['quick_mod_markread'], '</option>
601
+						<option value="unread">', $txt['quick_mod_markunread'], '</option>
602
+						<option value="remove">', $txt['quick_mod_remove'], '</option>
603 603
 					</select>
604 604
 					<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
605
-					<input type="submit" name="req" value="', $txt['quick_mod_go'] ,'" class="button_submit you_sure">
605
+					<input type="submit" name="req" value="', $txt['quick_mod_go'], '" class="button_submit you_sure">
606 606
 				</div>
607 607
 			</div>
608 608
 		</form>';
@@ -659,7 +659,7 @@  discard block
 block discarded – undo
659 659
 				<div class="floatright">
660 660
 					<ul class="quickbuttons">
661 661
 						<li><a href="', $scripturl, '?action=post;', (empty($draft['topic']['id']) ? 'board=' . $draft['board']['id'] : 'topic=' . $draft['topic']['id']), '.0;id_draft=', $draft['id_draft'], '"><span class="generic_icons reply_button"></span>', $txt['draft_edit'], '</a></li>
662
-						<li><a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';area=showdrafts;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>
662
+						<li><a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';area=showdrafts;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>
663 663
 					</ul>
664 664
 				</div>
665 665
 			</div>';
@@ -715,7 +715,7 @@  discard block
 block discarded – undo
715 715
 	if (empty($context['buddies']))
716 716
 		echo '
717 717
 			<tr class="windowbg">
718
-				<td colspan="', allowedTo('moderate_forum') ? '10' : '9','"><strong>', $txt['no_buddies'], '</strong></td>
718
+				<td colspan="', allowedTo('moderate_forum') ? '10' : '9', '"><strong>', $txt['no_buddies'], '</strong></td>
719 719
 			</tr>';
720 720
 
721 721
 		// Now loop through each buddy showing info on each.
@@ -818,14 +818,14 @@  discard block
 block discarded – undo
818 818
 				<th scope="col">', $txt['email'], '</th>';
819 819
 
820 820
 	echo '
821
-				<th scope="col">', $txt['ignore_remove'] ,'</th>
821
+				<th scope="col">', $txt['ignore_remove'], '</th>
822 822
 			</tr>';
823 823
 
824 824
 	// If they don't have anyone on their ignore list, don't list it!
825 825
 	if (empty($context['ignore_list']))
826 826
 		echo '
827 827
 			<tr class="windowbg">
828
-				<td colspan="', allowedTo('moderate_forum') ? '4' : '3','"><strong>', $txt['no_ignore'], '</strong></td>
828
+				<td colspan="', allowedTo('moderate_forum') ? '4' : '3', '"><strong>', $txt['no_ignore'], '</strong></td>
829 829
 			</tr>';
830 830
 
831 831
 	// Now loop through each buddy showing info on each.
@@ -1063,7 +1063,7 @@  discard block
 block discarded – undo
1063 1063
 	else
1064 1064
 	{
1065 1065
 		echo '
1066
-		<div class="information">',$txt['showPermissions_help'],'</div>
1066
+		<div class="information">',$txt['showPermissions_help'], '</div>
1067 1067
 		<div id="permissions" class="flow_hidden">';
1068 1068
 
1069 1069
 		if (!empty($context['no_access_boards']))
@@ -1110,7 +1110,7 @@  discard block
 block discarded – undo
1110 1110
 
1111 1111
 				if ($permission['is_denied'])
1112 1112
 					echo '
1113
-									<span class="alert">', $txt['showPermissions_denied'], ':&nbsp;', implode(', ', $permission['groups']['denied']),'</span>';
1113
+									<span class="alert">', $txt['showPermissions_denied'], ':&nbsp;', implode(', ', $permission['groups']['denied']), '</span>';
1114 1114
 				else
1115 1115
 					echo '
1116 1116
 									', $txt['showPermissions_given'], ':&nbsp;', implode(', ', $permission['groups']['allowed']);
@@ -1843,7 +1843,7 @@  discard block
 block discarded – undo
1843 1843
 	{
1844 1844
 		echo '
1845 1845
 				<tr class="title_bar">
1846
-					<th>', $txt['alert_group_' . $alert_group],'</th>
1846
+					<th>', $txt['alert_group_' . $alert_group], '</th>
1847 1847
 					<th>', $txt['receive_alert'], '</th>
1848 1848
 					<th>', $txt['receive_mail'], '</th>
1849 1849
 				</tr>
@@ -1893,7 +1893,7 @@  discard block
 block discarded – undo
1893 1893
 		{
1894 1894
 			echo '
1895 1895
 				<tr class="windowbg">
1896
-					<td>', $txt['alert_' . $alert_id], isset($alert_details['help']) ? '<a href="' . $scripturl . '?action=helpadmin;help=' . $alert_details['help'] . '" onclick="return reqOverlayDiv(this.href);" class="help floatright"><span class="generic_icons help" title="'. $txt['help'].'"></span></a>' : '', '</td>';
1896
+					<td>', $txt['alert_' . $alert_id], isset($alert_details['help']) ? '<a href="' . $scripturl . '?action=helpadmin;help=' . $alert_details['help'] . '" onclick="return reqOverlayDiv(this.href);" class="help floatright"><span class="generic_icons help" title="' . $txt['help'] . '"></span></a>' : '', '</td>';
1897 1897
 
1898 1898
 			foreach ($context['alert_bits'] as $type => $bitmask)
1899 1899
 			{
@@ -2075,7 +2075,7 @@  discard block
 block discarded – undo
2075 2075
 						<a href="', $scripturl, '?action=profile;save;u=', $context['id_member'], ';area=groupmembership;', $context['session_var'], '=', $context['session_id'], ';gid=', $group['id'], ';', $context[$context['token_check'] . '_token_var'], '=', $context[$context['token_check'] . '_token'], '" class="button floatright">', $txt['join_group'], '</a>';
2076 2076
 				elseif ($group['type'] == 2 && $group['pending'])
2077 2077
 					echo '
2078
-						<span class="floatright">', $txt['approval_pending'],'</span>';
2078
+						<span class="floatright">', $txt['approval_pending'], '</span>';
2079 2079
 				elseif ($group['type'] == 2)
2080 2080
 					echo '
2081 2081
 						<a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=groupmembership;request=', $group['id'], '" class="button floatright">', $txt['request_group'], '</a>';
@@ -2379,7 +2379,7 @@  discard block
 block discarded – undo
2379 2379
 			<div id="box_preview"', !empty($context['warning_data']['body_preview']) ? '' : ' style="display:none"', '>
2380 2380
 				<dl class="settings">
2381 2381
 					<dt>
2382
-						<strong>', $txt['preview'] , '</strong>
2382
+						<strong>', $txt['preview'], '</strong>
2383 2383
 					</dt>
2384 2384
 					<dd id="body_preview">
2385 2385
 						', !empty($context['warning_data']['body_preview']) ? $context['warning_data']['body_preview'] : '', '
@@ -2798,7 +2798,7 @@  discard block
 block discarded – undo
2798 2798
 								', !empty($context['member']['avatar']['allow_server_stored']) ? '<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_server_stored" value="server_stored"' . ($context['member']['avatar']['choice'] == 'server_stored' ? ' checked="checked"' : '') . ' class="input_radio" /><label for="avatar_choice_server_stored"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>' . $txt['choose_avatar_gallery'] . '</label><br />' : '', '
2799 2799
 								', !empty($context['member']['avatar']['allow_external']) ? '<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_external" value="external"' . ($context['member']['avatar']['choice'] == 'external' ? ' checked="checked"' : '') . ' class="input_radio" /><label for="avatar_choice_external"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>' . $txt['my_own_pic'] . '</label><br />' : '', '
2800 2800
 								', !empty($context['member']['avatar']['allow_upload']) ? '<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_upload" value="upload"' . ($context['member']['avatar']['choice'] == 'upload' ? ' checked="checked"' : '') . ' class="input_radio" /><label for="avatar_choice_upload"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>' . $txt['avatar_will_upload'] . '</label><br />' : '', '
2801
-								', !empty($context['member']['avatar']['allow_gravatar']) ? '<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_gravatar" value="gravatar"'. ($context['member']['avatar']['choice'] == 'gravatar' ? ' checked="checked"' : '') . ' class="input_radio" /><label for="avatar_choice_gravatar"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>' . $txt['use_gravatar'] . '</label>' : '', '
2801
+								', !empty($context['member']['avatar']['allow_gravatar']) ? '<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_gravatar" value="gravatar"' . ($context['member']['avatar']['choice'] == 'gravatar' ? ' checked="checked"' : '') . ' class="input_radio" /><label for="avatar_choice_gravatar"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>' . $txt['use_gravatar'] . '</label>' : '', '
2802 2802
 							</dt>
2803 2803
 							<dd>';
2804 2804
 
@@ -2965,7 +2965,7 @@  discard block
 block discarded – undo
2965 2965
 	echo '
2966 2966
 							<dt>
2967 2967
 								<strong><label for="easyformat">', $txt['time_format'], ':</label></strong><br>
2968
-								<a href="', $scripturl, '?action=helpadmin;help=time_format" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'],'"></span></a>
2968
+								<a href="', $scripturl, '?action=helpadmin;help=time_format" onclick="return reqOverlayDiv(this.href);" class="help"><span class="generic_icons help" title="', $txt['help'], '"></span></a>
2969 2969
 								<span class="smalltext">&nbsp;<label for="time_format">', $txt['date_format'], '</label></span>
2970 2970
 							</dt>
2971 2971
 							<dd>
@@ -3031,8 +3031,7 @@  discard block
 block discarded – undo
3031 3031
 							<div class="roundframe">
3032 3032
 								<div>
3033 3033
 		', !empty($context['tfa_backup']) ? '
3034
-									<div class="smalltext error">' . $txt['tfa_backup_used_desc'] . '</div>' :
3035
-			($modSettings['tfa_mode'] == 2 ? '
3034
+									<div class="smalltext error">' . $txt['tfa_backup_used_desc'] . '</div>' : ($modSettings['tfa_mode'] == 2 ? '
3036 3035
 									<div class="smalltext"><strong>' . $txt['tfa_forced_desc'] . '</strong></div>' : ''), '
3037 3036
 									<div class="smalltext">', $txt['tfa_desc'], '</div>
3038 3037
 									<div id="basicinfo" style="width: 60%">
@@ -3040,7 +3039,7 @@  discard block
 block discarded – undo
3040 3039
 											<div class="title_top">
3041 3040
 												<strong>', $txt['tfa_step1'], '</strong><br />
3042 3041
 												', !empty($context['tfa_pass_error']) ? '<div class="error smalltext">' . $txt['tfa_pass_invalid'] . '</div>' : '', '
3043
-												<input type="password" name="passwd" style="width: 200px;"', !empty($context['tfa_pass_error']) ? ' class="error"' : '', !empty($context['tfa_pass_value']) ? ' value="' . $context['tfa_pass_value'] . '"' : '' ,'>
3042
+												<input type="password" name="passwd" style="width: 200px;"', !empty($context['tfa_pass_error']) ? ' class="error"' : '', !empty($context['tfa_pass_value']) ? ' value="' . $context['tfa_pass_value'] . '"' : '', '>
3044 3043
 											</div>
3045 3044
 											<div class="title_top">
3046 3045
 												<strong>', $txt['tfa_step2'], '</strong>
@@ -3048,9 +3047,9 @@  discard block
 block discarded – undo
3048 3047
 												<div class="tfacode">', $context['tfa_secret'], '</div>
3049 3048
 											</div>
3050 3049
 											<div class="title_top">
3051
-												<strong>', $txt['tfa_step3'] , '</strong><br />
3050
+												<strong>', $txt['tfa_step3'], '</strong><br />
3052 3051
 												', !empty($context['tfa_error']) ? '<div class="error smalltext">' . $txt['tfa_code_invalid'] . '</div>' : '', '
3053
-												<input type="text" name="tfa_code" style="width: 200px;"', !empty($context['tfa_error']) ? ' class="error"' : '', !empty($context['tfa_value']) ? ' value="' . $context['tfa_value'] . '"' : '' ,'>
3052
+												<input type="text" name="tfa_code" style="width: 200px;"', !empty($context['tfa_error']) ? ' class="error"' : '', !empty($context['tfa_value']) ? ' value="' . $context['tfa_value'] . '"' : '', '>
3054 3053
 												<input type="submit" name="save" value="', $txt['tfa_enable'], '" class="button_submit" style="float: none;" />
3055 3054
 											</div>
3056 3055
 											<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '" />
Please login to merge, or discard this patch.