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
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5ad7222f4aa99d18309f71e010998ee8ce84f98343a3b88f0d616c23cfcfa5fb
User & Date: wyoung 2018-08-12 21:35:53.404
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
Unified Diff Ignore Whitespace Patch
Changes to src/sitemap.c.
88
89
90
91
92
93
94



95
96
97
98
99
100
101
    @     <li>%z(href("%R/wiki_rules"))Wiki Formatting Rules</a></li>
    @     <li>%z(href("%R/md_rules"))Markdown Formatting Rules</a></li>
    @     <li>%z(href("%R/wiki?name=Sandbox"))Sandbox</a></li>
    @     <li>%z(href("%R/attachlist"))List of Attachments</a></li>
    @   </ul>
    @ </li>
  }



  if( g.perm.RdTkt ){
    @ <li>%z(href("%R/reportlist"))Tickets</a>
    @   <ul>
    if( srchFlags & SRCH_TKT ){
      @   <li>%z(href("%R/tktsrch"))Ticket Search</a></li>
    }
    @   <li>%z(href("%R/timeline?y=t"))Recent activity</a></li>







>
>
>







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