2016-10-31 16:19:46 +01:00
|
|
|
<?php
|
|
|
|
|
2023-06-08 13:19:01 +02:00
|
|
|
// Pandora FMS - https://pandorafms.com
|
2016-10-31 16:19:46 +01:00
|
|
|
// ==================================================
|
2023-06-08 11:53:13 +02:00
|
|
|
// Copyright (c) 2005-2023 Pandora FMS
|
2023-06-08 13:19:01 +02:00
|
|
|
// Please see https://pandorafms.com/community/ for full contribution list
|
2016-10-31 16:19:46 +01:00
|
|
|
// 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.
|
2021-03-11 15:40:23 +01:00
|
|
|
global $config;
|
2019-01-30 16:18:44 +01:00
|
|
|
if (file_exists('images/grafico_llave.png')) {
|
|
|
|
ui_print_page_header(__('You don\'t have access to this page'), '', false, '', true);
|
|
|
|
} else {
|
|
|
|
echo '<br><br><center><h3>'.__('You don\'t have access to this page').'</h3></center>';
|
2016-10-31 16:19:46 +01:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
2021-03-11 15:40:23 +01:00
|
|
|
<div id="noaccess">
|
|
|
|
<div id="noaccess-title"><?php echo __('Access to this page is restricted'); ?></div>
|
2019-01-30 16:18:44 +01:00
|
|
|
<div>
|
2021-03-11 15:40:23 +01:00
|
|
|
<div id="noaccess-image">
|
2019-01-30 16:18:44 +01:00
|
|
|
<?php
|
|
|
|
if (file_exists('images/grafico_llave.png')) {
|
|
|
|
echo html_print_image('images/grafico_llave.png', true, ['alt' => __('No access')]);
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
2021-03-11 15:40:23 +01:00
|
|
|
<div id="noaccess-text">
|
2019-01-30 16:18:44 +01:00
|
|
|
<?php
|
|
|
|
echo __(
|
|
|
|
'Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br/> <br/>
|
|
|
|
Please know that all attempts to access this page are recorded in security logs of Pandora System Database'
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-10-31 16:19:46 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Container div. ENDS HERE -->
|