diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-19 21:47:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-19 21:47:45 +0000 |
commit | 91d3d4429a8b151378db3b0c3ac91e9162ac239e (patch) | |
tree | eda07500339a34e79be5ea47e22d463b24c3727d | |
parent | c8f13bdb18d17c35dd2e8a9c44d50b3db0581081 (diff) | |
download | pfsense-91d3d4429a8b151378db3b0c3ac91e9162ac239e.zip pfsense-91d3d4429a8b151378db3b0c3ac91e9162ac239e.tar.gz |
Acknowledge Alerts correctly from the package manager
-rwxr-xr-x | usr/local/www/fbegin.inc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index f0c57a4..a52066c 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -74,7 +74,16 @@ require_once("notices.inc"); $noticemsg = str_replace("</pre>", "", $noticemsg); $noticemsg = str_replace("</p>", "", $noticemsg); $noticemsg = str_replace("<br>", "", $noticemsg); - $notice_msgs = '<a href="?noticeaction=acknowledge¬iceid=all">Acknowledge All</a> .:. '; + $extra_args = ""; + if($_GET['xml']) + $extraargs="&xml=" . $_GET['xml']; + if($_POST['xml']) + $extraargs="&xml=" . $_POST['xml']; + if($_GET['id']) + $extraargs="&xml=" . $_GET['id']; + if($_POST['id']) + $extraargs="&xml=" . $_POST['id']; + $notice_msgs = '<a href="?noticeaction=acknowledge¬iceid=all' . $extraargs . '">Acknowledge All</a> .:. '; if ($value['url']) { $notice_msgs .= $date.' - <a href="'.$url.'?'.$request_string.'¬iceaction=acknowledge¬iceid='.$key.'">['.$value['id'].']</a>'; } else { @@ -264,4 +273,4 @@ require_once("notices.inc"); echo "</div>"; } -?> +?>
\ No newline at end of file |