2006-03-27 05:37:27 +02:00
|
|
|
<?php
|
2008-08-22 20:07:32 +02:00
|
|
|
|
2009-06-08 20:26:14 +02:00
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
index.php, ajax.php, operation/search_*.php, operation/menu.php,
operation/extensions.php, godmode/menu.php, godmode/extensions.php,
admin_access_logs.php: Cleaned code and updated page disclaimers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 23:01:01 +01:00
|
|
|
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
2008-08-22 20:07:32 +02:00
|
|
|
|
2007-03-02 18:56:07 +01:00
|
|
|
// This program is free software; you can redistribute it and/or
|
2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,
extensions/update_manager.php, extensions/users_connected.php,
extensions/extension_uploader.php, extensions/insert_data.php,
extensions/module_groups.php, extensions/plugin_registration.php,
extensions/agent_modules.php, extensions/resource_registration.php,
extensions/resource_exportation.php, extensions/dbmanager.php,
extensions/pandora_logs.php, general/*.php, ajax.php,
operation/search_*.php, operation/menu.php, operation/extensions.php,
godmode/menu.php, godmode/extensions.php, godmode/admin_access_logs.php:
CReverted unwanted license changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 17:13:28 +01:00
|
|
|
// modify it under the terms of the GNU General Public License
|
2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
index.php, ajax.php, operation/search_*.php, operation/menu.php,
operation/extensions.php, godmode/menu.php, godmode/extensions.php,
admin_access_logs.php: Cleaned code and updated page disclaimers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 23:01:01 +01:00
|
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
|
2007-03-02 18:56:07 +01:00
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
index.php, ajax.php, operation/search_*.php, operation/menu.php,
operation/extensions.php, godmode/menu.php, godmode/extensions.php,
admin_access_logs.php: Cleaned code and updated page disclaimers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 23:01:01 +01:00
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2007-03-02 18:56:07 +01:00
|
|
|
// GNU General Public License for more details.
|
2009-06-08 20:26:14 +02:00
|
|
|
|
2008-08-22 20:07:32 +02:00
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
if (! isset ($config["id_user"])) {
|
2008-08-21 23:07:20 +02:00
|
|
|
require ("general/login_page.php");
|
2009-02-04 17:07:43 +01:00
|
|
|
exit ();
|
2006-03-27 05:37:27 +02:00
|
|
|
}
|
2008-12-19 22:45:20 +01:00
|
|
|
|
|
|
|
echo '<div class="tit bg">:: '.__('Operation').' ::</div>';
|
|
|
|
require ("operation/menu.php");
|
|
|
|
|
2012-02-03 12:01:12 +01:00
|
|
|
//Check all enterprise ACL used in godmenu items to print menu headers
|
|
|
|
if (check_acl ($config['id_user'], 0, "AW") ||
|
|
|
|
check_acl ($config['id_user'], 0, "PM") ||
|
|
|
|
check_acl ($config['id_user'], 0, "LM") ||
|
|
|
|
check_acl ($config['id_user'], 0, "UM") ||
|
|
|
|
check_acl ($config['id_user'], 0, "LW") ||
|
|
|
|
check_acl ($config['id_user'], 0, "IW") ||
|
|
|
|
check_acl ($config['id_user'], 0, "DW")) {
|
|
|
|
echo '<div class="tit bg3">:: '.__('Administration').' ::</div>';
|
|
|
|
}
|
|
|
|
|
2008-08-21 23:07:20 +02:00
|
|
|
require ("godmode/menu.php");
|
2008-12-19 22:45:20 +01:00
|
|
|
|
2008-08-21 23:07:20 +02:00
|
|
|
require ("links_menu.php");
|
2009-02-10 21:29:45 +01:00
|
|
|
|
2011-04-13 18:11:02 +02:00
|
|
|
ui_require_jquery_file ('cookie');
|
2009-01-07 11:42:38 +01:00
|
|
|
?>
|
2009-02-09 22:00:13 +01:00
|
|
|
<script type="text/javascript" language="javascript">
|
2009-02-13 21:23:44 +01:00
|
|
|
/* <![CDATA[ */
|
2009-02-09 22:00:13 +01:00
|
|
|
$(document).ready( function() {
|
2009-02-11 17:55:04 +01:00
|
|
|
$("img.toggle").click (function () {
|
|
|
|
$(this).siblings ("ul").toggle ();
|
|
|
|
//In case the links gets activated, we don't want to follow link
|
|
|
|
return false;
|
2009-02-09 22:00:13 +01:00
|
|
|
});
|
|
|
|
});
|
2009-02-13 21:23:44 +01:00
|
|
|
/* ]]> */
|
2009-02-09 22:00:13 +01:00
|
|
|
</script>
|