diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-12-12 13:10:58 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-12-12 13:10:58 +0000 |
| commit | 8e95bded8d117b69f41229d811253b801bc768a4 (patch) | |
| tree | c3df345965fab1719a269c8ea07dd12def2697c0 /library/WT/Menu.php | |
| parent | c499fc2273b71f1df37c3f09c7e87c45e65ebf2d (diff) | |
| download | webtrees-8e95bded8d117b69f41229d811253b801bc768a4.tar.gz webtrees-8e95bded8d117b69f41229d811253b801bc768a4.tar.bz2 webtrees-8e95bded8d117b69f41229d811253b801bc768a4.zip | |
HTML validation - use html5-style for self-closing tags, instead of xhtml-style
Diffstat (limited to 'library/WT/Menu.php')
| -rw-r--r-- | library/WT/Menu.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/WT/Menu.php b/library/WT/Menu.php index c60de6eae8..8fc3e17afe 100644 --- a/library/WT/Menu.php +++ b/library/WT/Menu.php @@ -209,7 +209,7 @@ class WT_Menu { $link .= "\">"; if ($this->icon !== null) { $tempTitle = str_replace("\"", '', $this->label); - $MenuIcon = "<img id=\"menu{$id}_icon\" src=\"{$this->icon}\" class=\"icon\" alt=\"{$tempTitle}\" title=\"{$tempTitle}\" />"; + $MenuIcon = "<img id=\"menu{$id}_icon\" src=\"{$this->icon}\" class=\"icon\" alt=\"{$tempTitle}\" title=\"{$tempTitle}\">"; switch ($this->labelpos) { case "right": $output .= $link; @@ -226,14 +226,14 @@ class WT_Menu { case "down": $output .= $link; $output .= $MenuIcon; - $output .= "<br />"; + $output .= "<br>"; $output .= $this->label; $output .= "</a>"; break; case "up": $output .= $link; $output .= $this->label; - $output .= "<br />"; + $output .= "<br>"; $output .= $MenuIcon; $output .= "</a>"; break; |
