2018-11-14 18:15:48 +01:00
|
|
|
<?php
|
|
|
|
|
2021-11-04 16:28:15 +01:00
|
|
|
// Pandora FMS - http://pandorafms.com
|
2018-11-14 18:15:48 +01:00
|
|
|
// ==================================================
|
2020-11-27 13:52:35 +01:00
|
|
|
// Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
|
2018-11-14 18:15:48 +01:00
|
|
|
// Please see http://pandorafms.org for full contribution list
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @package General
|
|
|
|
*/
|
|
|
|
|
|
|
|
global $config;
|
|
|
|
|
|
|
|
if ($config['language'] == 'es') {
|
2022-11-23 08:43:41 +01:00
|
|
|
$url_help = 'https://pandorafms.com/manual/es/documentation/07_technical_annexes/18_php_8';
|
2019-01-30 16:18:44 +01:00
|
|
|
} else {
|
2022-11-23 08:43:41 +01:00
|
|
|
$url_help = 'https://pandorafms.com/manual/en/documentation/07_technical_annexes/18_php_8';
|
2018-11-14 18:15:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Prints help dialog information
|
2021-03-11 15:40:23 +01:00
|
|
|
echo '<div id="login_help_dialog" title="PHP UPDATE REQUIRED" class="invisible">';
|
|
|
|
echo '<div class="login_help_dialog">';
|
2022-11-22 16:32:10 +01:00
|
|
|
echo "<p><b class='font_10'>".__('For a correct operation of PandoraFMS, PHP must be updated to version 8.0 or higher.').'</b></p>';
|
2021-03-11 15:40:23 +01:00
|
|
|
echo "<p class='font_10'><b>".__('Otherwise, functionalities will be lost.').'</b></p>';
|
2019-01-30 16:18:44 +01:00
|
|
|
echo '<ul>';
|
2021-03-11 15:40:23 +01:00
|
|
|
echo "<li class='pdd_5px'>".__('Report download in PDF format').'</li>';
|
|
|
|
echo "<li class='pdd_5px'>".__('Emails Sending').'</li>';
|
|
|
|
echo "<li class='pdd_5px'>".__('Metaconsole Collections').'</li>';
|
|
|
|
echo "<li class='pdd_5px'>".'...'.'</li>';
|
2019-01-30 16:18:44 +01:00
|
|
|
echo '</ul>';
|
|
|
|
echo '<p><a target="blank" href="'.$url_help.'"><b>'.__('Access Help').'</b></a></p>';
|
|
|
|
echo '</div>';
|
2021-03-11 15:40:23 +01:00
|
|
|
echo "<div class='mrg_top_80'>";
|
2019-01-30 16:18:44 +01:00
|
|
|
echo html_print_image('images/icono_warning_mr.png', true, ['alt' => __('Warning php version'), 'border' => 0]);
|
|
|
|
echo '</div>';
|
2018-11-14 18:15:48 +01:00
|
|
|
echo '</div>';
|
|
|
|
?>
|
|
|
|
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
|
|
/* <![CDATA[ */
|
|
|
|
|
|
|
|
$(document).ready (function () {
|
2019-01-30 16:18:44 +01:00
|
|
|
$("#login_help_dialog").dialog({
|
|
|
|
resizable: true,
|
|
|
|
draggable: true,
|
|
|
|
modal: true,
|
|
|
|
height: 320,
|
|
|
|
width: 550,
|
|
|
|
overlay: {
|
|
|
|
opacity: 0.5,
|
|
|
|
background: "black"
|
|
|
|
}
|
|
|
|
});
|
2018-11-14 18:15:48 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
/* ]]> */
|
|
|
|
</script>
|