width = "98%";
$table->class = "databox";
$table->data = array();
$table->colspan[0][0] = 2;
$table->colspan[3][0] = 3;
$table->colspan[4][0] = 3;
$table->data[0][0] = "".__('Title')."
".html_print_input_text("title", $result['titulo'], '', 80, 255, true);
$table->data[0][1] = "".__('Creator')."
".$result['id_creator'];
if (isset($groups)) {
$table->data[1][0] = "".__('Group')."
".html_print_select ($groups, 'group', $result['id_grupo'], '', '', 0, true, false, false);
}
$table->data[1][1] = "".__('Priority')."
".html_print_select (incidents_get_priorities (), 'priority', $result['prioridad'], '', '', 0, true, false, false);
if (isset($result['id_incidencia'])) {
$table->data[1][2] = "".__('Assigned user')."
".html_print_select ($users, 'id_user_assigned', $result['id_usuario'], '', '', 0, true, false, false);
}
if (isset($result['id_incidencia'])) {
$table->data[2][0] = "".__('Resolution')."
".html_print_select ($resolutions, 'resolution', $result['resolution'], '', '', 0, true, false, false);
$table->data[2][1] = "".__('Status')."
".html_print_select ($status, 'status', $result['estado'], '', '', 0, true, false, false);
}
if (is_array($result['descripcion'])) {
$result['descripcion'] = "";
}
$table->data[3][0] = "".__('Description')."
".html_print_textarea("description", 10, 6, $result['descripcion'] , '', true);
if (isset($result['id_incidencia'])) {
if(is_array($result['epilog'])) {
$result['epilog'] = implode(',', $result['epilog']);
}
$table->data[4][0] = "".__('Resolution epilog')."
".html_print_textarea("epilog", 10, 6, $result['epilog'] , '', true);
}
if (isset($result['id_incidencia'])) {
echo "