mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Start the new page for the new networkmaps
This commit is contained in:
parent
88905a3910
commit
84001dd65b
43
pandora_console/operation/maps/networkmap_list.php
Normal file
43
pandora_console/operation/maps/networkmap_list.php
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
// Pandora FMS - http://pandorafms.com
|
||||||
|
// ==================================================
|
||||||
|
// Copyright (c) 2005-2010 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 for 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.
|
||||||
|
|
||||||
|
|
||||||
|
// Load global vars
|
||||||
|
global $config;
|
||||||
|
|
||||||
|
check_login ();
|
||||||
|
|
||||||
|
// ACL for the general permission
|
||||||
|
$networkmaps_read = check_acl ($config['id_user'], 0, "MR");
|
||||||
|
$networkmaps_write = check_acl ($config['id_user'], 0, "MW");
|
||||||
|
$networkmaps_manage = check_acl ($config['id_user'], 0, "MM");
|
||||||
|
|
||||||
|
if (!$networkmaps_read && !$networkmaps_write && !$networkmaps_manage) {
|
||||||
|
db_pandora_audit("ACL Violation",
|
||||||
|
"Trying to access Networkmap builder");
|
||||||
|
if (is_ajax()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
include ("general/noaccess.php");
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ui_print_page_header(__('Network map'), "images/op_network.png", false, "network_map", false);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
</script>
|
Loading…
x
Reference in New Issue
Block a user