The periodic "updateClock()" call made in the header for several of the
built-in skins (Eagle, Enhanced1, and Xekri) violates the new stricter
CSP, since it requires a JS eval. We don't need an eval here: we can
pass the function's name literally to window.setTimeout instead, which
treats it as a Function object, which doesn't need to be eval'd.
check-in: eac15b4c user: wyoung tags: trunk

These rules say that any logged-in user with any forum-related
capability (2-6 inclusive, as of this writing) or an anonymous user with
read or write capability on the forum (2, 3) will see the "Forum" navbar
link, which just takes you to <tt>/forum</tt>.
The exact code you need here varies depending on which skin you're
using. Follow the style you see for the other navbar links.
<h3>Enable Forum Search</h3>
One of the underlying assumptions of the forum feature is that you will
want to be able to search the forum archives, so the <tt>/forum</tt>
page always includes a search box. Since that depends on search being

These rules say that any logged-in user with any forum-related
capability (2-6 inclusive, as of this writing) or an anonymous user with
read or write capability on the forum (2, 3) will see the "Forum" navbar
link, which just takes you to <tt>/forum</tt>.
The exact code you need here varies depending on which skin you're
using. Follow the style you see for the other navbar links.
The new forum feature also brings many new CSS styles to the table. Ifyou're using the stock skin or something sufficiently close, the changesmay work with your existing skin as-is. Otherwise, you might need toadjust some things, such as the background color used for the selectedforum post:<verbatim> div.forumSel { background-color: rgba(0, 0, 0, 0.05); }</verbatim>That overrides the default — a hard-coded light cyan — with a 95%transparent black overlay instead, which simply darkens your skin'snormal background color underneath the selected post. That should workwith almost any background color except for very dark background colors.For dark skins, an inverse of the above trick will work better:<verbatim> div.forumSel { background-color: rgba(255, 255, 255, 0.05); }</verbatim>That overlays the background with 5% white to lighten it slightly.
<h3>Enable Forum Search</h3>
One of the underlying assumptions of the forum feature is that you will
want to be able to search the forum archives, so the <tt>/forum</tt>
page always includes a search box. Since that depends on search being

This page was generated in about
0.006s by
Fossil 2.8 [246f249e5a] 2019-01-21 20:07:41