2013-04-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php include/styles/pandora.css include/functions_ui.php include/functions_graph.php include/functions_events.php include/graphs/functions_flot.php include/graphs/flot/pandora.flot.js include/graphs/fgraph.php operation/events/events_list.php operation/agentes/estado_generalagente.php operation/agentes/stat_win.php images/file.png images/collection_col.png images/input_update.disabled.png images/input_wand.disabled.png images/heart_col.png images/calendar_view_day.png images/reporting.png images/input_tick.png images/input_zoom.disabled.png images/input_tick.disabled.png images/input_go.disabled.png images/clock.png images/input_pdf.disabled.png images/tree.png images/groups_small/transmit.png images/groups_small/drive_network.png images/groups_small/eye.png images/groups_small/printer.png images/groups_small/lightning.png images/groups_small/clock.png images/groups_small/bricks.png images/groups_small/chart_organisation.png images/groups_small/world.png images/groups_small/lock.png images/groups_small/network.png images/groups_small/plugin.png images/groups_small/images.png images/groups_small/without_group.png images/groups_small/mail.png images/groups_small/house.png images/groups_small/application_osx_terminal.png images/groups_small/server_database.png images/groups_small/computer.png images/groups_small/database_gear.png images/groups_small/heart.png images/groups_small/firewall.png images/groups_small/applications.png images/input_delete.disabled.png images/input_filter.disabled.png images/category_col.png images/input_cog.disabled.png images/input_add.disabled.png images/input_cross.disabled.png images/recon.png images/pandora_header_logo.png images/dashboard_col.png images/input_config.disabled.png: Change group icons, change more icons and images and fix layout bugs git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
|
@ -1,3 +1,65 @@
|
|||
2013-04-15 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_html.php
|
||||
include/styles/pandora.css
|
||||
include/functions_ui.php
|
||||
include/functions_graph.php
|
||||
include/functions_events.php
|
||||
include/graphs/functions_flot.php
|
||||
include/graphs/flot/pandora.flot.js
|
||||
include/graphs/fgraph.php
|
||||
operation/events/events_list.php
|
||||
operation/agentes/estado_generalagente.php
|
||||
operation/agentes/stat_win.php
|
||||
images/file.png
|
||||
images/collection_col.png
|
||||
images/input_update.disabled.png
|
||||
images/input_wand.disabled.png
|
||||
images/heart_col.png
|
||||
images/calendar_view_day.png
|
||||
images/reporting.png
|
||||
images/input_tick.png
|
||||
images/input_zoom.disabled.png
|
||||
images/input_tick.disabled.png
|
||||
images/input_go.disabled.png
|
||||
images/clock.png
|
||||
images/input_pdf.disabled.png
|
||||
images/tree.png
|
||||
images/groups_small/transmit.png
|
||||
images/groups_small/drive_network.png
|
||||
images/groups_small/eye.png
|
||||
images/groups_small/printer.png
|
||||
images/groups_small/lightning.png
|
||||
images/groups_small/clock.png
|
||||
images/groups_small/bricks.png
|
||||
images/groups_small/chart_organisation.png
|
||||
images/groups_small/world.png
|
||||
images/groups_small/lock.png
|
||||
images/groups_small/network.png
|
||||
images/groups_small/plugin.png
|
||||
images/groups_small/images.png
|
||||
images/groups_small/without_group.png
|
||||
images/groups_small/mail.png
|
||||
images/groups_small/house.png
|
||||
images/groups_small/application_osx_terminal.png
|
||||
images/groups_small/server_database.png
|
||||
images/groups_small/computer.png
|
||||
images/groups_small/database_gear.png
|
||||
images/groups_small/heart.png
|
||||
images/groups_small/firewall.png
|
||||
images/groups_small/applications.png
|
||||
images/input_delete.disabled.png
|
||||
images/input_filter.disabled.png
|
||||
images/category_col.png
|
||||
images/input_cog.disabled.png
|
||||
images/input_add.disabled.png
|
||||
images/input_cross.disabled.png
|
||||
images/recon.png
|
||||
images/pandora_header_logo.png
|
||||
images/dashboard_col.png
|
||||
images/input_config.disabled.png: Change groups icons,
|
||||
change more icons and images and fix some layout bugs
|
||||
|
||||
2013-04-13 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* include/help/ja/help_meta_access.php: Added a new help file.
|
||||
|
|
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 846 B After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 738 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 846 B After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 796 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 750 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 788 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 661 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 749 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 910 B After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -964,118 +964,55 @@ function events_print_type_img ($type, $return = false, $only_url = false) {
|
|||
|
||||
switch ($type) {
|
||||
case "alert_recovered":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/error.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/error.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "bell.png";
|
||||
break;
|
||||
case "alert_manual_validation":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/eye.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/eye.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
break;
|
||||
case "going_up_warning":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/b_yellow.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/b_yellow.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "ok.png";
|
||||
break;
|
||||
case "going_down_critical":
|
||||
case "going_up_critical": //This is to be backwards compatible
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/b_red.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/b_red.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "module_critical.png";
|
||||
break;
|
||||
case "going_up_normal":
|
||||
case "going_down_normal": //This is to be backwards compatible
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/b_green.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/b_green.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "module_ok.png";
|
||||
break;
|
||||
case "going_up_warning":
|
||||
case "going_down_warning":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/b_yellow.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/b_yellow.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "module_warning.png";
|
||||
break;
|
||||
case "going_unknown":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/b_blue.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/b_blue.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "module_unknown.png";
|
||||
break;
|
||||
case "alert_fired":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/bell.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/bell.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "bell_error.png";
|
||||
break;
|
||||
case "system":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/cog.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/cog.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "cog.png";
|
||||
break;
|
||||
case "recon_host_detected":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/network.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/network.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "recon.png";
|
||||
break;
|
||||
case "new_agent":
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/wand.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/wand.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "agent.png";
|
||||
break;
|
||||
case "configuration_change":
|
||||
$icon = "config.png";
|
||||
break;
|
||||
case "unknown":
|
||||
default:
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/err.png";
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/err.png", true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
$icon = "lightning_go.png";
|
||||
break;
|
||||
}
|
||||
|
||||
if ($only_url) {
|
||||
$output = $urlImage . "/" . "images/" . $icon;
|
||||
}
|
||||
else {
|
||||
$output .= html_print_image ("images/" . $icon, true,
|
||||
array ("title" => events_print_type_description($type, true)));
|
||||
}
|
||||
|
||||
if ($return)
|
||||
return $output;
|
||||
echo $output;
|
||||
|
|
|
@ -1328,7 +1328,7 @@ function graphic_agentaccess ($id_agent, $width, $height, $period = 0, $return =
|
|||
$out = area_graph($config['flash_charts'], $data, $width, $height,
|
||||
null, null, null, ui_get_full_url("images/image_problem.opaque.png"), "", "", ui_get_full_url(false, false, false, false),
|
||||
$water_mark,
|
||||
$config['fontpath'], $config['font_size'], "");
|
||||
$config['fontpath'], $config['font_size'], "", 1, array(), array(), 0, 0, '', false, '', false);
|
||||
}
|
||||
|
||||
if($return) {
|
||||
|
|
|
@ -161,7 +161,7 @@ function html_print_side_layer ($params) {
|
|||
break;
|
||||
}
|
||||
|
||||
$out_html = '<div id="side_layer" class="menu_sidebar ' . $round_class . '" style="display:none; z-index:1; overflow: hidden; height: ' . $params['height'] . ';">';
|
||||
$out_html = '<div id="side_layer" class="menu_sidebar ' . $round_class . '" style="display:none; z-index:1; overflow: hidden; height: ' . $params['height'] . '; width: ' . $params['width'] . ';">';
|
||||
|
||||
$table->id = 'side_layer_layout';
|
||||
$table->width = $params['width'] . 'px';
|
||||
|
@ -636,13 +636,13 @@ function html_print_extended_select_for_time ($name, $selected = '', $script = '
|
|||
ob_start();
|
||||
|
||||
echo '<div id="'.$uniq_name.'_default" style="width:100%;display:inline;">';
|
||||
echo ' <a href="javascript:">'.html_print_image('images/pencil.png',true,array('class' => $uniq_name . '_toggler', 'alt' => __('Custom'), 'title' => __('Custom'))).'</a>';
|
||||
echo ' <a href="javascript:">'.html_print_image('images/pencil.png',true,array('class' => $uniq_name . '_toggler', 'alt' => __('Custom'), 'title' => __('Custom'), 'style' => 'width: 18px;')).'</a>';
|
||||
html_print_select ($fields, $uniq_name . '_select', $selected,"" . $script,
|
||||
$nothing, $nothing_value, false, false, false, '', false, 'font-size: xx-small;'.$select_style);
|
||||
echo '</div>';
|
||||
|
||||
echo '<div id="'.$uniq_name.'_manual" style="width:100%;display:inline;">';
|
||||
echo ' <a href="javascript:">'.html_print_image('images/default_list.png',true,array('class' => $uniq_name . '_toggler', 'alt' => __('List'), 'title' => __('List'))).'</a>';
|
||||
echo ' <a href="javascript:">'.html_print_image('images/default_list.png',true,array('class' => $uniq_name . '_toggler', 'alt' => __('List'), 'title' => __('List'), 'style' => 'width: 18px;')).'</a>';
|
||||
html_print_input_text ($uniq_name . '_text', $selected, '', $size);
|
||||
|
||||
html_print_input_hidden ($name, $selected, false, $uniq_name);
|
||||
|
|
|
@ -487,9 +487,6 @@ function ui_print_group_icon ($id_group, $return = false, $path = "groups_small"
|
|||
else
|
||||
$icon = "world";
|
||||
|
||||
if ($style == '')
|
||||
$style = 'width: 16px; height: 16px;';
|
||||
|
||||
$output = '';
|
||||
|
||||
// Don't show link in metaconsole
|
||||
|
@ -1541,25 +1538,25 @@ function ui_print_session_action_icon ($action, $return = false) {
|
|||
$key_icon = array(
|
||||
'acl' => 'images/delete.png',
|
||||
'agent' => 'images/agent.png',
|
||||
'module' => 'images/brick.png',
|
||||
'module' => 'images/module.png',
|
||||
'alert' => 'images/bell.png',
|
||||
'incident' => 'images/book_edit.png',
|
||||
'incident' => 'images/default_list.png',
|
||||
'logon' => 'images/house.png',
|
||||
'logoff' => 'images/house.png',
|
||||
'massive' => 'images/sitemap_color.png',
|
||||
'hack' => 'images/info.png',
|
||||
'massive' => 'images/config.png',
|
||||
'hack' => 'images/application_edit.png',
|
||||
'event' => 'images/lightning_go.png',
|
||||
'policy' => 'images/policies.png',
|
||||
'report' => 'images/reporting.png',
|
||||
'file collection' => 'images/file.png',
|
||||
'file collection' => 'images/collection_col.png',
|
||||
'user' => 'images/user_green.png',
|
||||
'password' => 'images/lock.png',
|
||||
'session' => 'images/heart.png',
|
||||
'session' => 'images/heart_col.png',
|
||||
'snmp' => 'images/snmp.png',
|
||||
'command' => 'images/bell.png',
|
||||
'category' => 'images/god6.png',
|
||||
'dashboard' => 'images/application_double.png',
|
||||
'api' => 'images/page_white_text.png',
|
||||
'category' => 'images/category_col.png',
|
||||
'dashboard' => 'images/dashboard_col.png',
|
||||
'api' => 'images/eye.png',
|
||||
'db' => 'images/database.png',
|
||||
'setup' => 'images/cog.png'
|
||||
);
|
||||
|
|
|
@ -234,14 +234,14 @@ function area_graph($flash_chart, $chart_data, $width, $height, $color, $legend,
|
|||
$long_index, $no_data_image, $xaxisname = "", $yaxisname = "", $homeurl="",
|
||||
$water_mark = "", $font = '', $font_size = '', $unit = '', $ttl = 1, $series_type = array(),
|
||||
$chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key = '', $force_integer = false,
|
||||
$series_suffix_str = '') {
|
||||
|
||||
$series_suffix_str = '', $menu = true) {
|
||||
|
||||
setup_watermark($water_mark, $water_mark_file, $water_mark_url);
|
||||
|
||||
// ATTENTION: The min size is 130x150
|
||||
// ATTENTION: The min size is 110x150
|
||||
// It's not the same minsize for all graphs, but we are choosed a prudent minsize for all
|
||||
if ($height <= 130) {
|
||||
$height = 130;
|
||||
if ($height <= 110) {
|
||||
$height = 110;
|
||||
}
|
||||
if ($width < 150) {
|
||||
$width = 150;
|
||||
|
@ -252,7 +252,7 @@ function area_graph($flash_chart, $chart_data, $width, $height, $color, $legend,
|
|||
}
|
||||
|
||||
if ($flash_chart) {
|
||||
return flot_area_simple_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, $water_mark_url, $series_type, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str);
|
||||
return flot_area_simple_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, $water_mark_url, $series_type, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str, $menu);
|
||||
}
|
||||
else {
|
||||
$graph = array();
|
||||
|
|
|
@ -78,6 +78,8 @@ function pandoraFlotPie(graph_id, values, labels, nseries, width, font_size, wat
|
|||
conf_pie.legend.position = "s";
|
||||
break;
|
||||
case 'right':
|
||||
case 'inner':
|
||||
conf_pie.legend.container = $('#'+graph_id+"_legend");
|
||||
default:
|
||||
//TODO FOR TOP OR LEFT OR RIGHT
|
||||
break;
|
||||
|
@ -704,7 +706,10 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend, colors,
|
|||
// Connection between plot and miniplot
|
||||
|
||||
$('#'+graph_id).bind('plotselected', function (event, ranges) {
|
||||
// do the zooming
|
||||
// do the zooming if exist menu to undo it
|
||||
if (menu == 0) {
|
||||
return;
|
||||
}
|
||||
dataInSelection = ranges.xaxis.to - ranges.xaxis.from;
|
||||
dataInPlot = plot.getData()[0].data.length;
|
||||
|
||||
|
|
|
@ -89,38 +89,39 @@ function include_javascript_dependencies_flot_graph($return = false) {
|
|||
///////////////////////////////
|
||||
////////// AREA GRAPHS ////////
|
||||
///////////////////////////////
|
||||
function flot_area_stacked_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '') {
|
||||
function flot_area_stacked_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '', $menu = true) {
|
||||
global $config;
|
||||
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'area_stacked', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str);
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'area_stacked', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str, $menu);
|
||||
}
|
||||
|
||||
function flot_area_simple_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '') {
|
||||
function flot_area_simple_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '', $menu = true) {
|
||||
global $config;
|
||||
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'area_simple', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str);
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'area_simple', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str, $menu);
|
||||
}
|
||||
|
||||
function flot_line_stacked_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '') {
|
||||
function flot_line_stacked_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '', $menu = true) {
|
||||
global $config;
|
||||
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'line_stacked', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str);
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'line_stacked', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str, $menu);
|
||||
}
|
||||
|
||||
function flot_line_simple_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '') {
|
||||
function flot_line_simple_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl = '', $unit = '', $water_mark = '', $serie_types = array(), $chart_extra_data = array(), $yellow_threshold = 0, $red_threshold = 0, $adapt_key= '', $force_integer = false, $series_suffix_str = '', $menu = true) {
|
||||
global $config;
|
||||
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'line_simple', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str);
|
||||
return flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, 'line_simple', $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str, $menu);
|
||||
}
|
||||
|
||||
function flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, $type, $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str = '') {
|
||||
function flot_area_graph($chart_data, $width, $height, $color, $legend, $long_index, $homeurl, $unit, $type, $water_mark, $serie_types, $chart_extra_data, $yellow_threshold, $red_threshold, $adapt_key, $force_integer, $series_suffix_str = '', $menu = true) {
|
||||
global $config;
|
||||
|
||||
include_javascript_dependencies_flot_graph();
|
||||
|
||||
$menu = true;
|
||||
$font_size = '7';
|
||||
|
||||
$menu = (int)$menu;
|
||||
|
||||
// Get a unique identifier to graph
|
||||
$graph_id = uniqid('graph_');
|
||||
|
||||
|
|
|
@ -449,6 +449,22 @@ input.wand {
|
|||
/* estándar */
|
||||
background: url(../../images/input_wand.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.wand:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_wand.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_wand.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_wand.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_wand.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_wand.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_wand.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_wand.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.search {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_zoom.png) no-repeat 90% 3px !important;
|
||||
|
@ -465,6 +481,22 @@ input.search {
|
|||
/* estándar */
|
||||
background: url(../../images/input_zoom.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.search:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_zoom.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_zoom.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_zoom.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_zoom.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_zoom.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_zoom.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_zoom.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.ok {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_tick.png) no-repeat 95% 3px !important;
|
||||
|
@ -481,6 +513,22 @@ input.ok {
|
|||
/* estándar */
|
||||
background: url(../../images/input_tick.png) no-repeat 95% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.ok:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_tick.disabled.png) no-repeat 95% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_tick.disabled.png) no-repeat 95% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_tick.disabled.png) no-repeat 95% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_tick.disabled.png) no-repeat 95% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_tick.disabled.png) no-repeat 95% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_tick.disabled.png) no-repeat 95% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_tick.disabled.png) no-repeat 95% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.add {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_add.png) no-repeat 90% 3px !important;
|
||||
|
@ -497,6 +545,22 @@ input.add {
|
|||
/* estándar */
|
||||
background: url(../../images/input_add.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.add:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_add.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_add.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_add.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_add.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_add.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_add.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_add.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.cancel {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_cross.png) no-repeat 90% 3px !important;
|
||||
|
@ -513,6 +577,22 @@ input.cancel {
|
|||
/* estándar */
|
||||
background: url(../../images/input_cross.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.cancel:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_cross.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_cross.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_cross.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_cross.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_cross.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_cross.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_cross.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.delete {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_delete.png) no-repeat 90% 3px !important;
|
||||
|
@ -529,6 +609,22 @@ input.delete {
|
|||
/* estándar */
|
||||
background: url(../../images/input_delete.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.delete:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_delete.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_delete.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_delete.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_delete.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_delete.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_delete.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_delete.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.cog {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_cog.png) no-repeat 90% 3px !important;
|
||||
|
@ -545,6 +641,22 @@ input.cog {
|
|||
/* estándar */
|
||||
background: url(../../images/input_cog.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.cog:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_cog.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_cog.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_cog.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_cog.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_cog.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_cog.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_cog.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.config {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_config.png) no-repeat 90% 3px !important;
|
||||
|
@ -561,6 +673,22 @@ input.config {
|
|||
/* estándar */
|
||||
background: url(../../images/input_config.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.config:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_config.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_config.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_config.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_config.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_config.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_config.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_config.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.filter {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_filter.png) no-repeat 90% 3px !important;
|
||||
|
@ -577,6 +705,22 @@ input.filter {
|
|||
/* estándar */
|
||||
background: url(../../images/input_filter.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.filter:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_filter.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_filter.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_filter.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_filter.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_filter.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_filter.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_filter.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.pdf {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_pdf.png) no-repeat 90% 3px !important;
|
||||
|
@ -593,6 +737,22 @@ input.pdf {
|
|||
/* estándar */
|
||||
background: url(../../images/input_pdf.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
input.pdf:disabled {
|
||||
/* Browser without multibackground support */
|
||||
background: #efefef url(../../images/input_pdf.disabled.png) no-repeat 90% 3px !important;
|
||||
/* Safari 4-5, Chrome 1-9 */
|
||||
background: url(../../images/input_pdf.disabled.png) no-repeat 90% 3px, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf)) !important;
|
||||
/* Safari 5.1+, Chrome 10+ */
|
||||
background: url(../../images/input_pdf.disabled.png) no-repeat 90% 3px, -webkit-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Firefox 3.6+ */
|
||||
background: url(../../images/input_pdf.disabled.png) no-repeat 90% 3px, -moz-linear-gradient(top, #ffffff, #dfdfdf) !important;
|
||||
/* Opera 11.10+ */
|
||||
background: url(../../images/input_pdf.disabled.png) no-repeat 90% 3px, -o-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* IE 10 */
|
||||
background: url(../../images/input_pdf.disabled.png) no-repeat 90% 3px, -ms-linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
/* estándar */
|
||||
background: url(../../images/input_pdf.disabled.png) no-repeat 90% 3px, linear-background(top, #ffffff, #dfdfdf) !important;
|
||||
}
|
||||
#toolbox #auto_save {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
@ -717,8 +877,7 @@ td input[type=checkbox]
|
|||
-o-transform: scale(1.3); /* Opera */
|
||||
-webkit-transform: scale(1.3); /* Safari and Chrome */
|
||||
padding: 10px;
|
||||
margin-top: 7px;
|
||||
margin-left: 15px;
|
||||
margin-top: 2px;
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
|
||||
|
@ -2217,6 +2376,16 @@ input.search_input {
|
|||
margin-left: 2px;
|
||||
}
|
||||
|
||||
td input, td select {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.noshadow {
|
||||
-moz-box-shadow: 0px !important;
|
||||
-webkit-box-shadow: 0px !important;
|
||||
box-shadow: 0px !important;
|
||||
}
|
||||
|
||||
/* Images forced title */
|
||||
|
||||
DIV.forced_title_layer {
|
||||
|
@ -2235,3 +2404,10 @@ DIV.forced_title_layer {
|
|||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* Graphs styles */
|
||||
|
||||
DIV.legend>DIV {
|
||||
width: 100% !important;
|
||||
opacity: 0.65 !important;
|
||||
}
|
||||
|
|
|
@ -145,7 +145,7 @@ $table_contact->class = 'databox';
|
|||
$table_contact->style[0] = 'width: 30%;';
|
||||
$table_contact->style[1] = 'width: 70%;';
|
||||
|
||||
$table_contact->head[0] = ' <span class="med_data">' . __('Agent contact') . '</span>';
|
||||
$table_contact->head[0] = ' <span>' . __('Agent contact') . '</span>';
|
||||
$table_contact->head_colspan[0] = 2;
|
||||
|
||||
$data = array();
|
||||
|
@ -183,7 +183,7 @@ $table_data->class = 'databox';
|
|||
$table_data->style[0] = 'width: 30%;';
|
||||
$table_data->style[1] = 'width: 70%;';
|
||||
|
||||
$table_data->head[0] = ' <span class="med_data">' . __('Agent info') . '</span>';
|
||||
$table_data->head[0] = ' <span>' . __('Agent info') . '</span>';
|
||||
$table_data->head_colspan[0] = 2;
|
||||
|
||||
if (!empty($addresses)) {
|
||||
|
@ -320,7 +320,7 @@ if ($config["agentaccess"]) {
|
|||
__('Agent access rate (24h)') .
|
||||
'</legend>' .
|
||||
'<div style="margin: auto; text-align:center; width: 300px;">' .
|
||||
graphic_agentaccess($id_agente, 300, 110, 86400, true) .
|
||||
graphic_agentaccess($id_agente, 300, 100, 86400, true) .
|
||||
'</div>' .
|
||||
'</fieldset>';
|
||||
}
|
||||
|
|
|
@ -235,9 +235,9 @@ $label = base64_decode(get_parameter('label', ''));
|
|||
$table = html_get_predefined_table('transparent', 2);
|
||||
$table->width = '98%';
|
||||
$table->id = 'stat_win_form_div';
|
||||
$table->style[0] = 'text-align:left;';
|
||||
$table->style[0] = 'text-align:left; padding: 7px;';
|
||||
$table->style[1] = 'text-align:left;';
|
||||
$table->size[0] = '60%';
|
||||
$table->size[0] = '50%';
|
||||
|
||||
$data = array();
|
||||
$data[0] = __('Refresh time');
|
||||
|
@ -257,7 +257,7 @@ $label = base64_decode(get_parameter('label', ''));
|
|||
$data = array();
|
||||
$data[0] = __('Begin date');
|
||||
$data[1] = html_print_input_text ("start_date", substr ($start_date, 0, 10),'', 15, 255, true);
|
||||
$data[1] .= html_print_image ("images/calendar_view_day.png", true, array ("onclick" => "scwShow(scwID('text-start_date'),this);"));
|
||||
$data[1] .= html_print_image ("images/calendar_view_day.png", true, array ("onclick" => "scwShow(scwID('text-start_date'),this);", "style" => 'vertical-align: bottom;'));
|
||||
$table->data[] = $data;
|
||||
$table->rowclass[] = '';
|
||||
|
||||
|
@ -348,7 +348,7 @@ $label = base64_decode(get_parameter('label', ''));
|
|||
$params['icon_open'] = '/images/graphmenu_arrow.png';
|
||||
|
||||
// SIZE
|
||||
$params['width'] = 400;
|
||||
$params['width'] = 500;
|
||||
|
||||
// POSITION
|
||||
$params['position'] = 'left';
|
||||
|
|
|
@ -281,11 +281,12 @@ $remove_with_tag_disabled = empty($tag_with_temp);
|
|||
$add_without_tag_disabled = empty($tags_select_without);
|
||||
$remove_without_tag_disabled = empty($tag_without_temp);
|
||||
|
||||
$tabletags = html_get_predefined_table('transparent', 2);
|
||||
$tabletags->id = 'filter_events_tags';
|
||||
$tabletags->width = '100%';
|
||||
$tabletags->cellspacing = 4;
|
||||
$tabletags->cellpadding = 4;
|
||||
$tabletags->class = '';
|
||||
$tabletags->class = 'noshadow';
|
||||
$tabletags->styleTable = 'border: 0px;';
|
||||
|
||||
$data = array();
|
||||
|
@ -359,7 +360,7 @@ $types["not_normal"] = __("Not normal");
|
|||
$data[1] .= html_print_select ($types, 'event_type', $event_type, '', __('All'), '', true);
|
||||
$data[2] = __('Severity') . '<br>';
|
||||
$data[2] .= html_print_select (get_priorities (), "severity", $severity, '', __('All'), '-1', true, false, false);
|
||||
$data[3] = '<fieldset class="databox" style="width:90%;"><legend>' . __('Tags') . '</legend>' . html_print_table($tabletags, true) . '</fieldset>';
|
||||
$data[3] = '<fieldset class="databox" style="width:95%;"><legend>' . __('Tags') . '</legend>' . html_print_table($tabletags, true) . '</fieldset>';
|
||||
$table->colspan[count($table->data)][3] = 2;
|
||||
$table->rowspan[count($table->data)][3] = 4;
|
||||
$table->data[] = $data;
|
||||
|
|