mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Ticket 3462: Provided snmp help/std help based on referer
This commit is contained in:
parent
d7d44d84e8
commit
9865bf7aff
@ -110,7 +110,14 @@ if (is_ajax ()) {
|
|||||||
}
|
}
|
||||||
//If the field is the number one, print the help message
|
//If the field is the number one, print the help message
|
||||||
if ($i == 1) {
|
if ($i == 1) {
|
||||||
|
// If our context is snmpconsole, show snmp_alert helps
|
||||||
|
if ((isset ($_SERVER["HTTP_REFERER"])) && ( preg_match ("/snmp_alert/", $_SERVER["HTTP_REFERER"]) > 0 )){
|
||||||
|
$fdesc .= ui_print_help_icon ('snmp_alert_field1',true);
|
||||||
|
}
|
||||||
|
else {
|
||||||
$fdesc .= ui_print_help_icon ('alert_config', true);
|
$fdesc .= ui_print_help_icon ('alert_config', true);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user