-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
-// disclosure are subject to the GNU General Public License v3.
+// disclosure is subject to the GNU General Public License v3.
// Inline display the author of a message. This can be called from many different views.
// For messages originating locally, it renders the display name linked to their profile.
// For messages originating locally, it renders the display name and their email address.
-function render_msg_author(msg) {
- if (msg.locl) {
+function render_msg_author(msg, view) {
+ if ((msg.locl) && (view == views.VIEW_BBS)) {
return(
"<span class=\"ctdl-username\" onClick=\"javascript:user_profile('" + msg.from + "');\">"
+ msg.from