Fossil SCM

Fix a link problem with the default skin and skin#5.

drh 2012-11-12 15:01 trunk
Commit 62c565ec96f2bd9e551f7ea1b57a365147132ff4
2 files changed +10 -10 +10 -10
+10 -10
--- src/skins.c
+++ src/skins.c
@@ -1171,34 +1171,34 @@
11711171
@ </div>
11721172
@ <div class="mainmenu">
11731173
@ <th1>
11741174
@ html "<a href=''$home$index_page''>Home</a>\n"
11751175
@ if {[anycap jor]} {
1176
-@ html "<a href=''timeline''>Timeline</a>\n"
1176
+@ html "<a href=''$home/timeline''>Timeline</a>\n"
11771177
@ }
11781178
@ if {[hascap oh]} {
1179
-@ html "<a href=''dir?ci=tip''>Files</a>\n"
1179
+@ html "<a href=''$home/dir?ci=tip''>Files</a>\n"
11801180
@ }
11811181
@ if {[hascap o]} {
1182
-@ html "<a href=''brlist''>Branches</a>\n"
1183
-@ html "<a href=''taglist''>Tags</a>\n"
1182
+@ html "<a href=''$home/brlist''>Branches</a>\n"
1183
+@ html "<a href=''$home/taglist''>Tags</a>\n"
11841184
@ }
11851185
@ if {[hascap r]} {
1186
-@ html "<a href=''reportlist''>Tickets</a>\n"
1186
+@ html "<a href=''$home/reportlist''>Tickets</a>\n"
11871187
@ }
11881188
@ if {[hascap j]} {
1189
-@ html "<a href=''wiki''>Wiki</a>\n"
1189
+@ html "<a href=''$home/wiki''>Wiki</a>\n"
11901190
@ }
11911191
@ if {[hascap s]} {
1192
-@ html "<a href=''setup''>Admin</a>\n"
1192
+@ html "<a href=''$home/setup''>Admin</a>\n"
11931193
@ } elseif {[hascap a]} {
1194
-@ html "<a href=''setup_ulist''>Users</a>\n"
1194
+@ html "<a href=''$home/setup_ulist''>Users</a>\n"
11951195
@ }
11961196
@ if {[info exists login]} {
1197
-@ html "<a href=''login''>Logout</a>\n"
1197
+@ html "<a href=''$home/login''>Logout</a>\n"
11981198
@ } else {
1199
-@ html "<a href=''login''>Login</a>\n"
1199
+@ html "<a href=''$home/login''>Login</a>\n"
12001200
@ }
12011201
@ </th1></div>
12021202
@ ');
12031203
@ REPLACE INTO config(name,mtime,value)
12041204
@ VALUES('footer',now(),'<div class="footer">
12051205
--- src/skins.c
+++ src/skins.c
@@ -1171,34 +1171,34 @@
1171 @ </div>
1172 @ <div class="mainmenu">
1173 @ <th1>
1174 @ html "<a href=''$home$index_page''>Home</a>\n"
1175 @ if {[anycap jor]} {
1176 @ html "<a href=''timeline''>Timeline</a>\n"
1177 @ }
1178 @ if {[hascap oh]} {
1179 @ html "<a href=''dir?ci=tip''>Files</a>\n"
1180 @ }
1181 @ if {[hascap o]} {
1182 @ html "<a href=''brlist''>Branches</a>\n"
1183 @ html "<a href=''taglist''>Tags</a>\n"
1184 @ }
1185 @ if {[hascap r]} {
1186 @ html "<a href=''reportlist''>Tickets</a>\n"
1187 @ }
1188 @ if {[hascap j]} {
1189 @ html "<a href=''wiki''>Wiki</a>\n"
1190 @ }
1191 @ if {[hascap s]} {
1192 @ html "<a href=''setup''>Admin</a>\n"
1193 @ } elseif {[hascap a]} {
1194 @ html "<a href=''setup_ulist''>Users</a>\n"
1195 @ }
1196 @ if {[info exists login]} {
1197 @ html "<a href=''login''>Logout</a>\n"
1198 @ } else {
1199 @ html "<a href=''login''>Login</a>\n"
1200 @ }
1201 @ </th1></div>
1202 @ ');
1203 @ REPLACE INTO config(name,mtime,value)
1204 @ VALUES('footer',now(),'<div class="footer">
1205
--- src/skins.c
+++ src/skins.c
@@ -1171,34 +1171,34 @@
1171 @ </div>
1172 @ <div class="mainmenu">
1173 @ <th1>
1174 @ html "<a href=''$home$index_page''>Home</a>\n"
1175 @ if {[anycap jor]} {
1176 @ html "<a href=''$home/timeline''>Timeline</a>\n"
1177 @ }
1178 @ if {[hascap oh]} {
1179 @ html "<a href=''$home/dir?ci=tip''>Files</a>\n"
1180 @ }
1181 @ if {[hascap o]} {
1182 @ html "<a href=''$home/brlist''>Branches</a>\n"
1183 @ html "<a href=''$home/taglist''>Tags</a>\n"
1184 @ }
1185 @ if {[hascap r]} {
1186 @ html "<a href=''$home/reportlist''>Tickets</a>\n"
1187 @ }
1188 @ if {[hascap j]} {
1189 @ html "<a href=''$home/wiki''>Wiki</a>\n"
1190 @ }
1191 @ if {[hascap s]} {
1192 @ html "<a href=''$home/setup''>Admin</a>\n"
1193 @ } elseif {[hascap a]} {
1194 @ html "<a href=''$home/setup_ulist''>Users</a>\n"
1195 @ }
1196 @ if {[info exists login]} {
1197 @ html "<a href=''$home/login''>Logout</a>\n"
1198 @ } else {
1199 @ html "<a href=''$home/login''>Login</a>\n"
1200 @ }
1201 @ </th1></div>
1202 @ ');
1203 @ REPLACE INTO config(name,mtime,value)
1204 @ VALUES('footer',now(),'<div class="footer">
1205
+10 -10
--- src/style.c
+++ src/style.c
@@ -366,34 +366,34 @@
366366
@ </div>
367367
@ <div class="mainmenu">
368368
@ <th1>
369369
@ html "<a href='$home$index_page'>Home</a>\n"
370370
@ if {[anycap jor]} {
371
-@ html "<a href='timeline'>Timeline</a>\n"
371
+@ html "<a href='$home/timeline'>Timeline</a>\n"
372372
@ }
373373
@ if {[hascap oh]} {
374
-@ html "<a href='dir?ci=tip'>Files</a>\n"
374
+@ html "<a href='$home/dir?ci=tip'>Files</a>\n"
375375
@ }
376376
@ if {[hascap o]} {
377
-@ html "<a href='brlist'>Branches</a>\n"
378
-@ html "<a href='taglist'>Tags</a>\n"
377
+@ html "<a href='$home/brlist'>Branches</a>\n"
378
+@ html "<a href='$home/taglist'>Tags</a>\n"
379379
@ }
380380
@ if {[hascap r]} {
381
-@ html "<a href='reportlist'>Tickets</a>\n"
381
+@ html "<a href='$home/reportlist'>Tickets</a>\n"
382382
@ }
383383
@ if {[hascap j]} {
384
-@ html "<a href='wiki'>Wiki</a>\n"
384
+@ html "<a href='$home/wiki'>Wiki</a>\n"
385385
@ }
386386
@ if {[hascap s]} {
387
-@ html "<a href='setup'>Admin</a>\n"
387
+@ html "<a href='$home/setup'>Admin</a>\n"
388388
@ } elseif {[hascap a]} {
389
-@ html "<a href='setup_ulist'>Users</a>\n"
389
+@ html "<a href='$home/setup_ulist'>Users</a>\n"
390390
@ }
391391
@ if {[info exists login]} {
392
-@ html "<a href='login'>Logout</a>\n"
392
+@ html "<a href='$home/login'>Logout</a>\n"
393393
@ } else {
394
-@ html "<a href='login'>Login</a>\n"
394
+@ html "<a href='$home/login'>Login</a>\n"
395395
@ }
396396
@ </th1></div>
397397
;
398398
399399
/*
400400
--- src/style.c
+++ src/style.c
@@ -366,34 +366,34 @@
366 @ </div>
367 @ <div class="mainmenu">
368 @ <th1>
369 @ html "<a href='$home$index_page'>Home</a>\n"
370 @ if {[anycap jor]} {
371 @ html "<a href='timeline'>Timeline</a>\n"
372 @ }
373 @ if {[hascap oh]} {
374 @ html "<a href='dir?ci=tip'>Files</a>\n"
375 @ }
376 @ if {[hascap o]} {
377 @ html "<a href='brlist'>Branches</a>\n"
378 @ html "<a href='taglist'>Tags</a>\n"
379 @ }
380 @ if {[hascap r]} {
381 @ html "<a href='reportlist'>Tickets</a>\n"
382 @ }
383 @ if {[hascap j]} {
384 @ html "<a href='wiki'>Wiki</a>\n"
385 @ }
386 @ if {[hascap s]} {
387 @ html "<a href='setup'>Admin</a>\n"
388 @ } elseif {[hascap a]} {
389 @ html "<a href='setup_ulist'>Users</a>\n"
390 @ }
391 @ if {[info exists login]} {
392 @ html "<a href='login'>Logout</a>\n"
393 @ } else {
394 @ html "<a href='login'>Login</a>\n"
395 @ }
396 @ </th1></div>
397 ;
398
399 /*
400
--- src/style.c
+++ src/style.c
@@ -366,34 +366,34 @@
366 @ </div>
367 @ <div class="mainmenu">
368 @ <th1>
369 @ html "<a href='$home$index_page'>Home</a>\n"
370 @ if {[anycap jor]} {
371 @ html "<a href='$home/timeline'>Timeline</a>\n"
372 @ }
373 @ if {[hascap oh]} {
374 @ html "<a href='$home/dir?ci=tip'>Files</a>\n"
375 @ }
376 @ if {[hascap o]} {
377 @ html "<a href='$home/brlist'>Branches</a>\n"
378 @ html "<a href='$home/taglist'>Tags</a>\n"
379 @ }
380 @ if {[hascap r]} {
381 @ html "<a href='$home/reportlist'>Tickets</a>\n"
382 @ }
383 @ if {[hascap j]} {
384 @ html "<a href='$home/wiki'>Wiki</a>\n"
385 @ }
386 @ if {[hascap s]} {
387 @ html "<a href='$home/setup'>Admin</a>\n"
388 @ } elseif {[hascap a]} {
389 @ html "<a href='$home/setup_ulist'>Users</a>\n"
390 @ }
391 @ if {[info exists login]} {
392 @ html "<a href='$home/login'>Logout</a>\n"
393 @ } else {
394 @ html "<a href='$home/login'>Login</a>\n"
395 @ }
396 @ </th1></div>
397 ;
398
399 /*
400

Keyboard Shortcuts

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