Fossil SCM

Changed all of the [anycap jor] TH1 calls in the stock skins wrapping the generation of that skin's /timeline and /timeline.rss links to [anycap ijr2] to match the user caps the timeline HTTP hit handler actually checks for in the C code. This is a branch in part because it needs review, but also it's the start of a broader effort to check the other cap checks in the skins to make sure they a) match what the C code checks for; and b) match each other.

wyoung 2019-08-27 00:07 trunk
Commit 9cee8cf5c4c0ed7aae012fbe908ce4c171d000208213f310c8648e83cda801dc
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -10,11 +10,11 @@
1010
</th1>
1111
</div>
1212
<div class='title'>
1313
<h1>$<project_name>
1414
<th1>
15
- if {[anycap jor]} {
15
+ if {[anycap ijr2]} {
1616
html "<a class='rss' href='$home/timeline.rss'></a>"
1717
}
1818
</th1>
1919
<small> &nbsp;$<title></small></h1>
2020
</div>
@@ -32,11 +32,11 @@
3232
html "<li>"
3333
}
3434
html "<a href='$home$url'>$name</a></li>\n"
3535
}
3636
menulink $index_page Home
37
-if {[anycap jor]} {
37
+if {[anycap ijr2]} {
3838
menulink /timeline Timeline
3939
}
4040
if {[hascap oh]} {
4141
menulink /dir?ci=tip Files
4242
}
4343
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -10,11 +10,11 @@
10 </th1>
11 </div>
12 <div class='title'>
13 <h1>$<project_name>
14 <th1>
15 if {[anycap jor]} {
16 html "<a class='rss' href='$home/timeline.rss'></a>"
17 }
18 </th1>
19 <small> &nbsp;$<title></small></h1>
20 </div>
@@ -32,11 +32,11 @@
32 html "<li>"
33 }
34 html "<a href='$home$url'>$name</a></li>\n"
35 }
36 menulink $index_page Home
37 if {[anycap jor]} {
38 menulink /timeline Timeline
39 }
40 if {[hascap oh]} {
41 menulink /dir?ci=tip Files
42 }
43
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -10,11 +10,11 @@
10 </th1>
11 </div>
12 <div class='title'>
13 <h1>$<project_name>
14 <th1>
15 if {[anycap ijr2]} {
16 html "<a class='rss' href='$home/timeline.rss'></a>"
17 }
18 </th1>
19 <small> &nbsp;$<title></small></h1>
20 </div>
@@ -32,11 +32,11 @@
32 html "<li>"
33 }
34 html "<a href='$home$url'>$name</a></li>\n"
35 }
36 menulink $index_page Home
37 if {[anycap ijr2]} {
38 menulink /timeline Timeline
39 }
40 if {[hascap oh]} {
41 menulink /dir?ci=tip Files
42 }
43
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -13,11 +13,11 @@
1313
</th1></div>
1414
</div>
1515
<div class="mainmenu">
1616
<th1>
1717
html "<a href='$home$index_page'>Home</a>\n"
18
-if {[anycap jor]} {
18
+if {[anycap ijr2]} {
1919
html "<a href='$home/timeline'>Timeline</a>\n"
2020
}
2121
if {[anoncap oh]} {
2222
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2323
}
2424
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -13,11 +13,11 @@
13 </th1></div>
14 </div>
15 <div class="mainmenu">
16 <th1>
17 html "<a href='$home$index_page'>Home</a>\n"
18 if {[anycap jor]} {
19 html "<a href='$home/timeline'>Timeline</a>\n"
20 }
21 if {[anoncap oh]} {
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -13,11 +13,11 @@
13 </th1></div>
14 </div>
15 <div class="mainmenu">
16 <th1>
17 html "<a href='$home$index_page'>Home</a>\n"
18 if {[anycap ijr2]} {
19 html "<a href='$home/timeline'>Timeline</a>\n"
20 }
21 if {[anoncap oh]} {
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -15,11 +15,11 @@
1515
</div>
1616
</div>
1717
<div class='logo'>
1818
<img src='$logo_image_url' />
1919
<th1>
20
- if {[anycap jor]} {
20
+ if {[anycap ijr2]} {
2121
html "<a class='rss' href='$home/timeline.rss'></a>"
2222
}
2323
</th1>
2424
</div>
2525
@@ -36,11 +36,11 @@
3636
html "<li>"
3737
}
3838
html "<a href='$home$url'>$name</a></li>\n"
3939
}
4040
menulink $index_page Home
41
-if {[anycap jor]} {
41
+if {[anycap ijr2]} {
4242
menulink /timeline Timeline
4343
}
4444
if {[hascap oh]} {
4545
menulink /dir?ci=tip Files
4646
}
4747
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -15,11 +15,11 @@
15 </div>
16 </div>
17 <div class='logo'>
18 <img src='$logo_image_url' />
19 <th1>
20 if {[anycap jor]} {
21 html "<a class='rss' href='$home/timeline.rss'></a>"
22 }
23 </th1>
24 </div>
25
@@ -36,11 +36,11 @@
36 html "<li>"
37 }
38 html "<a href='$home$url'>$name</a></li>\n"
39 }
40 menulink $index_page Home
41 if {[anycap jor]} {
42 menulink /timeline Timeline
43 }
44 if {[hascap oh]} {
45 menulink /dir?ci=tip Files
46 }
47
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -15,11 +15,11 @@
15 </div>
16 </div>
17 <div class='logo'>
18 <img src='$logo_image_url' />
19 <th1>
20 if {[anycap ijr2]} {
21 html "<a class='rss' href='$home/timeline.rss'></a>"
22 }
23 </th1>
24 </div>
25
@@ -36,11 +36,11 @@
36 html "<li>"
37 }
38 html "<a href='$home$url'>$name</a></li>\n"
39 }
40 menulink $index_page Home
41 if {[anycap ijr2]} {
42 menulink /timeline Timeline
43 }
44 if {[hascap oh]} {
45 menulink /dir?ci=tip Files
46 }
47
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -11,11 +11,11 @@
1111
</th1>
1212
</div>
1313
<div class='title'>
1414
<h1>$<project_name>
1515
<th1>
16
- if {[anycap jor]} {
16
+ if {[anycap ijr2]} {
1717
html "<a class='rss' href='$home/timeline.rss'></a>"
1818
}
1919
</th1>
2020
<small> &nbsp;$<title></small></h1>
2121
</div>
@@ -33,11 +33,11 @@
3333
html "<li>"
3434
}
3535
html "<a href='$home$url'>$name</a></li>\n"
3636
}
3737
menulink $index_page Home
38
-if {[anycap jor]} {
38
+if {[anycap ijr2]} {
3939
menulink /timeline Timeline
4040
}
4141
if {[hascap oh]} {
4242
menulink /dir?ci=tip Files
4343
}
4444
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -11,11 +11,11 @@
11 </th1>
12 </div>
13 <div class='title'>
14 <h1>$<project_name>
15 <th1>
16 if {[anycap jor]} {
17 html "<a class='rss' href='$home/timeline.rss'></a>"
18 }
19 </th1>
20 <small> &nbsp;$<title></small></h1>
21 </div>
@@ -33,11 +33,11 @@
33 html "<li>"
34 }
35 html "<a href='$home$url'>$name</a></li>\n"
36 }
37 menulink $index_page Home
38 if {[anycap jor]} {
39 menulink /timeline Timeline
40 }
41 if {[hascap oh]} {
42 menulink /dir?ci=tip Files
43 }
44
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -11,11 +11,11 @@
11 </th1>
12 </div>
13 <div class='title'>
14 <h1>$<project_name>
15 <th1>
16 if {[anycap ijr2]} {
17 html "<a class='rss' href='$home/timeline.rss'></a>"
18 }
19 </th1>
20 <small> &nbsp;$<title></small></h1>
21 </div>
@@ -33,11 +33,11 @@
33 html "<li>"
34 }
35 html "<a href='$home$url'>$name</a></li>\n"
36 }
37 menulink $index_page Home
38 if {[anycap ijr2]} {
39 menulink /timeline Timeline
40 }
41 if {[hascap oh]} {
42 menulink /dir?ci=tip Files
43 }
44
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -53,11 +53,11 @@
5353
html "<li class='active'><a href='$home/wiki'>Wiki</a></li>\n"
5454
} else {
5555
html "<li><a href='$home/wiki'>Wiki</a></li>\n"
5656
}
5757
}
58
- if {[anycap jor]} {
58
+ if {[anycap ijr2]} {
5959
if {[string compare $current_page "timeline"] == 0} {
6060
html "<li class='active'><a href='$home/timeline'>Timeline</a></li>\n"
6161
} else {
6262
html "<li><a href='$home/timeline'>Timeline</a></li>\n"
6363
}
6464
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -53,11 +53,11 @@
53 html "<li class='active'><a href='$home/wiki'>Wiki</a></li>\n"
54 } else {
55 html "<li><a href='$home/wiki'>Wiki</a></li>\n"
56 }
57 }
58 if {[anycap jor]} {
59 if {[string compare $current_page "timeline"] == 0} {
60 html "<li class='active'><a href='$home/timeline'>Timeline</a></li>\n"
61 } else {
62 html "<li><a href='$home/timeline'>Timeline</a></li>\n"
63 }
64
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -53,11 +53,11 @@
53 html "<li class='active'><a href='$home/wiki'>Wiki</a></li>\n"
54 } else {
55 html "<li><a href='$home/wiki'>Wiki</a></li>\n"
56 }
57 }
58 if {[anycap ijr2]} {
59 if {[string compare $current_page "timeline"] == 0} {
60 html "<li class='active'><a href='$home/timeline'>Timeline</a></li>\n"
61 } else {
62 html "<li><a href='$home/timeline'>Timeline</a></li>\n"
63 }
64
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -19,11 +19,11 @@
1919
html "<a href='$home$url' class='$cls'>$name</a>\n"
2020
}
2121
}
2222
html "<a id='hbbtn' href='#'>&#9776;</a>"
2323
menulink $index_page Home {}
24
-if {[anycap jor]} {
24
+if {[anycap ijr2]} {
2525
menulink /timeline Timeline {}
2626
}
2727
if {[hascap oh]} {
2828
menulink /dir?ci=tip Files desktoponly
2929
}
3030
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -19,11 +19,11 @@
19 html "<a href='$home$url' class='$cls'>$name</a>\n"
20 }
21 }
22 html "<a id='hbbtn' href='#'>&#9776;</a>"
23 menulink $index_page Home {}
24 if {[anycap jor]} {
25 menulink /timeline Timeline {}
26 }
27 if {[hascap oh]} {
28 menulink /dir?ci=tip Files desktoponly
29 }
30
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -19,11 +19,11 @@
19 html "<a href='$home$url' class='$cls'>$name</a>\n"
20 }
21 }
22 html "<a id='hbbtn' href='#'>&#9776;</a>"
23 menulink $index_page Home {}
24 if {[anycap ijr2]} {
25 menulink /timeline Timeline {}
26 }
27 if {[hascap oh]} {
28 menulink /dir?ci=tip Files desktoponly
29 }
30
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -97,11 +97,11 @@
9797
upvar home home
9898
html "<a href='$home$url'>$name</a>\n"
9999
}
100100
menulink $index_page Home
101101
menulink /help Help
102
-if {[anycap jor]} {
102
+if {[anycap ijr2]} {
103103
menulink /timeline Timeline
104104
}
105105
if {[anoncap oh]} {
106106
menulink /dir?ci=tip Files
107107
}
108108
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -97,11 +97,11 @@
97 upvar home home
98 html "<a href='$home$url'>$name</a>\n"
99 }
100 menulink $index_page Home
101 menulink /help Help
102 if {[anycap jor]} {
103 menulink /timeline Timeline
104 }
105 if {[anoncap oh]} {
106 menulink /dir?ci=tip Files
107 }
108
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -97,11 +97,11 @@
97 upvar home home
98 html "<a href='$home$url'>$name</a>\n"
99 }
100 menulink $index_page Home
101 menulink /help Help
102 if {[anycap ijr2]} {
103 menulink /timeline Timeline
104 }
105 if {[anoncap oh]} {
106 menulink /dir?ci=tip Files
107 }
108
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -97,11 +97,11 @@
9797
upvar home home
9898
html "<a href='$home$url'>$name</a>\n"
9999
}
100100
menulink $index_page Home
101101
menulink /help Help
102
-if {[anycap jor]} {
102
+if {[anycap ijr2]} {
103103
menulink /timeline Timeline
104104
}
105105
if {[anoncap oh]} {
106106
menulink /dir?ci=tip Files
107107
}
108108
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -97,11 +97,11 @@
97 upvar home home
98 html "<a href='$home$url'>$name</a>\n"
99 }
100 menulink $index_page Home
101 menulink /help Help
102 if {[anycap jor]} {
103 menulink /timeline Timeline
104 }
105 if {[anoncap oh]} {
106 menulink /dir?ci=tip Files
107 }
108
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -97,11 +97,11 @@
97 upvar home home
98 html "<a href='$home$url'>$name</a>\n"
99 }
100 menulink $index_page Home
101 menulink /help Help
102 if {[anycap ijr2]} {
103 menulink /timeline Timeline
104 }
105 if {[anoncap oh]} {
106 menulink /dir?ci=tip Files
107 }
108
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -11,11 +11,11 @@
1111
</th1></div>
1212
</div>
1313
<div class="mainmenu">
1414
<th1>
1515
html "<a href='$home$index_page'>Home</a>\n"
16
-if {[anycap jor]} {
16
+if {[anycap ijr2]} {
1717
html "<a href='$home/timeline'>Timeline</a>\n"
1818
}
1919
if {[anoncap oh]} {
2020
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2121
}
2222
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -11,11 +11,11 @@
11 </th1></div>
12 </div>
13 <div class="mainmenu">
14 <th1>
15 html "<a href='$home$index_page'>Home</a>\n"
16 if {[anycap jor]} {
17 html "<a href='$home/timeline'>Timeline</a>\n"
18 }
19 if {[anoncap oh]} {
20 html "<a href='$home/tree?ci=tip'>Files</a>\n"
21 }
22
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -11,11 +11,11 @@
11 </th1></div>
12 </div>
13 <div class="mainmenu">
14 <th1>
15 html "<a href='$home$index_page'>Home</a>\n"
16 if {[anycap ijr2]} {
17 html "<a href='$home/timeline'>Timeline</a>\n"
18 }
19 if {[anoncap oh]} {
20 html "<a href='$home/tree?ci=tip'>Files</a>\n"
21 }
22
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -12,11 +12,11 @@
1212
</th1></div>
1313
</div>
1414
<div class="mainmenu">
1515
<th1>
1616
html "<a href='$home$index_page'>Home</a>\n"
17
-if {[anycap jor]} {
17
+if {[anycap ijr2]} {
1818
html "<a href='$home/timeline'>Timeline</a>\n"
1919
}
2020
if {[anoncap oh]} {
2121
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2222
}
2323
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -12,11 +12,11 @@
12 </th1></div>
13 </div>
14 <div class="mainmenu">
15 <th1>
16 html "<a href='$home$index_page'>Home</a>\n"
17 if {[anycap jor]} {
18 html "<a href='$home/timeline'>Timeline</a>\n"
19 }
20 if {[anoncap oh]} {
21 html "<a href='$home/tree?ci=tip'>Files</a>\n"
22 }
23
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -12,11 +12,11 @@
12 </th1></div>
13 </div>
14 <div class="mainmenu">
15 <th1>
16 html "<a href='$home$index_page'>Home</a>\n"
17 if {[anycap ijr2]} {
18 html "<a href='$home/timeline'>Timeline</a>\n"
19 }
20 if {[anoncap oh]} {
21 html "<a href='$home/tree?ci=tip'>Files</a>\n"
22 }
23
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -9,11 +9,11 @@
99
</th1></div>
1010
</div>
1111
<div class="mainmenu">
1212
<th1>
1313
html "<a href='$home$index_page'>Home</a>\n"
14
-if {[anycap jor]} {
14
+if {[anycap ijr2]} {
1515
html "<a href='$home/timeline'>Timeline</a>\n"
1616
}
1717
if {[anoncap oh]} {
1818
html "<a href='$home/tree?ci=tip'>Files</a>\n"
1919
}
2020
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -9,11 +9,11 @@
9 </th1></div>
10 </div>
11 <div class="mainmenu">
12 <th1>
13 html "<a href='$home$index_page'>Home</a>\n"
14 if {[anycap jor]} {
15 html "<a href='$home/timeline'>Timeline</a>\n"
16 }
17 if {[anoncap oh]} {
18 html "<a href='$home/tree?ci=tip'>Files</a>\n"
19 }
20
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -9,11 +9,11 @@
9 </th1></div>
10 </div>
11 <div class="mainmenu">
12 <th1>
13 html "<a href='$home$index_page'>Home</a>\n"
14 if {[anycap ijr2]} {
15 html "<a href='$home/timeline'>Timeline</a>\n"
16 }
17 if {[anoncap oh]} {
18 html "<a href='$home/tree?ci=tip'>Files</a>\n"
19 }
20
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -13,11 +13,11 @@
1313
</th1></div>
1414
</div>
1515
<div class="mainmenu">
1616
<th1>
1717
html "<a href='$home$index_page'>Home</a>\n"
18
-if {[anycap jor]} {
18
+if {[anycap ijr2]} {
1919
html "<a href='$home/timeline'>Timeline</a>\n"
2020
}
2121
if {[anoncap oh]} {
2222
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2323
}
2424
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -13,11 +13,11 @@
13 </th1></div>
14 </div>
15 <div class="mainmenu">
16 <th1>
17 html "<a href='$home$index_page'>Home</a>\n"
18 if {[anycap jor]} {
19 html "<a href='$home/timeline'>Timeline</a>\n"
20 }
21 if {[anoncap oh]} {
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -13,11 +13,11 @@
13 </th1></div>
14 </div>
15 <div class="mainmenu">
16 <th1>
17 html "<a href='$home$index_page'>Home</a>\n"
18 if {[anycap ijr2]} {
19 html "<a href='$home/timeline'>Timeline</a>\n"
20 }
21 if {[anoncap oh]} {
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -101,11 +101,11 @@
101101
} else {
102102
html "<a href='$home$url'>$name</a>\n"
103103
}
104104
}
105105
menulink $index_page Home
106
-if {[anycap jor]} {
106
+if {[anycap ijr2]} {
107107
menulink /timeline Timeline
108108
}
109109
if {[anoncap oh]} {
110110
menulink /dir?ci=tip Files
111111
}
112112
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -101,11 +101,11 @@
101 } else {
102 html "<a href='$home$url'>$name</a>\n"
103 }
104 }
105 menulink $index_page Home
106 if {[anycap jor]} {
107 menulink /timeline Timeline
108 }
109 if {[anoncap oh]} {
110 menulink /dir?ci=tip Files
111 }
112
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -101,11 +101,11 @@
101 } else {
102 html "<a href='$home$url'>$name</a>\n"
103 }
104 }
105 menulink $index_page Home
106 if {[anycap ijr2]} {
107 menulink /timeline Timeline
108 }
109 if {[anoncap oh]} {
110 menulink /dir?ci=tip Files
111 }
112

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button