Fossil with Commonmark

Check-in [b2852d41ad]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Adjust the header generator for the etienne1 skin so that it takes into account query parameters on menu URLs when deciding if a menu element is active.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b2852d41ad25fff31bbc321c925f5c3c6d5d859f
User & Date: drh 2015-02-16 04:30:19
Context
2015-02-16
11:33
Fix for ticket display CSS in the etienne1 skin. check-in: 47bb6432a1 user: drh tags: trunk
10:18
Merge trunk. Fix compiler warning on VS. check-in: ca336d2a9b user: jan.nijtmans tags: svn-import
04:30
Adjust the header generator for the etienne1 skin so that it takes into account query parameters on menu URLs when deciding if a menu element is active. check-in: b2852d41ad user: drh tags: trunk
04:16
Fix the submenu shimmer and alignment problems in the etienne1 skin. check-in: ff10ea6385 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to skins/etienne1/header.txt.

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
    </div>

    <div class="mainmenu">
<th1>
proc menulink {url name} {
  upvar current_page current
  upvar home home
  if {$url eq "/$current"} {
    html "<a href='$home$url' class='active'>$name</a>\n"
  } else {
    html "<a href='$home$url'>$name</a>\n"
  }
}
menulink $index_page Home
if {[anycap jor]} {







|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
    </div>

    <div class="mainmenu">
<th1>
proc menulink {url name} {
  upvar current_page current
  upvar home home
  if {[string range $url 0 [string length $current]] eq "/$current"} {
    html "<a href='$home$url' class='active'>$name</a>\n"
  } else {
    html "<a href='$home$url'>$name</a>\n"
  }
}
menulink $index_page Home
if {[anycap jor]} {