This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Client Notice Manager
#1
Client Notice Manager
Hi there to all.

I need to make a few changes in the client notice manager for my hosting users, by checking some of the forum searches i found a post that provided me the location of the file, now i need to make it html and not just plain text, does anyone knows how? I paste there the code, any help will be much appreciated. 

Client Notice Manager:

Code:
<?php

class ui_tpl_notice {

   public static function Template() {
       $user_array = ctrl_users::GetUserDetail();
       global $zdbh;
       $result = $zdbh->query("SELECT ac_notice_tx FROM x_accounts WHERE ac_id_pk = " . $user_array['resellerid'] . "")->Fetch();
       if ($result) {
           if ($result['ac_notice_tx'] <> "")
               return ui_sysmessage::shout(
                   runtime_xss::xssClean($result['ac_notice_tx']),
                   'notice',
                   'Notice:',
                   true
               );
           return false;
       } else {
           return false;
       }
   }

}

?>
'' Life is full of important choices ''
Help Sentora Donate now => http://sentora.org/donate Blush
Reply
Thanks given by:


Messages In This Thread
Client Notice Manager - by wormsunited - 06-07-2016, 12:21 PM
RE: Client Notice Manager - by Ron-e - 06-07-2016, 09:57 PM
RE: Client Notice Manager - by TGates - 06-08-2016, 12:18 AM
RE: Client Notice Manager - by wormsunited - 06-24-2016, 09:46 AM
RE: Client Notice Manager - by Ron-e - 06-24-2016, 01:37 PM
RE: Client Notice Manager - by wormsunited - 07-08-2016, 06:43 PM
RE: Client Notice Manager - by TGates - 07-09-2016, 12:23 AM
RE: Client Notice Manager - by wormsunited - 07-09-2016, 11:04 AM
RE: Client Notice Manager - by TGates - 07-12-2016, 04:06 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)