Client Notice Manager - TinyMCE
#1
Client Notice Manager - TinyMCE
I noticed TinyMCE was added to the Client Notice Manager module which is a great addition!
However, the actual notice that is displayed doesn't take note of the HTML and just displays it all as plain text.

For example if I wanted:

Welcome, click here for help!

It would display in the actual notice as:

<strong>Welcome,</strong> <a href="#">click here</a> for help!
My geeky side: thefuzz.xyz | Photo & Video: fuzzymannerz.co.uk
Reply
#2
RE: Client Notice Manager - TinyMCE
I'll check my version, I had added tinyMCE a couple years back and had to remove a check that disables HTML in it.
The check isn't in the module. I'll have to check the core coding...
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#3
RE: Client Notice Manager - TinyMCE
Found it Smile
In /panel/dryden/ui/tpl/notice.class.php
PHP Code:
                   //runtime_xss::xssClean($result['ac_notice_tx']),
         
   $result['ac_notice_tx'], // allows HTML in Client Notices 
Make that small change and it should work just fine Wink

SECURITY NOTICE: By disabling the check mentioned above, you may be vulnerable to malicious XSS and other possible security risks. Use at your own risk!
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#4
RE: Client Notice Manager - TinyMCE
(10-07-2015, 04:01 AM)TGates Wrote: Found it Smile
In /panel/dryden/ui/tpl/notice.class.php
PHP Code:
                   //runtime_xss::xssClean($result['ac_notice_tx']),
         
   $result['ac_notice_tx'], // allows HTML in Client Notices 
Make that small change and it should work just fine Wink

Thanks dude,

Edit: It works. Smile
My geeky side: thefuzz.xyz | Photo & Video: fuzzymannerz.co.uk
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Disabling warning and notice logging in /var/sentora/logs/domains/* JSmith 0 3 ,353 01-02-2021, 07:50 PM
Last Post: JSmith
Update extplorer and panels client poseidon97 0 4 ,858 02-06-2020, 11:40 PM
Last Post: poseidon97
DNS Manager - Unable to find requested module! obrempong7 0 3 ,451 11-18-2019, 07:59 AM
Last Post: obrempong7

Forum Jump:


Users browsing this thread: 1 Guest(s)