Fossil SCM
Prevent a duplicate 'Logout' menu in the Eagle skin.
Commit
fb683a3e02fb8adda8f4ead6d6a5a80d9b4d23a851343b2ce8813fdd3135c295
Parent
14c92366f96b65d…
1 file changed
-5
| --- skins/eagle/header.txt | ||
| +++ skins/eagle/header.txt | ||
| @@ -103,12 +103,7 @@ | ||
| 103 | 103 | foreach {name url expr class} $mainmenu { |
| 104 | 104 | if {![capexpr $expr]} continue |
| 105 | 105 | if {[string match /* $url]} {set url $home$url} |
| 106 | 106 | html "<a href='$url' class='$class'>$name</a>\n" |
| 107 | 107 | } |
| 108 | -if {[info exists login]} { | |
| 109 | - html "<a href='$home/logout' class='desktoponly'>Logout</a>\n" | |
| 110 | -} else { | |
| 111 | - html "<a href='$home/login' class='desktoponly'>Login</a>\n" | |
| 112 | -} | |
| 113 | 108 | </th1></div> |
| 114 | 109 | <div id="hbdrop"></div> |
| 115 | 110 |
| --- skins/eagle/header.txt | |
| +++ skins/eagle/header.txt | |
| @@ -103,12 +103,7 @@ | |
| 103 | foreach {name url expr class} $mainmenu { |
| 104 | if {![capexpr $expr]} continue |
| 105 | if {[string match /* $url]} {set url $home$url} |
| 106 | html "<a href='$url' class='$class'>$name</a>\n" |
| 107 | } |
| 108 | if {[info exists login]} { |
| 109 | html "<a href='$home/logout' class='desktoponly'>Logout</a>\n" |
| 110 | } else { |
| 111 | html "<a href='$home/login' class='desktoponly'>Login</a>\n" |
| 112 | } |
| 113 | </th1></div> |
| 114 | <div id="hbdrop"></div> |
| 115 |
| --- skins/eagle/header.txt | |
| +++ skins/eagle/header.txt | |
| @@ -103,12 +103,7 @@ | |
| 103 | foreach {name url expr class} $mainmenu { |
| 104 | if {![capexpr $expr]} continue |
| 105 | if {[string match /* $url]} {set url $home$url} |
| 106 | html "<a href='$url' class='$class'>$name</a>\n" |
| 107 | } |
| 108 | </th1></div> |
| 109 | <div id="hbdrop"></div> |
| 110 |