Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Merged login-on-post branch to trunk |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c0e384cf60b72911961dcfb2c1d2c0bb |
User & Date: | wyoung 2018-11-09 19:18:54 |
Context
2018-11-10
| ||
13:49 | Do not attempt to run backoffice if the repository is read-only. ... (check-in: 4f15d34f user: drh tags: trunk) | |
2018-11-09
| ||
19:18 | Merged login-on-post branch to trunk ... (check-in: c0e384cf user: wyoung tags: trunk) | |
19:16 | Another attempt to fix non-constant format complaint. ... (Closed-Leaf check-in: 725630f3 user: wyoung tags: login-on-post) | |
2018-11-08
| ||
02:38 | Improve grep documentation ... (check-in: 4af31f11 user: andygoth tags: trunk) | |
Changes
Changes to src/forum.c.
︙ | ︙ | |||
971 972 973 974 975 976 977 978 979 980 981 982 983 984 | if( !g.perm.RdForum ){ login_needed(g.anon.RdForum); return; } style_header("Forum"); if( g.perm.WrForum ){ style_submenu_element("New Thread","%R/forumnew"); } if( g.perm.ModForum && moderation_needed() ){ style_submenu_element("Moderation Requests", "%R/modreq"); } if( (srchFlags & SRCH_FORUM)!=0 ){ if( search_screen(SRCH_FORUM, 0) ){ style_submenu_element("Recent Threads","%R/forum"); | > > > > > > | 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 | if( !g.perm.RdForum ){ login_needed(g.anon.RdForum); return; } style_header("Forum"); if( g.perm.WrForum ){ style_submenu_element("New Thread","%R/forumnew"); }else{ /* Can't combine this with previous case using the ternary operator * because that causes an error yelling about "non-constant format" * with some compilers. I can't see it, since both expressions have * the same format, but I'm no C spec lawyer. */ style_submenu_element("New Thread","%R/login"); } if( g.perm.ModForum && moderation_needed() ){ style_submenu_element("Moderation Requests", "%R/modreq"); } if( (srchFlags & SRCH_FORUM)!=0 ){ if( search_screen(SRCH_FORUM, 0) ){ style_submenu_element("Recent Threads","%R/forum"); |
︙ | ︙ |