Differences From:
File
src/wiki.c
part of check-in
[2a3e85f2d5]
- Require wiki edit privilege in order to edit the Sandbox wiki page, just
like any other wiki page.
by
drh on
2008-12-26 17:36:08.
[view]
To:
File
src/wiki.c
part of check-in
[b12a031557]
- Omit the hyperlinks to the wiki edit for the Sandbox if editing is not
allowed.
by
drh on
2008-12-26 17:41:09.
[view]
@@ -171,17 +171,17 @@
}
}
}
if( !g.isHome ){
- if( isSandbox || (rid && g.okWrWiki) || (!rid && g.okNewWiki) ){
+ if( (rid && g.okWrWiki) || (!rid && g.okNewWiki) ){
style_submenu_element("Edit", "Edit Wiki Page", "%s/wikiedit?name=%T",
g.zTop, zPageName);
}
- if( isSandbox || (rid && g.okApndWiki) ){
+ if( rid && g.okApndWiki ){
style_submenu_element("Append", "Add A Comment", "%s/wikiappend?name=%T",
g.zTop, zPageName);
}
- if( !isSandbox && g.okHistory ){
+ if( g.okHistory ){
style_submenu_element("History", "History", "%s/whistory?name=%T",
g.zTop, zPageName);
}
}