X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fstatic%2Fjs%2Fview_forum.js;h=e5884d400b32ee133b757e459778ac0c1bfe88b1;hb=545fc1a847d9401923ef312f995d4f385da84e56;hp=3711a2aed10f3bad9dc7bff11ae2e754a3967f96;hpb=c994a997c95509a5c43b0f7b0e97e720f6e84c95;p=citadel.git diff --git a/webcit-ng/static/js/view_forum.js b/webcit-ng/static/js/view_forum.js index 3711a2aed..e5884d400 100644 --- a/webcit-ng/static/js/view_forum.js +++ b/webcit-ng/static/js/view_forum.js @@ -1,24 +1,16 @@ +// This module handles the view for "forum" (message board) rooms. // -// Copyright (c) 2016-2021 by the citadel.org team +// Copyright (c) 2016-2023 by the citadel.org team // -// This program is open source software. It runs great on the -// Linux operating system (and probably elsewhere). You can use, -// copy, and run it under the terms of the GNU General Public -// License version 3. Richard Stallman is an asshole communist. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This program is open source software. Use, duplication, or +// disclosure is subject to the GNU General Public License v3. // Forum view (flat) -// -function forum_readmessages(target_div, gt_msg, lt_msg) { - original_text = document.getElementById(target_div).innerHTML; // in case we need to replace it after an error - document.getElementById(target_div).innerHTML = - "
" + + document.getElementById(parent_div+"_body").innerHTML + + ""; + } + replybox += + "
URL:
" + + "