Commit cc3dba63 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove unused

parent 47742185
...@@ -93,14 +93,8 @@ function get_menu_messages() ...@@ -93,14 +93,8 @@ function get_menu_messages()
$date = date("m-d-y H:i:s", $key); $date = date("m-d-y H:i:s", $key);
$noticemsg = ($value['notice'] != "" ? $value['notice'] : $value['id']); $noticemsg = ($value['notice'] != "" ? $value['notice'] : $value['id']);
$noticemsg = preg_replace("/(\"|\'|\n|<.?\w+>)/i","",$noticemsg); $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();\""; $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>"; $notice_msgs .="</ul>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment