Geeklog-Core / geeklog

Geeklog - The Secure CMS.
https://www.geeklog.net
24 stars 19 forks source link

Signature Postmode is Missing from Admin User Editor #1119

Closed eSilverStrike closed 2 years ago

eSilverStrike commented 2 years ago

Related to #749

The signature postmode is missing from the Admin User Editor.

Doing a quick search through the code it looks like the signature is used by comments, sending a contact email to a user, and by the forum plugin. (any others???)

All these still assume the signature is plaintext. This also needs to be fixed as some just use COM_nl2br while others don't, but use PLG_replaceTags. Maybe a standard function to retrieve the signature and format it to be used by all?

Signatures also may need to be displayed either in html or plaintext independently of how it is initially stored (for example emails with signature and sent both in HTML and plain text)

eSilverStrike commented 2 years ago

Added $LANG31['sig_divider_html'] and $LANG31['sig_divider'] for consistency so signature divider could be the same everywhere.

I don't think common function is needed for signature just see how it is done in profiles.php and contactemail function. This handling of signature should be replicated to comments, forum, etc...