Fossil

Check-in [53ce8d28]
Login

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

Overview
Comment:removed URLencoding in reference to wiki home page (EDITED src/wiki.c)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:53ce8d2863f51501b1e1321e91172d311a82ef86
User & Date: navratil 2013-08-01 10:48:36
Context
2013-08-01
20:56
Merged in Jiri's /wiki page link addition. And trying out merge --integrate. check-in: 366f1ae6 user: stephan tags: trunk
10:48
removed URLencoding in reference to wiki home page (EDITED src/wiki.c) check-in: 53ce8d28 user: navratil tags: trunk
2013-07-21
17:13
Added reference to real wiki home page and left previous reference as reference to project home page. check-in: a5a3924a user: navratil tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/wiki.c.

178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
  if( !g.perm.RdWiki ){ login_needed(); return; }
  zPageName = P("name");
  if( zPageName==0 ){
    style_header("Wiki");
    @ <ul>
    { char *zWikiHomePageName = db_get("index-page",0);
      if( zWikiHomePageName ){
        @ <li> %z(href("%R/%t",zWikiHomePageName))
        @      %h(zWikiHomePageName)</a> wiki home page.</li>
      }
    }
    { char *zHomePageName = db_get("project-name",0);
      if( zHomePageName ){
        @ <li> %z(href("%R/wiki?name=%t",zHomePageName))
        @      %h(zHomePageName)</a> project home page.</li>







|







178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
  if( !g.perm.RdWiki ){ login_needed(); return; }
  zPageName = P("name");
  if( zPageName==0 ){
    style_header("Wiki");
    @ <ul>
    { char *zWikiHomePageName = db_get("index-page",0);
      if( zWikiHomePageName ){
        @ <li> %z(href("%R%s",zWikiHomePageName))
        @      %h(zWikiHomePageName)</a> wiki home page.</li>
      }
    }
    { char *zHomePageName = db_get("project-name",0);
      if( zHomePageName ){
        @ <li> %z(href("%R/wiki?name=%t",zHomePageName))
        @      %h(zHomePageName)</a> project home page.</li>