Fossil SCM
Merge enhancements from trunk.
Commit
17b9ecbea6dc58d912e8612570e63d976150f873b8c934886a9922c45f045a6b
Parent
89c40851f08a77e…
16 files changed
+3
+3
+3
+3
+7
+3
+3
+3
+3
+3
+3
+3
+3
+1
+1
-1
+6
~
skins/ardoise/header.txt
~
skins/black_and_white/header.txt
~
skins/blitz/header.txt
~
skins/blitz_no_logo/header.txt
~
skins/bootstrap/header.txt
~
skins/default/header.txt
~
skins/eagle/header.txt
~
skins/enhanced1/header.txt
~
skins/khaki/header.txt
~
skins/original/header.txt
~
skins/plain_gray/header.txt
~
skins/rounded1/header.txt
~
skins/xekri/header.txt
~
src/backoffice.c
~
src/forum.c
~
src/main.c
| --- skins/ardoise/header.txt | ||
| +++ skins/ardoise/header.txt | ||
| @@ -41,10 +41,13 @@ | ||
| 41 | 41 | menulink /dir?ci=tip Files |
| 42 | 42 | } |
| 43 | 43 | if {[hascap o]} { |
| 44 | 44 | menulink /brlist Branches |
| 45 | 45 | menulink /taglist Tags |
| 46 | +} | |
| 47 | +if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 48 | + menulink /forum Forum | |
| 46 | 49 | } |
| 47 | 50 | if {[hascap r]} { |
| 48 | 51 | menulink /ticket Tickets |
| 49 | 52 | } |
| 50 | 53 | if {[hascap j]} { |
| 51 | 54 |
| --- skins/ardoise/header.txt | |
| +++ skins/ardoise/header.txt | |
| @@ -41,10 +41,13 @@ | |
| 41 | menulink /dir?ci=tip Files |
| 42 | } |
| 43 | if {[hascap o]} { |
| 44 | menulink /brlist Branches |
| 45 | menulink /taglist Tags |
| 46 | } |
| 47 | if {[hascap r]} { |
| 48 | menulink /ticket Tickets |
| 49 | } |
| 50 | if {[hascap j]} { |
| 51 |
| --- skins/ardoise/header.txt | |
| +++ skins/ardoise/header.txt | |
| @@ -41,10 +41,13 @@ | |
| 41 | menulink /dir?ci=tip Files |
| 42 | } |
| 43 | if {[hascap o]} { |
| 44 | menulink /brlist Branches |
| 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 |
| --- skins/black_and_white/header.txt | ||
| +++ skins/black_and_white/header.txt | ||
| @@ -22,10 +22,13 @@ | ||
| 22 | 22 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 23 | 23 | } |
| 24 | 24 | if {[anoncap o]} { |
| 25 | 25 | html "<a href='$home/brlist'>Branches</a>\n" |
| 26 | 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" | |
| 27 | 30 | } |
| 28 | 31 | if {[anoncap r]} { |
| 29 | 32 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 30 | 33 | } |
| 31 | 34 | if {[anoncap j]} { |
| 32 | 35 |
| --- skins/black_and_white/header.txt | |
| +++ skins/black_and_white/header.txt | |
| @@ -22,10 +22,13 @@ | |
| 22 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 23 | } |
| 24 | if {[anoncap o]} { |
| 25 | html "<a href='$home/brlist'>Branches</a>\n" |
| 26 | html "<a href='$home/taglist'>Tags</a>\n" |
| 27 | } |
| 28 | if {[anoncap r]} { |
| 29 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 30 | } |
| 31 | if {[anoncap j]} { |
| 32 |
| --- skins/black_and_white/header.txt | |
| +++ skins/black_and_white/header.txt | |
| @@ -22,10 +22,13 @@ | |
| 22 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 23 | } |
| 24 | if {[anoncap o]} { |
| 25 | html "<a href='$home/brlist'>Branches</a>\n" |
| 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 |
| --- skins/blitz/header.txt | ||
| +++ skins/blitz/header.txt | ||
| @@ -45,10 +45,13 @@ | ||
| 45 | 45 | menulink /dir?ci=tip Files |
| 46 | 46 | } |
| 47 | 47 | if {[hascap o]} { |
| 48 | 48 | menulink /brlist Branches |
| 49 | 49 | menulink /taglist Tags |
| 50 | +} | |
| 51 | +if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 52 | + menulink /forum Forum | |
| 50 | 53 | } |
| 51 | 54 | if {[hascap r]} { |
| 52 | 55 | menulink /ticket Tickets |
| 53 | 56 | } |
| 54 | 57 | if {[hascap j]} { |
| 55 | 58 |
| --- skins/blitz/header.txt | |
| +++ skins/blitz/header.txt | |
| @@ -45,10 +45,13 @@ | |
| 45 | menulink /dir?ci=tip Files |
| 46 | } |
| 47 | if {[hascap o]} { |
| 48 | menulink /brlist Branches |
| 49 | menulink /taglist Tags |
| 50 | } |
| 51 | if {[hascap r]} { |
| 52 | menulink /ticket Tickets |
| 53 | } |
| 54 | if {[hascap j]} { |
| 55 |
| --- skins/blitz/header.txt | |
| +++ skins/blitz/header.txt | |
| @@ -45,10 +45,13 @@ | |
| 45 | menulink /dir?ci=tip Files |
| 46 | } |
| 47 | if {[hascap o]} { |
| 48 | menulink /brlist Branches |
| 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 |
| --- skins/blitz_no_logo/header.txt | ||
| +++ skins/blitz_no_logo/header.txt | ||
| @@ -42,10 +42,13 @@ | ||
| 42 | 42 | menulink /dir?ci=tip Files |
| 43 | 43 | } |
| 44 | 44 | if {[hascap o]} { |
| 45 | 45 | menulink /brlist Branches |
| 46 | 46 | menulink /taglist Tags |
| 47 | +} | |
| 48 | +if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 49 | + menulink /forum Forum | |
| 47 | 50 | } |
| 48 | 51 | if {[hascap r]} { |
| 49 | 52 | menulink /ticket Tickets |
| 50 | 53 | } |
| 51 | 54 | if {[hascap j]} { |
| 52 | 55 |
| --- skins/blitz_no_logo/header.txt | |
| +++ skins/blitz_no_logo/header.txt | |
| @@ -42,10 +42,13 @@ | |
| 42 | menulink /dir?ci=tip Files |
| 43 | } |
| 44 | if {[hascap o]} { |
| 45 | menulink /brlist Branches |
| 46 | menulink /taglist Tags |
| 47 | } |
| 48 | if {[hascap r]} { |
| 49 | menulink /ticket Tickets |
| 50 | } |
| 51 | if {[hascap j]} { |
| 52 |
| --- skins/blitz_no_logo/header.txt | |
| +++ skins/blitz_no_logo/header.txt | |
| @@ -42,10 +42,13 @@ | |
| 42 | menulink /dir?ci=tip Files |
| 43 | } |
| 44 | if {[hascap o]} { |
| 45 | menulink /brlist Branches |
| 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 |
| --- skins/bootstrap/header.txt | ||
| +++ skins/bootstrap/header.txt | ||
| @@ -77,10 +77,17 @@ | ||
| 77 | 77 | if {[string compare $current_page "taglist"] == 0} { |
| 78 | 78 | html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n" |
| 79 | 79 | } else { |
| 80 | 80 | html "<li><a href='$home/taglist'>Tags</a></li>\n" |
| 81 | 81 | } |
| 82 | + } | |
| 83 | + if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 84 | + if {[string compare $current_page "forum"] == 0} { | |
| 85 | + html "<li class='active'><a href='$home/forum'>Forum</a></li>\n" | |
| 86 | + } else { | |
| 87 | + html "<li><a href='$home/forum'>Forum</a></li>\n" | |
| 88 | + } | |
| 82 | 89 | } |
| 83 | 90 | if {[hascap r]} { |
| 84 | 91 | if {[string compare $current_page "reportlist"] == 0} { |
| 85 | 92 | html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n" |
| 86 | 93 | } else { |
| 87 | 94 |
| --- skins/bootstrap/header.txt | |
| +++ skins/bootstrap/header.txt | |
| @@ -77,10 +77,17 @@ | |
| 77 | if {[string compare $current_page "taglist"] == 0} { |
| 78 | html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n" |
| 79 | } else { |
| 80 | html "<li><a href='$home/taglist'>Tags</a></li>\n" |
| 81 | } |
| 82 | } |
| 83 | if {[hascap r]} { |
| 84 | if {[string compare $current_page "reportlist"] == 0} { |
| 85 | html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n" |
| 86 | } else { |
| 87 |
| --- skins/bootstrap/header.txt | |
| +++ skins/bootstrap/header.txt | |
| @@ -77,10 +77,17 @@ | |
| 77 | if {[string compare $current_page "taglist"] == 0} { |
| 78 | html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n" |
| 79 | } else { |
| 80 | html "<li><a href='$home/taglist'>Tags</a></li>\n" |
| 81 | } |
| 82 | } |
| 83 | if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { |
| 84 | if {[string compare $current_page "forum"] == 0} { |
| 85 | html "<li class='active'><a href='$home/forum'>Forum</a></li>\n" |
| 86 | } else { |
| 87 | html "<li><a href='$home/forum'>Forum</a></li>\n" |
| 88 | } |
| 89 | } |
| 90 | if {[hascap r]} { |
| 91 | if {[string compare $current_page "reportlist"] == 0} { |
| 92 | html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n" |
| 93 | } else { |
| 94 |
| --- skins/default/header.txt | ||
| +++ skins/default/header.txt | ||
| @@ -27,10 +27,13 @@ | ||
| 27 | 27 | menulink /dir?ci=tip Files |
| 28 | 28 | } |
| 29 | 29 | if {[hascap o]} { |
| 30 | 30 | menulink /brlist Branches |
| 31 | 31 | menulink /taglist Tags |
| 32 | +} | |
| 33 | +if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 34 | + menulink /forum Forum | |
| 32 | 35 | } |
| 33 | 36 | if {[hascap r]} { |
| 34 | 37 | menulink /ticket Tickets |
| 35 | 38 | } |
| 36 | 39 | if {[hascap j]} { |
| 37 | 40 |
| --- skins/default/header.txt | |
| +++ skins/default/header.txt | |
| @@ -27,10 +27,13 @@ | |
| 27 | menulink /dir?ci=tip Files |
| 28 | } |
| 29 | if {[hascap o]} { |
| 30 | menulink /brlist Branches |
| 31 | menulink /taglist Tags |
| 32 | } |
| 33 | if {[hascap r]} { |
| 34 | menulink /ticket Tickets |
| 35 | } |
| 36 | if {[hascap j]} { |
| 37 |
| --- skins/default/header.txt | |
| +++ skins/default/header.txt | |
| @@ -27,10 +27,13 @@ | |
| 27 | menulink /dir?ci=tip Files |
| 28 | } |
| 29 | if {[hascap o]} { |
| 30 | menulink /brlist Branches |
| 31 | menulink /taglist Tags |
| 32 | } |
| 33 | if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { |
| 34 | menulink /forum Forum |
| 35 | } |
| 36 | if {[hascap r]} { |
| 37 | menulink /ticket Tickets |
| 38 | } |
| 39 | if {[hascap j]} { |
| 40 |
| --- skins/eagle/header.txt | ||
| +++ skins/eagle/header.txt | ||
| @@ -106,10 +106,13 @@ | ||
| 106 | 106 | menulink /dir?ci=tip Files |
| 107 | 107 | } |
| 108 | 108 | if {[anoncap o]} { |
| 109 | 109 | menulink /brlist Branches |
| 110 | 110 | menulink /taglist Tags |
| 111 | +} | |
| 112 | +if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 113 | + menulink /forum Forum | |
| 111 | 114 | } |
| 112 | 115 | if {[anoncap r]} { |
| 113 | 116 | menulink /ticket Tickets |
| 114 | 117 | } |
| 115 | 118 | if {[anoncap j]} { |
| 116 | 119 |
| --- skins/eagle/header.txt | |
| +++ skins/eagle/header.txt | |
| @@ -106,10 +106,13 @@ | |
| 106 | menulink /dir?ci=tip Files |
| 107 | } |
| 108 | if {[anoncap o]} { |
| 109 | menulink /brlist Branches |
| 110 | menulink /taglist Tags |
| 111 | } |
| 112 | if {[anoncap r]} { |
| 113 | menulink /ticket Tickets |
| 114 | } |
| 115 | if {[anoncap j]} { |
| 116 |
| --- skins/eagle/header.txt | |
| +++ skins/eagle/header.txt | |
| @@ -106,10 +106,13 @@ | |
| 106 | menulink /dir?ci=tip Files |
| 107 | } |
| 108 | if {[anoncap o]} { |
| 109 | menulink /brlist Branches |
| 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 |
| --- skins/enhanced1/header.txt | ||
| +++ skins/enhanced1/header.txt | ||
| @@ -106,10 +106,13 @@ | ||
| 106 | 106 | menulink /dir?ci=tip Files |
| 107 | 107 | } |
| 108 | 108 | if {[anoncap o]} { |
| 109 | 109 | menulink /brlist Branches |
| 110 | 110 | menulink /taglist Tags |
| 111 | +} | |
| 112 | +if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 113 | + menulink /forum Forum | |
| 111 | 114 | } |
| 112 | 115 | if {[anoncap r]} { |
| 113 | 116 | menulink /ticket Tickets |
| 114 | 117 | } |
| 115 | 118 | if {[anoncap j]} { |
| 116 | 119 |
| --- skins/enhanced1/header.txt | |
| +++ skins/enhanced1/header.txt | |
| @@ -106,10 +106,13 @@ | |
| 106 | menulink /dir?ci=tip Files |
| 107 | } |
| 108 | if {[anoncap o]} { |
| 109 | menulink /brlist Branches |
| 110 | menulink /taglist Tags |
| 111 | } |
| 112 | if {[anoncap r]} { |
| 113 | menulink /ticket Tickets |
| 114 | } |
| 115 | if {[anoncap j]} { |
| 116 |
| --- skins/enhanced1/header.txt | |
| +++ skins/enhanced1/header.txt | |
| @@ -106,10 +106,13 @@ | |
| 106 | menulink /dir?ci=tip Files |
| 107 | } |
| 108 | if {[anoncap o]} { |
| 109 | menulink /brlist Branches |
| 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 |
| --- skins/khaki/header.txt | ||
| +++ skins/khaki/header.txt | ||
| @@ -20,10 +20,13 @@ | ||
| 20 | 20 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 21 | 21 | } |
| 22 | 22 | if {[anoncap o]} { |
| 23 | 23 | html "<a href='$home/brlist'>Branches</a>\n" |
| 24 | 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" | |
| 25 | 28 | } |
| 26 | 29 | if {[anoncap r]} { |
| 27 | 30 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 28 | 31 | } |
| 29 | 32 | if {[anoncap j]} { |
| 30 | 33 |
| --- skins/khaki/header.txt | |
| +++ skins/khaki/header.txt | |
| @@ -20,10 +20,13 @@ | |
| 20 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 21 | } |
| 22 | if {[anoncap o]} { |
| 23 | html "<a href='$home/brlist'>Branches</a>\n" |
| 24 | html "<a href='$home/taglist'>Tags</a>\n" |
| 25 | } |
| 26 | if {[anoncap r]} { |
| 27 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 28 | } |
| 29 | if {[anoncap j]} { |
| 30 |
| --- skins/khaki/header.txt | |
| +++ skins/khaki/header.txt | |
| @@ -20,10 +20,13 @@ | |
| 20 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 21 | } |
| 22 | if {[anoncap o]} { |
| 23 | html "<a href='$home/brlist'>Branches</a>\n" |
| 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 |
| --- skins/original/header.txt | ||
| +++ skins/original/header.txt | ||
| @@ -21,10 +21,13 @@ | ||
| 21 | 21 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 22 | 22 | } |
| 23 | 23 | if {[anoncap o]} { |
| 24 | 24 | html "<a href='$home/brlist'>Branches</a>\n" |
| 25 | 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" | |
| 26 | 29 | } |
| 27 | 30 | if {[anoncap r]} { |
| 28 | 31 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 29 | 32 | } |
| 30 | 33 | if {[anoncap j]} { |
| 31 | 34 |
| --- skins/original/header.txt | |
| +++ skins/original/header.txt | |
| @@ -21,10 +21,13 @@ | |
| 21 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 22 | } |
| 23 | if {[anoncap o]} { |
| 24 | html "<a href='$home/brlist'>Branches</a>\n" |
| 25 | html "<a href='$home/taglist'>Tags</a>\n" |
| 26 | } |
| 27 | if {[anoncap r]} { |
| 28 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 29 | } |
| 30 | if {[anoncap j]} { |
| 31 |
| --- skins/original/header.txt | |
| +++ skins/original/header.txt | |
| @@ -21,10 +21,13 @@ | |
| 21 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 22 | } |
| 23 | if {[anoncap o]} { |
| 24 | html "<a href='$home/brlist'>Branches</a>\n" |
| 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 |
| --- skins/plain_gray/header.txt | ||
| +++ skins/plain_gray/header.txt | ||
| @@ -18,10 +18,13 @@ | ||
| 18 | 18 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 19 | 19 | } |
| 20 | 20 | if {[anoncap o]} { |
| 21 | 21 | html "<a href='$home/brlist'>Branches</a>\n" |
| 22 | 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" | |
| 23 | 26 | } |
| 24 | 27 | if {[anoncap r]} { |
| 25 | 28 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 26 | 29 | } |
| 27 | 30 | if {[anoncap j]} { |
| 28 | 31 |
| --- skins/plain_gray/header.txt | |
| +++ skins/plain_gray/header.txt | |
| @@ -18,10 +18,13 @@ | |
| 18 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 19 | } |
| 20 | if {[anoncap o]} { |
| 21 | html "<a href='$home/brlist'>Branches</a>\n" |
| 22 | html "<a href='$home/taglist'>Tags</a>\n" |
| 23 | } |
| 24 | if {[anoncap r]} { |
| 25 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 26 | } |
| 27 | if {[anoncap j]} { |
| 28 |
| --- skins/plain_gray/header.txt | |
| +++ skins/plain_gray/header.txt | |
| @@ -18,10 +18,13 @@ | |
| 18 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 19 | } |
| 20 | if {[anoncap o]} { |
| 21 | html "<a href='$home/brlist'>Branches</a>\n" |
| 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 |
| --- skins/rounded1/header.txt | ||
| +++ skins/rounded1/header.txt | ||
| @@ -22,10 +22,13 @@ | ||
| 22 | 22 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 23 | 23 | } |
| 24 | 24 | if {[anoncap o]} { |
| 25 | 25 | html "<a href='$home/brlist'>Branches</a>\n" |
| 26 | 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" | |
| 27 | 30 | } |
| 28 | 31 | if {[anoncap r]} { |
| 29 | 32 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 30 | 33 | } |
| 31 | 34 | if {[anoncap j]} { |
| 32 | 35 |
| --- skins/rounded1/header.txt | |
| +++ skins/rounded1/header.txt | |
| @@ -22,10 +22,13 @@ | |
| 22 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 23 | } |
| 24 | if {[anoncap o]} { |
| 25 | html "<a href='$home/brlist'>Branches</a>\n" |
| 26 | html "<a href='$home/taglist'>Tags</a>\n" |
| 27 | } |
| 28 | if {[anoncap r]} { |
| 29 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 30 | } |
| 31 | if {[anoncap j]} { |
| 32 |
| --- skins/rounded1/header.txt | |
| +++ skins/rounded1/header.txt | |
| @@ -22,10 +22,13 @@ | |
| 22 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 23 | } |
| 24 | if {[anoncap o]} { |
| 25 | html "<a href='$home/brlist'>Branches</a>\n" |
| 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 |
| --- skins/xekri/header.txt | ||
| +++ skins/xekri/header.txt | ||
| @@ -110,10 +110,13 @@ | ||
| 110 | 110 | menulink /dir?ci=tip Files |
| 111 | 111 | } |
| 112 | 112 | if {[anoncap o]} { |
| 113 | 113 | menulink /brlist Branches |
| 114 | 114 | menulink /taglist Tags |
| 115 | +} | |
| 116 | +if {[anycap 23456] || [anoncap 2] || [anoncap 3]} { | |
| 117 | + menulink /forum Forum | |
| 115 | 118 | } |
| 116 | 119 | if {[anoncap r]} { |
| 117 | 120 | menulink /ticket Tickets |
| 118 | 121 | } |
| 119 | 122 | if {[anoncap j]} { |
| 120 | 123 |
| --- skins/xekri/header.txt | |
| +++ skins/xekri/header.txt | |
| @@ -110,10 +110,13 @@ | |
| 110 | menulink /dir?ci=tip Files |
| 111 | } |
| 112 | if {[anoncap o]} { |
| 113 | menulink /brlist Branches |
| 114 | menulink /taglist Tags |
| 115 | } |
| 116 | if {[anoncap r]} { |
| 117 | menulink /ticket Tickets |
| 118 | } |
| 119 | if {[anoncap j]} { |
| 120 |
| --- skins/xekri/header.txt | |
| +++ skins/xekri/header.txt | |
| @@ -110,10 +110,13 @@ | |
| 110 | menulink /dir?ci=tip Files |
| 111 | } |
| 112 | if {[anoncap o]} { |
| 113 | menulink /brlist Branches |
| 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 |
+1
| --- src/backoffice.c | ||
| +++ src/backoffice.c | ||
| @@ -381,10 +381,11 @@ | ||
| 381 | 381 | sqlite3_uint64 tmNow; |
| 382 | 382 | |
| 383 | 383 | if( backofficeDb ) return; |
| 384 | 384 | if( g.zRepositoryName==0 ) return; |
| 385 | 385 | if( g.db==0 ) return; |
| 386 | + if( !db_table_exists("repository","config") ) return; | |
| 386 | 387 | tmNow = time(0); |
| 387 | 388 | backofficeReadLease(&x); |
| 388 | 389 | if( x.tmNext>=tmNow && backofficeProcessExists(x.idNext) ){ |
| 389 | 390 | /* Another backoffice process is already queued up to run. This |
| 390 | 391 | ** process does not need to do any backoffice work. */ |
| 391 | 392 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -381,10 +381,11 @@ | |
| 381 | sqlite3_uint64 tmNow; |
| 382 | |
| 383 | if( backofficeDb ) return; |
| 384 | if( g.zRepositoryName==0 ) return; |
| 385 | if( g.db==0 ) return; |
| 386 | tmNow = time(0); |
| 387 | backofficeReadLease(&x); |
| 388 | if( x.tmNext>=tmNow && backofficeProcessExists(x.idNext) ){ |
| 389 | /* Another backoffice process is already queued up to run. This |
| 390 | ** process does not need to do any backoffice work. */ |
| 391 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -381,10 +381,11 @@ | |
| 381 | sqlite3_uint64 tmNow; |
| 382 | |
| 383 | if( backofficeDb ) return; |
| 384 | if( g.zRepositoryName==0 ) return; |
| 385 | if( g.db==0 ) return; |
| 386 | if( !db_table_exists("repository","config") ) return; |
| 387 | tmNow = time(0); |
| 388 | backofficeReadLease(&x); |
| 389 | if( x.tmNext>=tmNow && backofficeProcessExists(x.idNext) ){ |
| 390 | /* Another backoffice process is already queued up to run. This |
| 391 | ** process does not need to do any backoffice work. */ |
| 392 |
+1
-1
| --- src/forum.c | ||
| +++ src/forum.c | ||
| @@ -990,11 +990,11 @@ | ||
| 990 | 990 | if( iOfst>0 ){ |
| 991 | 991 | @ <h1>Threads at least %s(zAge) old</h1> |
| 992 | 992 | }else{ |
| 993 | 993 | @ <h1>Most recent threads</h1> |
| 994 | 994 | } |
| 995 | - @ <div class='fileage'><table width="100%%"> | |
| 995 | + @ <div class='forumPosts fileage'><table width="100%%"> | |
| 996 | 996 | if( iOfst>0 ){ |
| 997 | 997 | if( iOfst>iLimit ){ |
| 998 | 998 | @ <tr><td colspan="3">\ |
| 999 | 999 | @ %z(href("%R/forum?x=%d&n=%d",iOfst-iLimit,iLimit))\ |
| 1000 | 1000 | @ ↑ Newer...</a></td></tr> |
| 1001 | 1001 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -990,11 +990,11 @@ | |
| 990 | if( iOfst>0 ){ |
| 991 | @ <h1>Threads at least %s(zAge) old</h1> |
| 992 | }else{ |
| 993 | @ <h1>Most recent threads</h1> |
| 994 | } |
| 995 | @ <div class='fileage'><table width="100%%"> |
| 996 | if( iOfst>0 ){ |
| 997 | if( iOfst>iLimit ){ |
| 998 | @ <tr><td colspan="3">\ |
| 999 | @ %z(href("%R/forum?x=%d&n=%d",iOfst-iLimit,iLimit))\ |
| 1000 | @ ↑ Newer...</a></td></tr> |
| 1001 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -990,11 +990,11 @@ | |
| 990 | if( iOfst>0 ){ |
| 991 | @ <h1>Threads at least %s(zAge) old</h1> |
| 992 | }else{ |
| 993 | @ <h1>Most recent threads</h1> |
| 994 | } |
| 995 | @ <div class='forumPosts fileage'><table width="100%%"> |
| 996 | if( iOfst>0 ){ |
| 997 | if( iOfst>iLimit ){ |
| 998 | @ <tr><td colspan="3">\ |
| 999 | @ %z(href("%R/forum?x=%d&n=%d",iOfst-iLimit,iLimit))\ |
| 1000 | @ ↑ Newer...</a></td></tr> |
| 1001 |
+6
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -1355,10 +1355,11 @@ | ||
| 1355 | 1355 | allRepo = 0; |
| 1356 | 1356 | } |
| 1357 | 1357 | @ <html> |
| 1358 | 1358 | @ <head> |
| 1359 | 1359 | @ <base href="%s(g.zBaseURL)/" /> |
| 1360 | + @ <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| 1360 | 1361 | @ <title>Repository List</title> |
| 1361 | 1362 | @ </head> |
| 1362 | 1363 | @ <body> |
| 1363 | 1364 | n = db_int(0, "SELECT count(*) FROM sfile"); |
| 1364 | 1365 | if( n>0 ){ |
| @@ -1674,11 +1675,16 @@ | ||
| 1674 | 1675 | if(g.json.isJsonMode){ |
| 1675 | 1676 | json_err(FSL_JSON_E_RESOURCE_NOT_FOUND,NULL,1); |
| 1676 | 1677 | return; |
| 1677 | 1678 | } |
| 1678 | 1679 | #endif |
| 1680 | + @ <html><head> | |
| 1681 | + @ <meta name="viewport" \ | |
| 1682 | + @ content="width=device-width, initial-scale=1.0"> | |
| 1683 | + @ </head><body> | |
| 1679 | 1684 | @ <h1>Not Found</h1> |
| 1685 | + @ </body> | |
| 1680 | 1686 | cgi_set_status(404, "not found"); |
| 1681 | 1687 | cgi_reply(); |
| 1682 | 1688 | } |
| 1683 | 1689 | return; |
| 1684 | 1690 | } |
| 1685 | 1691 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1355,10 +1355,11 @@ | |
| 1355 | allRepo = 0; |
| 1356 | } |
| 1357 | @ <html> |
| 1358 | @ <head> |
| 1359 | @ <base href="%s(g.zBaseURL)/" /> |
| 1360 | @ <title>Repository List</title> |
| 1361 | @ </head> |
| 1362 | @ <body> |
| 1363 | n = db_int(0, "SELECT count(*) FROM sfile"); |
| 1364 | if( n>0 ){ |
| @@ -1674,11 +1675,16 @@ | |
| 1674 | if(g.json.isJsonMode){ |
| 1675 | json_err(FSL_JSON_E_RESOURCE_NOT_FOUND,NULL,1); |
| 1676 | return; |
| 1677 | } |
| 1678 | #endif |
| 1679 | @ <h1>Not Found</h1> |
| 1680 | cgi_set_status(404, "not found"); |
| 1681 | cgi_reply(); |
| 1682 | } |
| 1683 | return; |
| 1684 | } |
| 1685 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1355,10 +1355,11 @@ | |
| 1355 | allRepo = 0; |
| 1356 | } |
| 1357 | @ <html> |
| 1358 | @ <head> |
| 1359 | @ <base href="%s(g.zBaseURL)/" /> |
| 1360 | @ <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 1361 | @ <title>Repository List</title> |
| 1362 | @ </head> |
| 1363 | @ <body> |
| 1364 | n = db_int(0, "SELECT count(*) FROM sfile"); |
| 1365 | if( n>0 ){ |
| @@ -1674,11 +1675,16 @@ | |
| 1675 | if(g.json.isJsonMode){ |
| 1676 | json_err(FSL_JSON_E_RESOURCE_NOT_FOUND,NULL,1); |
| 1677 | return; |
| 1678 | } |
| 1679 | #endif |
| 1680 | @ <html><head> |
| 1681 | @ <meta name="viewport" \ |
| 1682 | @ content="width=device-width, initial-scale=1.0"> |
| 1683 | @ </head><body> |
| 1684 | @ <h1>Not Found</h1> |
| 1685 | @ </body> |
| 1686 | cgi_set_status(404, "not found"); |
| 1687 | cgi_reply(); |
| 1688 | } |
| 1689 | return; |
| 1690 | } |
| 1691 |