Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | In the new forum reply header, reduce size from H1 to H2 and italicize the thread title. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
7b92fc614dc461230145c56c6db46fed |
| User & Date: | stephan 2022-11-24 15:21:11.826 |
Context
|
2022-11-24
| ||
| 22:13 | Add TH1 command "<code>submenu</code>". For the time being it has just one subcommand "<code>link</code>" that adds a hyperlink to the submenu of a page. ... (check-in: 71b221657b user: george tags: trunk) | |
| 15:21 | In the new forum reply header, reduce size from H1 to H2 and italicize the thread title. ... (check-in: 7b92fc614d user: stephan tags: trunk) | |
| 14:38 | Slight reformatting of the forum reply page header based on feedback from [https://sqlite.org/forum/forumpost/c745cf3a7f6246de|sqlite forum post c745cf3a7f6246de]. Now says: Replying to HASH-with-link in thread TITLE-without-link ... (check-in: 0b6b3a001a user: stephan tags: trunk) | |
Changes
Changes to src/default.css.
| ︙ | ︙ | |||
986 987 988 989 990 991 992 993 994 995 996 997 998 999 |
div.forumPostBody.expanded {
max-height: initial;
}
div.forumPostBody.shrunken {
/* When an expandable post is un-expanded, it is shrunkend down
to this size instead of its original size. */
max-height: 8em;
}
div.forumSel {
background-color: #cef;
}
div.forumObs {
color: #bbb;
| > > > > | 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 |
div.forumPostBody.expanded {
max-height: initial;
}
div.forumPostBody.shrunken {
/* When an expandable post is un-expanded, it is shrunkend down
to this size instead of its original size. */
max-height: 8em;
}
span.forumPostReplyTitle {
/* thread title part of the page header when replying to a post */
font-style: italic;
}
div.forumSel {
background-color: #cef;
}
div.forumObs {
color: #bbb;
|
| ︙ | ︙ |
Changes to src/forum.c.
| ︙ | ︙ | |||
1322 1323 1324 1325 1326 1327 1328 |
forum_post_widget(zTitle, zMimetype, zContent);
}else{
/* Reply */
char *zDisplayName;
zMimetype = PD("mimetype",DEFAULT_FORUM_MIMETYPE);
zContent = PDT("content","");
style_header("Reply");
| | | > | | 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 |
forum_post_widget(zTitle, zMimetype, zContent);
}else{
/* Reply */
char *zDisplayName;
zMimetype = PD("mimetype",DEFAULT_FORUM_MIMETYPE);
zContent = PDT("content","");
style_header("Reply");
@ <h2>Replying to
@ <a href="%R/forumpost/%!S(zFpid)" target="_blank">%S(zFpid)</a>
if( pRootPost->zThreadTitle ){
@ in thread
@ <span class="forumPostReplyTitle">%h(pRootPost->zThreadTitle)</span>
}
@ </h2>
zDate = db_text(0, "SELECT datetime(%.17g,toLocal())", pPost->rDate);
zDisplayName = display_name_from_login(pPost->zUser);
@ <h3 class='forumPostHdr'>By %s(zDisplayName) on %h(zDate)</h3>
fossil_free(zDisplayName);
fossil_free(zDate);
forum_render(0, pPost->zMimetype, pPost->zWiki, "forumEdit", 1);
if( P("preview") && !whitespace_only(zContent) ){
|
| ︙ | ︙ |