Fossil SCM

Added cap "n" to "r" in skins that show a /ticket link in their header, since the handler for it allows the page to show for those who can only file new tickets, not just those who can see existing tickets. Also fixed some skins that were using "anoncap" to test this: it needs to work for all logged-in users, not just "anonymous".

wyoung 2019-08-27 02:16 skin-cap-matching
Commit f4e3abce268b0cddd269ad83e2f51c41ba03d11a5a249414135b00ce564d291a
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -45,11 +45,11 @@
4545
menulink /taglist Tags
4646
}
4747
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
4848
menulink /forum Forum
4949
}
50
-if {[hascap r]} {
50
+if {[anycap nr]} {
5151
menulink /ticket Tickets
5252
}
5353
if {[hascap j]} {
5454
menulink /wiki Wiki
5555
}
5656
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -45,11 +45,11 @@
45 menulink /taglist Tags
46 }
47 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
48 menulink /forum Forum
49 }
50 if {[hascap r]} {
51 menulink /ticket Tickets
52 }
53 if {[hascap j]} {
54 menulink /wiki Wiki
55 }
56
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -45,11 +45,11 @@
45 menulink /taglist Tags
46 }
47 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
48 menulink /forum Forum
49 }
50 if {[anycap nr]} {
51 menulink /ticket Tickets
52 }
53 if {[hascap j]} {
54 menulink /wiki Wiki
55 }
56
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -26,11 +26,11 @@
2626
html "<a href='$home/taglist'>Tags</a>\n"
2727
}
2828
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
2929
html "<a href='$home/forum'>Forum</a>\n"
3030
}
31
-if {[anoncap r]} {
31
+if {[anycap nr]} {
3232
html "<a href='$home/ticket'>Tickets</a>\n"
3333
}
3434
if {[anoncap j]} {
3535
html "<a href='$home/wiki'>Wiki</a>\n"
3636
}
3737
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -26,11 +26,11 @@
26 html "<a href='$home/taglist'>Tags</a>\n"
27 }
28 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29 html "<a href='$home/forum'>Forum</a>\n"
30 }
31 if {[anoncap r]} {
32 html "<a href='$home/ticket'>Tickets</a>\n"
33 }
34 if {[anoncap j]} {
35 html "<a href='$home/wiki'>Wiki</a>\n"
36 }
37
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -26,11 +26,11 @@
26 html "<a href='$home/taglist'>Tags</a>\n"
27 }
28 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29 html "<a href='$home/forum'>Forum</a>\n"
30 }
31 if {[anycap nr]} {
32 html "<a href='$home/ticket'>Tickets</a>\n"
33 }
34 if {[anoncap j]} {
35 html "<a href='$home/wiki'>Wiki</a>\n"
36 }
37
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -49,11 +49,11 @@
4949
menulink /taglist Tags
5050
}
5151
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
5252
menulink /forum Forum
5353
}
54
-if {[hascap r]} {
54
+if {[anycap nr]} {
5555
menulink /ticket Tickets
5656
}
5757
if {[hascap j]} {
5858
menulink /wiki Wiki
5959
}
6060
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -49,11 +49,11 @@
49 menulink /taglist Tags
50 }
51 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
52 menulink /forum Forum
53 }
54 if {[hascap r]} {
55 menulink /ticket Tickets
56 }
57 if {[hascap j]} {
58 menulink /wiki Wiki
59 }
60
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -49,11 +49,11 @@
49 menulink /taglist Tags
50 }
51 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
52 menulink /forum Forum
53 }
54 if {[anycap nr]} {
55 menulink /ticket Tickets
56 }
57 if {[hascap j]} {
58 menulink /wiki Wiki
59 }
60
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -46,11 +46,11 @@
4646
menulink /taglist Tags
4747
}
4848
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
4949
menulink /forum Forum
5050
}
51
-if {[hascap r]} {
51
+if {[anycap nr]} {
5252
menulink /ticket Tickets
5353
}
5454
if {[hascap j]} {
5555
menulink /wiki Wiki
5656
}
5757
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -46,11 +46,11 @@
46 menulink /taglist Tags
47 }
48 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
49 menulink /forum Forum
50 }
51 if {[hascap r]} {
52 menulink /ticket Tickets
53 }
54 if {[hascap j]} {
55 menulink /wiki Wiki
56 }
57
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -46,11 +46,11 @@
46 menulink /taglist Tags
47 }
48 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
49 menulink /forum Forum
50 }
51 if {[anycap nr]} {
52 menulink /ticket Tickets
53 }
54 if {[hascap j]} {
55 menulink /wiki Wiki
56 }
57
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -32,11 +32,11 @@
3232
menulink /taglist Tags wideonly
3333
}
3434
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
3535
menulink /forum Forum wideonly
3636
}
37
-if {[hascap r]} {
37
+if {[anycap nr]} {
3838
menulink /ticket Tickets wideonly
3939
}
4040
if {[hascap j]} {
4141
menulink /wiki Wiki wideonly
4242
}
4343
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -32,11 +32,11 @@
32 menulink /taglist Tags wideonly
33 }
34 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
35 menulink /forum Forum wideonly
36 }
37 if {[hascap r]} {
38 menulink /ticket Tickets wideonly
39 }
40 if {[hascap j]} {
41 menulink /wiki Wiki wideonly
42 }
43
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -32,11 +32,11 @@
32 menulink /taglist Tags wideonly
33 }
34 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
35 menulink /forum Forum wideonly
36 }
37 if {[anycap nr]} {
38 menulink /ticket Tickets wideonly
39 }
40 if {[hascap j]} {
41 menulink /wiki Wiki wideonly
42 }
43
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -110,11 +110,11 @@
110110
menulink /taglist Tags
111111
}
112112
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113113
menulink /forum Forum
114114
}
115
-if {[anoncap r]} {
115
+if {[anycap nr]} {
116116
menulink /ticket Tickets
117117
}
118118
if {[anoncap j]} {
119119
menulink /wiki Wiki
120120
}
121121
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -110,11 +110,11 @@
110 menulink /taglist Tags
111 }
112 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113 menulink /forum Forum
114 }
115 if {[anoncap r]} {
116 menulink /ticket Tickets
117 }
118 if {[anoncap j]} {
119 menulink /wiki Wiki
120 }
121
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -110,11 +110,11 @@
110 menulink /taglist Tags
111 }
112 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113 menulink /forum Forum
114 }
115 if {[anycap nr]} {
116 menulink /ticket Tickets
117 }
118 if {[anoncap j]} {
119 menulink /wiki Wiki
120 }
121
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -110,11 +110,11 @@
110110
menulink /taglist Tags
111111
}
112112
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113113
menulink /forum Forum
114114
}
115
-if {[anoncap r]} {
115
+if {[anycap nr]} {
116116
menulink /ticket Tickets
117117
}
118118
if {[anoncap j]} {
119119
menulink /wiki Wiki
120120
}
121121
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -110,11 +110,11 @@
110 menulink /taglist Tags
111 }
112 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113 menulink /forum Forum
114 }
115 if {[anoncap r]} {
116 menulink /ticket Tickets
117 }
118 if {[anoncap j]} {
119 menulink /wiki Wiki
120 }
121
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -110,11 +110,11 @@
110 menulink /taglist Tags
111 }
112 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113 menulink /forum Forum
114 }
115 if {[anycap nr]} {
116 menulink /ticket Tickets
117 }
118 if {[anoncap j]} {
119 menulink /wiki Wiki
120 }
121
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -24,11 +24,11 @@
2424
html "<a href='$home/taglist'>Tags</a>\n"
2525
}
2626
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
2727
html "<a href='$home/forum'>Forum</a>\n"
2828
}
29
-if {[anoncap r]} {
29
+if {[anycap nr]} {
3030
html "<a href='$home/ticket'>Tickets</a>\n"
3131
}
3232
if {[anoncap j]} {
3333
html "<a href='$home/wiki'>Wiki</a>\n"
3434
}
3535
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -24,11 +24,11 @@
24 html "<a href='$home/taglist'>Tags</a>\n"
25 }
26 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
27 html "<a href='$home/forum'>Forum</a>\n"
28 }
29 if {[anoncap r]} {
30 html "<a href='$home/ticket'>Tickets</a>\n"
31 }
32 if {[anoncap j]} {
33 html "<a href='$home/wiki'>Wiki</a>\n"
34 }
35
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -24,11 +24,11 @@
24 html "<a href='$home/taglist'>Tags</a>\n"
25 }
26 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
27 html "<a href='$home/forum'>Forum</a>\n"
28 }
29 if {[anycap nr]} {
30 html "<a href='$home/ticket'>Tickets</a>\n"
31 }
32 if {[anoncap j]} {
33 html "<a href='$home/wiki'>Wiki</a>\n"
34 }
35
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -25,11 +25,11 @@
2525
html "<a href='$home/taglist'>Tags</a>\n"
2626
}
2727
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
2828
html "<a href='$home/forum'>Forum</a>\n"
2929
}
30
-if {[anoncap r]} {
30
+if {[anycap nr]} {
3131
html "<a href='$home/ticket'>Tickets</a>\n"
3232
}
3333
if {[anoncap j]} {
3434
html "<a href='$home/wiki'>Wiki</a>\n"
3535
}
3636
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -25,11 +25,11 @@
25 html "<a href='$home/taglist'>Tags</a>\n"
26 }
27 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
28 html "<a href='$home/forum'>Forum</a>\n"
29 }
30 if {[anoncap r]} {
31 html "<a href='$home/ticket'>Tickets</a>\n"
32 }
33 if {[anoncap j]} {
34 html "<a href='$home/wiki'>Wiki</a>\n"
35 }
36
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -25,11 +25,11 @@
25 html "<a href='$home/taglist'>Tags</a>\n"
26 }
27 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
28 html "<a href='$home/forum'>Forum</a>\n"
29 }
30 if {[anycap nr]} {
31 html "<a href='$home/ticket'>Tickets</a>\n"
32 }
33 if {[anoncap j]} {
34 html "<a href='$home/wiki'>Wiki</a>\n"
35 }
36
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -22,11 +22,11 @@
2222
html "<a href='$home/taglist'>Tags</a>\n"
2323
}
2424
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
2525
html "<a href='$home/forum'>Forum</a>\n"
2626
}
27
-if {[anoncap r]} {
27
+if {[anycap nr]} {
2828
html "<a href='$home/ticket'>Tickets</a>\n"
2929
}
3030
if {[anoncap j]} {
3131
html "<a href='$home/wiki'>Wiki</a>\n"
3232
}
3333
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -22,11 +22,11 @@
22 html "<a href='$home/taglist'>Tags</a>\n"
23 }
24 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
25 html "<a href='$home/forum'>Forum</a>\n"
26 }
27 if {[anoncap r]} {
28 html "<a href='$home/ticket'>Tickets</a>\n"
29 }
30 if {[anoncap j]} {
31 html "<a href='$home/wiki'>Wiki</a>\n"
32 }
33
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -22,11 +22,11 @@
22 html "<a href='$home/taglist'>Tags</a>\n"
23 }
24 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
25 html "<a href='$home/forum'>Forum</a>\n"
26 }
27 if {[anycap nr]} {
28 html "<a href='$home/ticket'>Tickets</a>\n"
29 }
30 if {[anoncap j]} {
31 html "<a href='$home/wiki'>Wiki</a>\n"
32 }
33
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -26,11 +26,11 @@
2626
html "<a href='$home/taglist'>Tags</a>\n"
2727
}
2828
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
2929
html "<a href='$home/forum'>Forum</a>\n"
3030
}
31
-if {[anoncap r]} {
31
+if {[anycap nr]} {
3232
html "<a href='$home/ticket'>Tickets</a>\n"
3333
}
3434
if {[anoncap j]} {
3535
html "<a href='$home/wiki'>Wiki</a>\n"
3636
}
3737
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -26,11 +26,11 @@
26 html "<a href='$home/taglist'>Tags</a>\n"
27 }
28 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29 html "<a href='$home/forum'>Forum</a>\n"
30 }
31 if {[anoncap r]} {
32 html "<a href='$home/ticket'>Tickets</a>\n"
33 }
34 if {[anoncap j]} {
35 html "<a href='$home/wiki'>Wiki</a>\n"
36 }
37
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -26,11 +26,11 @@
26 html "<a href='$home/taglist'>Tags</a>\n"
27 }
28 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29 html "<a href='$home/forum'>Forum</a>\n"
30 }
31 if {[anycap nr]} {
32 html "<a href='$home/ticket'>Tickets</a>\n"
33 }
34 if {[anoncap j]} {
35 html "<a href='$home/wiki'>Wiki</a>\n"
36 }
37
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -114,11 +114,11 @@
114114
menulink /taglist Tags
115115
}
116116
if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
117117
menulink /forum Forum
118118
}
119
-if {[anoncap r]} {
119
+if {[anycap nr]} {
120120
menulink /ticket Tickets
121121
}
122122
if {[anoncap j]} {
123123
menulink /wiki Wiki
124124
}
125125
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -114,11 +114,11 @@
114 menulink /taglist Tags
115 }
116 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
117 menulink /forum Forum
118 }
119 if {[anoncap r]} {
120 menulink /ticket Tickets
121 }
122 if {[anoncap j]} {
123 menulink /wiki Wiki
124 }
125
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -114,11 +114,11 @@
114 menulink /taglist Tags
115 }
116 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
117 menulink /forum Forum
118 }
119 if {[anycap nr]} {
120 menulink /ticket Tickets
121 }
122 if {[anoncap j]} {
123 menulink /wiki Wiki
124 }
125

Keyboard Shortcuts

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