2018-11-14 18:15:48 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
2018-11-15 15:33:46 +01:00
|
|
|
// Copyright (c) 2005-2019 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') {
|
|
|
|
$url_help = 'https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_es:Instalaci%C3%B3n_y_actualizaci%C3%B3n_PHP_7';
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
$url_help = 'https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:_PHP_7';
|
|
|
|
}
|
|
|
|
|
|
|
|
// Prints help dialog information
|
2018-11-15 15:33:46 +01:00
|
|
|
echo '<div id="login_help_dialog" title="PHP UPDATE REQUIRED" style="display: none;">';
|
2018-11-14 18:15:48 +01:00
|
|
|
echo '<div style="width:70%; font-size: 10pt; margin: 20px; float:left">';
|
2018-11-15 15:33:46 +01:00
|
|
|
echo "<p><b style='font-size: 10pt;'>" . __('For a correct operation of PandoraFMS, PHP must be updated to version 7.0 or higher.') . "</b></p>";
|
|
|
|
echo "<p style='font-size: 10pt;'><b>" . __('Otherwise, functionalities will be lost.') . "</b></p>";
|
2018-11-14 18:15:48 +01:00
|
|
|
echo "<ul>";
|
|
|
|
echo "<li style='padding:5px;'>" . __('Report download in PDF format') . "</li>";
|
2018-11-15 15:33:46 +01:00
|
|
|
echo "<li style='padding:5px;'>" . __('Emails Sending') . "</li>";
|
2018-11-14 18:15:48 +01:00
|
|
|
echo "<li style='padding:5px;'>" . __('Metaconsole Collections') . "</li>";
|
|
|
|
echo "<li style='padding:5px;'>" . '...' . "</li>";
|
|
|
|
echo "</ul>";
|
2018-11-15 13:22:54 +01:00
|
|
|
echo '<p><a target="blank" href="' . $url_help . '"><b>'.__('Access Help').'</b></a></p>';
|
2018-11-14 18:15:48 +01:00
|
|
|
echo '</div>';
|
|
|
|
echo "<div style='margin-top: 80px;'>";
|
|
|
|
echo html_print_image('images/icono_warning_mr.png', true, array("alt" => __('Warning php version'), "border" => 0));
|
|
|
|
echo "</div>";
|
|
|
|
echo '</div>';
|
|
|
|
?>
|
|
|
|
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
|
|
/* <![CDATA[ */
|
|
|
|
|
|
|
|
$(document).ready (function () {
|
|
|
|
$("#login_help_dialog").dialog({
|
|
|
|
resizable: true,
|
|
|
|
draggable: true,
|
|
|
|
modal: true,
|
|
|
|
height: 320,
|
|
|
|
width: 550,
|
|
|
|
overlay: {
|
|
|
|
opacity: 0.5,
|
|
|
|
background: "black"
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
/* ]]> */
|
|
|
|
</script>
|