summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/actionconf.php1
-rw-r--r--frontends/php/graphs.php2
-rw-r--r--frontends/php/latestalarms.php2
3 files changed, 5 insertions, 0 deletions
diff --git a/frontends/php/actionconf.php b/frontends/php/actionconf.php
index b161ee33..b88a324f 100644
--- a/frontends/php/actionconf.php
+++ b/frontends/php/actionconf.php
@@ -28,6 +28,7 @@
?>
<?php
+ update_profile("web.menu.config.last",$page["file"]);
// if(($_REQUEST["triggerid"]!=0)&&!check_right_on_trigger("U",$_REQUEST["triggerid"]))
// {
// show_table_header("<font color=\"AA0000\">".S_NO_PERMISSIONS."</font>");
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php
index 683b76ac..b394da38 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -38,6 +38,8 @@
show_footer();
exit;
}
+ $_REQUEST["hostid"]=@iif(isset($_REQUEST["hostid"]),$_REQUEST["hostid"],get_profile("web.latest.hostid",0));
+ update_profile("web.latest.hostid",$_REQUEST["hostid"]);
update_profile("web.menu.config.last",$page["file"]);
?>
diff --git a/frontends/php/latestalarms.php b/frontends/php/latestalarms.php
index 8ccaa0fe..70fe3ddc 100644
--- a/frontends/php/latestalarms.php
+++ b/frontends/php/latestalarms.php
@@ -52,6 +52,8 @@
?>
<?php
+ $_REQUEST["hostid"]=@iif(isset($_REQUEST["hostid"]),$_REQUEST["hostid"],get_profile("web.latest.hostid",0));
+ update_profile("web.latest.hostid",$_REQUEST["hostid"]);
update_profile("web.menu.view.last",$page["file"]);
?>