Fossil

Check-in [5ad7222f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add /forum link to sitemap if user has RdForum capability
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5ad7222f4aa99d18309f71e010998ee8ce84f98343a3b88f0d616c23cfcfa5fb
User & Date: wyoung 2018-08-12 21:35:53
Context
2018-08-12
21:40
Fixed a few references to MIME type "text/x-fossil" in the fileformat document. It's "text/x-fossil-wiki" everywhere else. check-in: e00cdbe7 user: wyoung tags: trunk
21:35
Add /forum link to sitemap if user has RdForum capability check-in: 5ad7222f user: wyoung tags: trunk
10:42
Merge the fix to the login-by-email-address patch. check-in: 9b4e157b user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sitemap.c.

    88     88       @     <li>%z(href("%R/wiki_rules"))Wiki Formatting Rules</a></li>
    89     89       @     <li>%z(href("%R/md_rules"))Markdown Formatting Rules</a></li>
    90     90       @     <li>%z(href("%R/wiki?name=Sandbox"))Sandbox</a></li>
    91     91       @     <li>%z(href("%R/attachlist"))List of Attachments</a></li>
    92     92       @   </ul>
    93     93       @ </li>
    94     94     }
           95  +  if( g.perm.RdForum ){
           96  +    @ <li>%z(href("%R/forum"))Forum</a></li>
           97  +  }
    95     98     if( g.perm.RdTkt ){
    96     99       @ <li>%z(href("%R/reportlist"))Tickets</a>
    97    100       @   <ul>
    98    101       if( srchFlags & SRCH_TKT ){
    99    102         @   <li>%z(href("%R/tktsrch"))Ticket Search</a></li>
   100    103       }
   101    104       @   <li>%z(href("%R/timeline?y=t"))Recent activity</a></li>