I am so sorry for my delay folks.
Here is the code i used, made my edits and then i changed back, instructions provided in the comments (fully commented)
I hope this can help the community
Here is the code i used, made my edits and then i changed back, instructions provided in the comments (fully commented)
PHP Code:
<?php
/**
* @copyright 2014-2015 Sentora Project (http://www.sentora.org/)
* Sentora is a GPL fork of the ZPanel Project whose original header follows:
*
* Generic template place holder class.
* @package zpanelx
* @subpackage dryden -> ui -> tpl
* @version 1.1.0
* @author Bobby Allen (ballen@bobbyallen.me)
* @copyright ZPanel Project (http://www.zpanelcp.com/)
* @link http://www.zpanelcp.com/
* @license GPL (http://www.gnu.org/licenses/gpl.html)
*
*
* File location: /etc/sentora/panel/dryden/ui/tpl/notice.class.php
* Edited by wormsunited = Help Sentora, donate now (http://sentora.org/donate)
* Remove the code on line 34 of this code
* CODE: runtime_xss::xssClean($result['ac_notice_tx'] = To plain text
* CODE: ($result['ac_notice_tx'] = For HTML tags
*
* ATTENTION: USE AT YOUR OWN RISK
*
*/
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(
($result['ac_notice_tx']),
'notice',
// YOU CAN ADD LINKS AND MORE HERE TOO
'Visit my website: <a href="http://google.com" target="_blank">Click here</a>',
true
);
return false;
} else {
return false;
}
}
}
?>
I hope this can help the community
'' Life is full of important choices ''
Help Sentora Donate now => http://sentora.org/donate
Help Sentora Donate now => http://sentora.org/donate