2011-06-10 12:19:04 +02:00
|
|
|
<?php
|
|
|
|
|
2023-06-08 13:19:01 +02:00
|
|
|
// Pandora FMS - https://pandorafms.com
|
2011-06-10 12:19:04 +02: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
|
2011-06-10 12:19:04 +02:00
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser 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.
|
2019-01-30 16:18:44 +01:00
|
|
|
// Function that includes all graph dependencies
|
|
|
|
function include_graphs_dependencies($home_url='', $serialize_ttl=1)
|
|
|
|
{
|
|
|
|
global $config;
|
|
|
|
global $ttl;
|
|
|
|
global $homeurl;
|
2011-06-10 12:19:04 +02:00
|
|
|
|
2019-01-30 16:18:44 +01:00
|
|
|
$ttl = $serialize_ttl;
|
|
|
|
$homeurl = $home_url;
|
|
|
|
include_once $homeurl.'include/functions_io.php';
|
|
|
|
include_once $homeurl.'include/functions.php';
|
|
|
|
include_once $homeurl.'include/functions_html.php';
|
2018-10-19 11:31:06 +02:00
|
|
|
|
2019-01-30 16:18:44 +01:00
|
|
|
if (!defined('AJAX') && !get_parameter('static_graph', 0)) {
|
|
|
|
include_once $homeurl.'include/graphs/functions_flot.php';
|
|
|
|
}
|
2018-10-19 11:31:06 +02:00
|
|
|
|
2019-01-30 16:18:44 +01:00
|
|
|
include_once $homeurl.'include/graphs/functions_gd.php';
|
|
|
|
include_once $homeurl.'include/graphs/functions_utils.php';
|
2013-07-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php,
include/javascript/jquery.pandora.controls.js: improved the
functions to pass the php vars to js, now it supports json.
* include/javascript/d3.v3.js: added this library for to make
beautiful things.
* include/functions_ui.php, include/graphs/fgraph.php,
include/javascript/pandora_events.js, include/javascript/pandora.js,
include/functions_treeview.php,
include/include_graph_dependencies.php,
include/functions_categories.php, include/db/postgresql.php,
include/db/oracle.php, include/db/mysql.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-16 16:13:23 +02:00
|
|
|
}
|