Passed
Pull Request — release-2.1 (#7267)
by Jon
05:13
created
Themes/default/index.template.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -264,13 +264,13 @@  discard block
 block discarded – undo
264 264
 					', sprintf($txt['welcome_to_forum'], $context['forum_name_html_safe']), '
265 265
 				</li>
266 266
 				<li class="button_login">
267
-					<a href="', $scripturl, '?action=login" class="', $context['current_action'] == 'login' ? 'active' : 'open','" onclick="return reqOverlayDiv(this.href, ' . JavaScriptEscape($txt['login']) . ');">
267
+					<a href="', $scripturl, '?action=login" class="', $context['current_action'] == 'login' ? 'active' : 'open', '" onclick="return reqOverlayDiv(this.href, ' . JavaScriptEscape($txt['login']) . ');">
268 268
 						<span class="main_icons login"></span>
269 269
 						<span class="textmenu">', $txt['login'], '</span>
270 270
 					</a>
271 271
 				</li>
272 272
 				<li class="button_signup">
273
-					<a href="', $scripturl, '?action=signup" class="', $context['current_action'] == 'signup' ? 'active' : 'open','">
273
+					<a href="', $scripturl, '?action=signup" class="', $context['current_action'] == 'signup' ? 'active' : 'open', '">
274 274
 						<span class="main_icons regcenter"></span>
275 275
 						<span class="textmenu">', $txt['register'], '</span>
276 276
 					</a>
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
 				$value['id'] = $key;
614 614
 
615 615
 			$button = '
616
-				<a class="button button_strip_' . $key . (!empty($value['active']) ? ' active' : '') . (isset($value['class']) ? ' ' . $value['class'] : '') . '" ' . (!empty($value['url']) ? 'href="' . $value['url'] . '"' : '') . ' ' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '>'.(!empty($value['icon']) ? '<span class="main_icons '.$value['icon'].'"></span>' : '').'' . $txt[$value['text']] . '</a>';
616
+				<a class="button button_strip_' . $key . (!empty($value['active']) ? ' active' : '') . (isset($value['class']) ? ' ' . $value['class'] : '') . '" ' . (!empty($value['url']) ? 'href="' . $value['url'] . '"' : '') . ' ' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '>' . (!empty($value['icon']) ? '<span class="main_icons ' . $value['icon'] . '"></span>' : '') . '' . $txt[$value['text']] . '</a>';
617 617
 
618 618
 			if (!empty($value['sub_buttons']))
619 619
 			{
Please login to merge, or discard this patch.