Fossil SCM

Fix incorrect URLs on the new submenu elements for ticket and wiki pages.

drh 2015-02-02 04:32 trunk
Commit 5ab34b0c0f336f9b5ad0542dfe2d88d1a2c42387
2 files changed +3 -3 +4 -4
+3 -3
--- src/tkt.c
+++ src/tkt.c
@@ -1397,17 +1397,17 @@
13971397
/*
13981398
** Add some standard submenu elements for ticket screens.
13991399
*/
14001400
void ticket_standard_submenu(unsigned int ok){
14011401
if( (ok & T_SRCH)!=0 && search_restrict(SRCH_TKT)!=0 ){
1402
- style_submenu_element("Search","Search","/tktsrch");
1402
+ style_submenu_element("Search","Search","%R/tktsrch");
14031403
}
14041404
if( (ok & T_REPLIST)!=0 ){
1405
- style_submenu_element("Reports","Reports","/reportlist");
1405
+ style_submenu_element("Reports","Reports","%R/reportlist");
14061406
}
14071407
if( (ok & T_NEW)!=0 && g.perm.NewTkt ){
1408
- style_submenu_element("New","New","/tktnew");
1408
+ style_submenu_element("New","New","%R/tktnew");
14091409
}
14101410
}
14111411
14121412
14131413
14141414
--- src/tkt.c
+++ src/tkt.c
@@ -1397,17 +1397,17 @@
1397 /*
1398 ** Add some standard submenu elements for ticket screens.
1399 */
1400 void ticket_standard_submenu(unsigned int ok){
1401 if( (ok & T_SRCH)!=0 && search_restrict(SRCH_TKT)!=0 ){
1402 style_submenu_element("Search","Search","/tktsrch");
1403 }
1404 if( (ok & T_REPLIST)!=0 ){
1405 style_submenu_element("Reports","Reports","/reportlist");
1406 }
1407 if( (ok & T_NEW)!=0 && g.perm.NewTkt ){
1408 style_submenu_element("New","New","/tktnew");
1409 }
1410 }
1411
1412
1413
1414
--- src/tkt.c
+++ src/tkt.c
@@ -1397,17 +1397,17 @@
1397 /*
1398 ** Add some standard submenu elements for ticket screens.
1399 */
1400 void ticket_standard_submenu(unsigned int ok){
1401 if( (ok & T_SRCH)!=0 && search_restrict(SRCH_TKT)!=0 ){
1402 style_submenu_element("Search","Search","%R/tktsrch");
1403 }
1404 if( (ok & T_REPLIST)!=0 ){
1405 style_submenu_element("Reports","Reports","%R/reportlist");
1406 }
1407 if( (ok & T_NEW)!=0 && g.perm.NewTkt ){
1408 style_submenu_element("New","New","%R/tktnew");
1409 }
1410 }
1411
1412
1413
1414
+4 -4
--- src/wiki.c
+++ src/wiki.c
@@ -214,20 +214,20 @@
214214
/*
215215
** Add some standard submenu elements for wiki screens.
216216
*/
217217
static void wiki_standard_submenu(unsigned int ok){
218218
if( (ok & W_SRCH)!=0 && search_restrict(SRCH_WIKI)!=0 ){
219
- style_submenu_element("Search","Search","/wikisrch");
219
+ style_submenu_element("Search","Search","%R/wikisrch");
220220
}
221221
if( (ok & W_LIST)!=0 ){
222
- style_submenu_element("List","List","/wcontent");
222
+ style_submenu_element("List","List","%R/wcontent");
223223
}
224224
if( (ok & W_HELP)!=0 ){
225
- style_submenu_element("Help","Help","/wikihelp");
225
+ style_submenu_element("Help","Help","%R/wikihelp");
226226
}
227227
if( (ok & W_NEW)!=0 && g.perm.NewWiki ){
228
- style_submenu_element("New","New","/wikinew");
228
+ style_submenu_element("New","New","%R/wikinew");
229229
}
230230
#if 0
231231
if( (ok & W_BLOG)!=0
232232
#endif
233233
if( (ok & W_SANDBOX)!=0 ){
234234
--- src/wiki.c
+++ src/wiki.c
@@ -214,20 +214,20 @@
214 /*
215 ** Add some standard submenu elements for wiki screens.
216 */
217 static void wiki_standard_submenu(unsigned int ok){
218 if( (ok & W_SRCH)!=0 && search_restrict(SRCH_WIKI)!=0 ){
219 style_submenu_element("Search","Search","/wikisrch");
220 }
221 if( (ok & W_LIST)!=0 ){
222 style_submenu_element("List","List","/wcontent");
223 }
224 if( (ok & W_HELP)!=0 ){
225 style_submenu_element("Help","Help","/wikihelp");
226 }
227 if( (ok & W_NEW)!=0 && g.perm.NewWiki ){
228 style_submenu_element("New","New","/wikinew");
229 }
230 #if 0
231 if( (ok & W_BLOG)!=0
232 #endif
233 if( (ok & W_SANDBOX)!=0 ){
234
--- src/wiki.c
+++ src/wiki.c
@@ -214,20 +214,20 @@
214 /*
215 ** Add some standard submenu elements for wiki screens.
216 */
217 static void wiki_standard_submenu(unsigned int ok){
218 if( (ok & W_SRCH)!=0 && search_restrict(SRCH_WIKI)!=0 ){
219 style_submenu_element("Search","Search","%R/wikisrch");
220 }
221 if( (ok & W_LIST)!=0 ){
222 style_submenu_element("List","List","%R/wcontent");
223 }
224 if( (ok & W_HELP)!=0 ){
225 style_submenu_element("Help","Help","%R/wikihelp");
226 }
227 if( (ok & W_NEW)!=0 && g.perm.NewWiki ){
228 style_submenu_element("New","New","%R/wikinew");
229 }
230 #if 0
231 if( (ok & W_BLOG)!=0
232 #endif
233 if( (ok & W_SANDBOX)!=0 ){
234

Keyboard Shortcuts

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