summaryrefslogtreecommitdiffstats
path: root/usr/local/www/fbegin.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-19 21:47:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-19 21:47:45 +0000
commit91d3d4429a8b151378db3b0c3ac91e9162ac239e (patch)
treeeda07500339a34e79be5ea47e22d463b24c3727d /usr/local/www/fbegin.inc
parentc8f13bdb18d17c35dd2e8a9c44d50b3db0581081 (diff)
downloadpfsense-91d3d4429a8b151378db3b0c3ac91e9162ac239e.zip
pfsense-91d3d4429a8b151378db3b0c3ac91e9162ac239e.tar.gz
Acknowledge Alerts correctly from the package manager
Diffstat (limited to 'usr/local/www/fbegin.inc')
-rwxr-xr-xusr/local/www/fbegin.inc13
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&noticeid=all">Acknowledge All</a> &nbsp;&nbsp;&nbsp;&nbsp;.:.&nbsp;&nbsp;&nbsp;&nbsp; ';
+ $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&noticeid=all' . $extraargs . '">Acknowledge All</a> &nbsp;&nbsp;&nbsp;&nbsp;.:.&nbsp;&nbsp;&nbsp;&nbsp; ';
if ($value['url']) {
$notice_msgs .= $date.' - <a href="'.$url.'?'.$request_string.'&noticeaction=acknowledge&noticeid='.$key.'">['.$value['id'].']</a>';
} else {
@@ -264,4 +273,4 @@ require_once("notices.inc");
echo "</div>";
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud