mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
* operation/integria_incidents/incident.php: added error message when Pandora have a bad conf for the Integria API. And cleaned source code style. * general/footer.php, general/logon_ok.php, general/noaccess.php, general/shortcut_bar.php, general/ui/agents_list.php, godmode/alerts/alert_templates.php, godmode/alerts/configure_alert_action.php, godmode/reporting/map_builder.php, godmode/tag/edit_tag.php: cleaned source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
39 lines
1.4 KiB
PHP
39 lines
1.4 KiB
PHP
<?php
|
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
// ==================================================
|
|
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
|
// 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.
|
|
|
|
if (file_exists("images/noaccess.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>";
|
|
}
|
|
?>
|
|
|
|
<div id="noaccess">
|
|
<div align='center'>
|
|
<?php
|
|
if (file_exists("images/noaccess.png")) {
|
|
echo html_print_image('images/noaccess.png', true, array("alt" => __('No access')));
|
|
}
|
|
?>
|
|
<div> </div>
|
|
<div class="msg" style='width: 400px'><?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>
|
|
</div>
|
|
|
|
|
|
<!-- Container div. ENDS HERE -->
|