(legacy) remove unused

This commit is contained in:
Ad Schellevis 2015-07-06 18:17:37 +00:00
parent 47742185a1
commit cc3dba6316

View File

@ -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>";