Fossil

Check-in [0b6b3a00]
Login

Check-in [0b6b3a00]

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

Overview
Comment:Slight reformatting of the forum reply page header based on feedback from sqlite forum post c745cf3a7f6246de. Now says: Replying to HASH-with-link in thread TITLE-without-link
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0b6b3a001a357d6d4bc88e6da3c27be67b5f050dbdd6264d5c1acf1009fea6d5
User & Date: stephan 2022-11-24 14:38:09
Context
2022-11-24
15:21
In the new forum reply header, reduce size from H1 to H2 and italicize the thread title. ... (check-in: 7b92fc61 user: stephan tags: trunk)
14:38
Slight reformatting of the forum reply page header based on feedback from sqlite forum post c745cf3a7f6246de. Now says: Replying to HASH-with-link in thread TITLE-without-link ... (check-in: 0b6b3a00 user: stephan tags: trunk)
2022-11-20
08:42
Update the built-in zlib to version 1.2.13, released on October 13, 2022. ... (check-in: a9e589ca user: florian tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/forum.c.

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");


    if( pRootPost->zThreadTitle ){
      @ <h1>Thread: %h(pRootPost->zThreadTitle)</h1>
    }
    @ <h2>Replying To:
    @ <a href="%R/forumpost/%!S(zFpid)" target="_blank">%S(zFpid)</a>
    @ <a href="%R/forumpost/%!S(zFpid)?raw" target="_blank">[source]</a>
    @ </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) ){







>
>

|

<
<
<
|







1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333



1334
1335
1336
1337
1338
1339
1340
1341
    forum_post_widget(zTitle, zMimetype, zContent);
  }else{
    /* Reply */
    char *zDisplayName;
    zMimetype = PD("mimetype",DEFAULT_FORUM_MIMETYPE);
    zContent = PDT("content","");
    style_header("Reply");
    @ <h1>Replying to
    @ <a href="%R/forumpost/%!S(zFpid)" target="_blank">%S(zFpid)</a>
    if( pRootPost->zThreadTitle ){
      @ in thread %h(pRootPost->zThreadTitle)
    }



    @ </h1>
    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) ){