diff --git a/pandora_console/extensions/resource_exportation.php b/pandora_console/extensions/resource_exportation.php
index 0c293e374f..9c67bbec1c 100755
--- a/pandora_console/extensions/resource_exportation.php
+++ b/pandora_console/extensions/resource_exportation.php
@@ -285,10 +285,27 @@ function output_xml_visual_console($id) {
if ($item['parent_item'] != 0) {
echo "" . $item['parent_item'] . "\n";
}
- if ($item['type'] == 19) {
+ if (!empty($item['clock_animation'])) {
echo "" . $item['clock_animation'] . "\n";
+ }
+ if (!empty($item['fill_color'])) {
echo "" . $item['fill_color'] . "\n";
}
+ if (!empty($item['type_graph'])) {
+ echo "" . $item['type_graph'] . "\n";
+ }
+ if (!empty($item['time_format'])) {
+ echo "" . $item['time_format'] . "\n";
+ }
+ if (!empty($item['timezone'])) {
+ echo "" . $item['timezone'] . "\n";
+ }
+ if (!empty($item['border_width'])) {
+ echo "" . $item['border_width'] . "\n";
+ }
+ if (!empty($item['border_color'])) {
+ echo "" . $item['border_color'] . "\n";
+ }
echo "\n";
}
echo "\n";
diff --git a/pandora_console/extensions/resource_registration.php b/pandora_console/extensions/resource_registration.php
index 3b2b8c06d0..61542dee66 100755
--- a/pandora_console/extensions/resource_registration.php
+++ b/pandora_console/extensions/resource_registration.php
@@ -536,6 +536,26 @@ function process_upload_xml_visualmap($xml, $filter_group = 0) {
$values['fill_color'] = (string)$item->fill_color;
}
+ if (isset($item->type_graph)) {
+ $values['type_graph'] = (string)$item->type_graph;
+ }
+
+ if (isset($item->time_format)) {
+ $values['time_format'] = (string)$item->time_format;
+ }
+
+ if (isset($item->timezone)) {
+ $values['timezone'] = (string)$item->timezone;
+ }
+
+ if (isset($item->border_width)) {
+ $values['border_width'] = (string)$item->border_width;
+ }
+
+ if (isset($item->border_color)) {
+ $values['border_color'] = (string)$item->border_color;
+ }
+
if ($no_agents) {
$id_item = db_process_sql_insert('tlayout_data', $values);