Browse Source

* Don't add an empty class attribute to menu items.

Signed-off-by: Aaron van Geffen <aaron@aaronweb.net>
Aaron van Geffen 11 years ago
parent
commit
744f8318b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Themes/default/index.template.php

+ 1 - 1
Themes/default/index.template.php

@@ -462,7 +462,7 @@ function template_menu()
 	{
 		echo '
 						<li id="button_', $act, '"', !empty($button['sub_buttons']) ? ' class="subsections"' :'', '>
-							<a class="', $button['active_button'] ? 'active' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
+							<a', $button['active_button'] ? ' class="active"' : '', ' href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
 								', $button['title'], '
 							</a>';
 		if (!empty($button['sub_buttons']))