#12398 change urls wiki

This commit is contained in:
Jonathan 2023-12-12 12:22:51 +01:00
parent f5a455aa15
commit c593161525
10 changed files with 357 additions and 357 deletions

View File

@ -100,9 +100,9 @@ echo sprintf('<div id="header_table" class="header_table_%s">', $menuTypeClass);
if ($check_minor_release_available === true) {
if (users_is_admin($config['id_user'])) {
if ($config['language'] === 'es') {
set_pandora_error_for_header('Hay una o mas revisiones menores en espera para ser actualizadas. <a id="aviable_updates" target="blank" href="https://pandorafms.com/manual/es/documentation/02_installation/02_anexo_upgrade#version_70ng_rolling_release">'.__('Sobre actualización de revisión menor').'</a>', 'Revisión/es menor/es disponible/s');
set_pandora_error_for_header('Hay una o mas revisiones menores en espera para ser actualizadas. <a id="aviable_updates" target="blank" href="https://pandorafms.com/manual/es/documentation/pandorafms/installation/02_anexo_upgrade#version_70ng_rolling_release">'.__('Sobre actualización de revisión menor').'</a>', 'Revisión/es menor/es disponible/s');
} else {
set_pandora_error_for_header('There are one or more minor releases waiting for update. <a id="aviable_updates" target="blank" href="https://pandorafms.com/manual/en/documentation/02_installation/02_anexo_upgrade#version_70ng_rolling_release">'.__('About minor release update').'</a>', 'minor release/s available');
set_pandora_error_for_header('There are one or more minor releases waiting for update. <a id="aviable_updates" target="blank" href="https://pandorafms.com/manual/en/documentation/pandorafms/installation/02_anexo_upgrade#version_70ng_rolling_release">'.__('About minor release update').'</a>', 'minor release/s available');
}
}
}

View File

@ -21,7 +21,7 @@ if (empty($custom_conf_enabled) === true || isset($config['custom_docs_url_alt']
if (isset($config['custom_docs_url_alt']) === true) {
$docs_url = $config['custom_docs_url_alt'];
} else {
$docs_url = 'https://pandorafms.com/manual/en/documentation/02_installation/04_configuration';
$docs_url = 'https://pandorafms.com/manual/en/documentation/pandorafms/installation/04_configuration';
}
}

View File

@ -19,9 +19,9 @@
global $config;
if ($config['language'] == 'es') {
$url_help = 'https://pandorafms.com/manual/es/documentation/07_technical_annexes/18_php_8';
$url_help = 'https://pandorafms.com/manual/es/documentation/pandorafms/technical_annexes/18_php_8';
} else {
$url_help = 'https://pandorafms.com/manual/en/documentation/07_technical_annexes/18_php_8';
$url_help = 'https://pandorafms.com/manual/en/documentation/pandorafms/technical_annexes/18_php_8';
}
// Prints help dialog information

View File

@ -1769,13 +1769,13 @@ ui_require_jquery_file('json');
) {
if (language == 'es') {
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/02_operations#tipos_de_modulos',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/02_operations#tipos_de_modulos',
'_blank',
'width=800,height=600'
);
} else {
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/02_operations#types_of_modules',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/02_operations#types_of_modules',
'_blank',
'width=800,height=600'
);
@ -1788,13 +1788,13 @@ ui_require_jquery_file('json');
) {
if (language == 'es') {
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_icmp',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/03_remote_monitoring#monitorizacion_icmp',
'_blank',
'width=800,height=600'
);
} else {
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring#icmp_monitoring',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/03_remote_monitoring#icmp_monitoring',
'_blank',
'width=800,height=600'
);
@ -1809,13 +1809,13 @@ ui_require_jquery_file('json');
) {
if (language == 'es') {
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizando_con_modulos_de_red_tipo_snmp',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/03_remote_monitoring#monitorizando_con_modulos_de_red_tipo_snmp',
'_blank',
'width=800,height=600'
);
} else {
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring#monitoring_through_network_modules_with_snmp',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/03_remote_monitoring#monitoring_through_network_modules_with_snmp',
'_blank',
'width=800,height=600'
);
@ -1829,13 +1829,13 @@ ui_require_jquery_file('json');
) {
if (language == 'es') {
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_tcp',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/03_remote_monitoring#monitorizacion_tcp',
'_blank',
'width=800,height=600'
);
} else {
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring#tcp_monitoring',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/03_remote_monitoring#tcp_monitoring',
'_blank',
'width=800,height=600'
);
@ -1848,13 +1848,13 @@ ui_require_jquery_file('json');
) {
if (language == 'es') {
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/06_web_monitoring#creacion_de_modulos_web',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/06_web_monitoring#creacion_de_modulos_web',
'_blank',
'width=800,height=600'
);
} else {
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/06_web_monitoring#creating_web_modules',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/06_web_monitoring#creating_web_modules',
'_blank',
'width=800,height=600'
);

