diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php
index af2d9490cd..c8160f9ba4 100644
--- a/pandora_console/operation/events/events_list.php
+++ b/pandora_console/operation/events/events_list.php
@@ -304,17 +304,17 @@ $tag_with_temp = array();
$tag_without_temp = array();
foreach ($tags as $id_tag => $tag) {
if (array_search($id_tag, $tag_with) === false) {
- $tags_select_with[$id_tag] = $tag;
+ $tags_select_with[$id_tag] = ui_print_truncate_text ($tag, 16, false);
}
else {
- $tag_with_temp[$id_tag] = $tag;
+ $tag_with_temp[$id_tag] = ui_print_truncate_text ($tag, 16, false);
}
if (array_search($id_tag, $tag_without) === false) {
- $tags_select_without[$id_tag] = $tag;
+ $tags_select_without[$id_tag] = ui_print_truncate_text ($tag, 16, false);
}
else {
- $tag_without_temp[$id_tag] = $tag;
+ $tag_without_temp[$id_tag] = ui_print_truncate_text ($tag, 16, false);
}
}
@@ -374,23 +374,13 @@ if (defined('METACONSOLE')) {
$tabletags_without->styleTable = 'border: 0px;';
$data = array();
-if (!defined("METACONSOLE"))
- $data[0] = html_print_select ($tags_select_without, 'select_without', '', '', '', 0,
- true, true, true, '', false, 'width: 120px; height: 70px;') . '
';
-else
- $data[0] = html_print_select ($tags_select_without, 'select_without', '', '', '', 0,
- true, true, true, '', false, 'width: auto; height: 70px;') . '
';
-
+$data[0] = html_print_select ($tags_select_without, 'select_without', '', '', '', 0,
+ true, true, true, '', false, 'width: 200px; height: 70px;') . '
';
$data[1] = html_print_image('images/darrowright.png', true, array('id' => 'button-add_without', 'style' => 'cursor: pointer;', 'title' => __('Add')));
$data[1] .= html_print_input_hidden('tag_without', $tag_without_base64, true);
$data[1] .= '
' . html_print_image('images/darrowleft.png', true, array('id' => 'button-remove_without', 'style' => 'cursor: pointer;', 'title' => __('Remove')));
-
-if (!defined("METACONSOLE"))
- $data[2] = html_print_select ($tag_without_temp, 'tag_without_temp', array(), '', '',
- 0, true, true, true, '', false, "width: 120px; height: 70px;");
-else
- $data[2] = html_print_select ($tag_without_temp, 'tag_without_temp', array(), '', '',
- 0, true, true, true, '', false, "width: auto; height: 70px;");
+$data[2] = html_print_select ($tag_without_temp, 'tag_without_temp', array(), '', '',
+ 0, true, true, true, '', false, "width: 200px; height: 70px;");
$tabletags_without->data[] = $data;
$tabletags_without->rowclass[] = '';