Overview
SHA1 Hash: | b12a0315572ec541cbc130375b4b84b39469e12d |
---|---|
Date: | 2008-12-26 17:41:09 |
User: | drh |
Comment: | Omit the hyperlinks to the wiki edit for the Sandbox if editing is not allowed. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/wiki.c from [fc21315561] to [af5301943f].
@@ -170,19 +170,19 @@ zBody = m.zWiki; } } } 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); } } zHtmlPageName = mprintf("%h", zPageName);