View File

@ -559,14 +559,14 @@ $next_row++;
){
if (language == 'es'){
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/02_operations#tipos_de_modulos',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/02_operations#tipos_de_modulos',
'_blank',
'width=800,height=600'
);
}
else{
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/02_operations#types_of_modules',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/02_operations#types_of_modules',
'_blank',
'width=800,height=600'
);
@ -579,14 +579,14 @@ $next_row++;
){
if(language == 'es'){
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_icmp',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/03_remote_monitoring#monitorizacion_icmp',
'_blank',
'width=800,height=600'
);
}
else{
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring#icmp_monitoring',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/03_remote_monitoring#icmp_monitoring',
'_blank',
'width=800,height=600'
);
@ -601,14 +601,14 @@ $next_row++;
){
if(language == 'es'){
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizando_con_modulos_de_red_tipo_snmp',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/03_remote_monitoring#monitorizando_con_modulos_de_red_tipo_snmp',
'_blank',
'width=800,height=600'
);
}
else{
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring&printable=yes#monitoring_through_network_modules_with_snmp',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/03_remote_monitoring&printable=yes#monitoring_through_network_modules_with_snmp',
'_blank',
'width=800,height=600'
);
@ -623,14 +623,14 @@ $next_row++;
){
if(language == 'es'){
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_tcp',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/03_remote_monitoring#monitorizacion_tcp',
'_blank',
'width=800,height=600'
);
}
else{
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring&printable=yes#tcp_monitoring',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/03_remote_monitoring&printable=yes#tcp_monitoring',
'_blank',
'width=800,height=600'
);
@ -645,14 +645,14 @@ $next_row++;
){
if(language == 'es'){
window.open(
'https://pandorafms.com/manual/es/documentation/03_monitoring/06_web_monitoring#creacion_de_modulos_web',
'https://pandorafms.com/manual/es/documentation/pandorafms/monitoring/06_web_monitoring#creacion_de_modulos_web',
'_blank',
'width=800,height=600'
);
}
else{
window.open(
'https://pandorafms.com/manual/en/documentation/03_monitoring/06_web_monitoring#creating_web_modules',
'https://pandorafms.com/manual/en/documentation/pandorafms/monitoring/06_web_monitoring#creating_web_modules',
'_blank',
'width=800,height=600'
);

View File

@ -177,7 +177,7 @@ if ($create_mail_alert) {
}
if ($alert_created === true) {
ui_print_success_message(__('Congratulations, you have already created a simple alert. <a href='.ui_get_full_url('index.php?sec=galertas&sec2=godmode/alerts/alert_list&tab=list&pure=0').'>You can see it.</a> Pandora FMS alerts are very flexible, you can do many more things with them, we recommend you to read the <a href="https://pandorafms.com/manual/start?id=en/documentation/04_using/01_alerts">documentation</a> for more information. You can create advanced alerts from <a href='.ui_get_full_url('index.php?sec=galertas&sec2=godmode/alerts/alert_actions').'>here</a>.'));
ui_print_success_message(__('Congratulations, you have already created a simple alert. <a href='.ui_get_full_url('index.php?sec=galertas&sec2=godmode/alerts/alert_list&tab=list&pure=0').'>You can see it.</a> Pandora FMS alerts are very flexible, you can do many more things with them, we recommend you to read the <a href="https://pandorafms.com/manual/start?id=en/documentation/pandorafms/management_and_operation/01_alerts">documentation</a> for more information. You can create advanced alerts from <a href='.ui_get_full_url('index.php?sec=galertas&sec2=godmode/alerts/alert_actions').'>here</a>.'));
}
}

View File

@ -371,9 +371,9 @@ class AgentDeployWizard
echo '<form id="form_generate_installer" method="post" action="index.php?sec=gagente&amp;sec2=godmode/agentes/agent_deploy">';
if ($config['language'] === 'es') {
$instructions_url = 'https://pandorafms.com/manual/es/documentation/02_installation/05_configuration_agents';
$instructions_url = 'https://pandorafms.com/manual/es/documentation/pandorafms/installation/05_configuration_agents';
} else {
$instructions_url = 'https://pandorafms.com/manual/en/documentation/02_installation/05_configuration_agents';
$instructions_url = 'https://pandorafms.com/manual/en/documentation/pandorafms/installation/05_configuration_agents';
}
$instructions_link = '<a class="green-link" style="font-size: 15px;" href="'.$instructions_url.'" target="_blank">'.__('view the following instructions').'</a>';
@ -450,9 +450,9 @@ class AgentDeployWizard
$content .= html_print_code_picker('start_service_box_linux', '', 'installer-code-fragment', true, true);
if ($config['language'] === 'es') {
$linux_dependencies_url = 'https://pandorafms.com/manual/es/documentation/02_installation/01_installing#requisitos_para_el_agente';
$linux_dependencies_url = 'https://pandorafms.com/manual/es/documentation/pandorafms/installation/01_installing#requisitos_para_el_agente';
} else {
$linux_dependencies_url = 'https://pandorafms.com/manual/en/documentation/02_installation/01_installing#agent_requirements';
$linux_dependencies_url = 'https://pandorafms.com/manual/en/documentation/pandorafms/installation/01_installing#agent_requirements';
}
$linux_dependencies_link = '<a class="green-link" href="'.$linux_dependencies_url.'" target="_blank">'.__('dependencies').'</a>';

View File

@ -1462,9 +1462,9 @@ class ConsoleSupervisor
FROM tserver'
);
if ($nservers == 0) {
$url = 'https://pandorafms.com/manual/en/documentation/02_installation/04_configuration';
$url = 'https://pandorafms.com/manual/en/documentation/pandorafms/installation/04_configuration';
if ($config['language'] == 'es') {
$url = 'https://pandorafms.com/manual/es/documentation/02_installation/04_configuration';
$url = 'https://pandorafms.com/manual/es/documentation/pandorafms/installation/04_configuration';
}
$this->notify(
@ -1578,9 +1578,9 @@ class ConsoleSupervisor
if ($n_masters <= 0) {
// No server running in master.
$url = 'https://pandorafms.com/manual/en/documentation/02_installation/04_configuration#master';
$url = 'https://pandorafms.com/manual/en/documentation/pandorafms/installation/04_configuration#master';
if ($config['language'] == 'es') {
$url = 'https://pandorafms.com/manual/es/documentation/02_installation/04_configuration#master';
$url = 'https://pandorafms.com/manual/es/documentation/pandorafms/installation/04_configuration#master';
}
$this->notify(
@ -1773,7 +1773,7 @@ class ConsoleSupervisor
if (!isset($result_ejecution) || $result_ejecution == '') {
$url = 'https://www.chromium.org/getting-involved/download-chromium/';
// if ($config['language'] == 'es') {
// $url = 'https://pandorafms.com/manual/es/documentation/02_installation/04_configuration#Phantomjs';
// $url = 'https://pandorafms.com/manual/es/documentation/pandorafms/installation/04_configuration#Phantomjs';
// }
$this->notify(
[
@ -1788,13 +1788,13 @@ class ConsoleSupervisor
}
if ($php_version_array[0] < 8) {
$url = 'https://pandorafms.com/manual/en/documentation/07_technical_annexes/18_php_8';
$url = 'https://pandorafms.com/manual/en/documentation/pandorafms/technical_annexes/18_php_8';
if ($config['language'] == 'es') {
$url = 'https://pandorafms.com/manual/es/documentation/07_technical_annexes/18_php_8';
$url = 'https://pandorafms.com/manual/es/documentation/pandorafms/technical_annexes/18_php_8';
}
if ($config['language'] == 'ja') {
$url = 'https://pandorafms.com/manual/ja/documentation/07_technical_annexes/18_php_8';
$url = 'https://pandorafms.com/manual/ja/documentation/pandorafms/technical_annexes/18_php_8';
}
$this->notify(
@ -2608,9 +2608,9 @@ class ConsoleSupervisor
$check_minor_release_available = db_check_minor_relase_available();
if ($check_minor_release_available) {
$url = 'https://pandorafms.com/manual/es/documentation/02_installation/02_anexo_upgrade#version_70ng_rolling_release';
$url = 'https://pandorafms.com/manual/es/documentation/pandorafms/installation/02_anexo_upgrade#version_70ng_rolling_release';
if ($config['language'] == 'es') {
$url = 'https://pandorafms.com/manual/en/documentation/02_installation/02_anexo_upgrade#version_70ng_rolling_release';
$url = 'https://pandorafms.com/manual/en/documentation/pandorafms/installation/02_anexo_upgrade#version_70ng_rolling_release';
}
$this->notify(

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,7 @@ if ($issues) {
echo sprintf(
'PandoraFMS requires PHP 8.0 to work properly and the version %s has been detected. Please update the PHP version of the system. More info %s. The latest version with PHP 7.4 support is PandoraFMS 767 hope LTS.',
PHP_VERSION,
'<a style="font-size: initial;" target="_blank" href="https://pandorafms.com/manual/en/documentation/07_technical_annexes/18_php_8">here</a>'
'<a style="font-size: initial;" target="_blank" href="https://pandorafms.com/manual/en/documentation/pandorafms/technical_annexes/18_php_8">here</a>'
);
echo '</div></div></center></div>';
}