Added helps

Former-commit-id: 0f3894ec81918c25e33bfb67463f4709e156c374
This commit is contained in:
manuel 2019-05-07 11:34:09 +02:00
parent 00b5fc0a2c
commit b2b4372c9d
3 changed files with 15 additions and 2 deletions

View File

@ -657,6 +657,7 @@ if ($id_agente) {
break;
default:
// Default.
break;
}

View File

@ -5501,9 +5501,9 @@ function get_help_info($section_name)
case 'local_module_tab':
if ($es) {
$result .= 'Operacion&printable=yes#Tipos_de_m.C3.B3dulos';
$result .= 'Intro_Monitorizacion&printable=yes#Par.C3.A1metros_comunes';
} else {
$result .= 'Operations&printable=yes#Types_of_Modules';
$result .= 'Intro_Monitoring&printable=yes#Common_Parameters';
}
break;

View File

@ -34,6 +34,18 @@ function winopeng_var(url, wid, width, height) {
}
function open_help(url) {
if (!navigator.onLine) {
alert(
"The help system could not be started. Please, check your network connection."
);
return;
}
if (url == "") {
alert(
"The help system is currently under maintenance. Sorry for the inconvenience."
);
return;
}
open(
url,
"pandorahelp",