mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(legacy) remove unused
This commit is contained in:
parent
47742185a1
commit
cc3dba6316
@ -93,14 +93,8 @@ function get_menu_messages()
|
||||
$date = date("m-d-y H:i:s", $key);
|
||||
$noticemsg = ($value['notice'] != "" ? $value['notice'] : $value['id']);
|
||||
$noticemsg = preg_replace("/(\"|\'|\n|<.?\w+>)/i","",$noticemsg);
|
||||
if ((strlen($noticemsg)* 8) > $domtt_width) {
|
||||
$domtt_width=(strlen($noticemsg) *8);
|
||||
}
|
||||
if ((strlen($noticemsg)* 8) > 900) {
|
||||
$domtt_width= 900;
|
||||
}
|
||||
$alert_action ="onclick=\"notice_action('acknowledge','{$key}'); jQuery(this).parent().parent().remove();\"";
|
||||
$notice_msgs .= "<li><a href=\"#\" {$alert_link} {$alert_action}>{$date} [ ".htmlspecialchars($noticemsg)."]</a></li>";
|
||||
$notice_msgs .= "<li><a href=\"#\" {$alert_action}>{$date} [ ".htmlspecialchars($noticemsg)."]</a></li>";
|
||||
}
|
||||
|
||||
$notice_msgs .="</ul>";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user