diff --git a/src/etc/inc/functions.inc b/src/etc/inc/functions.inc index 6e5ce6319..2d8f4a9a6 100644 --- a/src/etc/inc/functions.inc +++ b/src/etc/inc/functions.inc @@ -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 .= "