2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>

* operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php: Fixed several fields of manage
	incident form.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
darode 2012-11-20 12:09:52 +00:00
parent c781b536d8
commit 9dedf000e3
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.incident.php,
operation/integria_incidents/incident.php: Fixed several fields of manage
incident form.
MERGED FROM 4.0.2
2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es> 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed an error printing messages * operation/integria_incidents/incident.php: Fixed an error printing messages

View File

@ -82,13 +82,13 @@ $table->width = "98%";
$table->class = "databox"; $table->class = "databox";
$table->data = array(); $table->data = array();
$table->colspan[0][0] = 3; $table->colspan[0][0] = 2;
$table->colspan[3][0] = 3; $table->colspan[3][0] = 3;
$table->colspan[4][0] = 3; $table->colspan[4][0] = 3;
$table->data[0][0] = "<b>".__('Title')."</b><br/>".html_print_input_text("title", $result['titulo'], '', 80, 255, true); $table->data[0][0] = "<b>".__('Title')."</b><br/>".html_print_input_text("title", $result['titulo'], '', 80, 255, true);
if (isset($result['id_incidencia'])) { if (isset($result['id_incidencia'])) {
$table->data[1][2] = "<b>".__('Assigned user')."</b><br/>".html_print_select ($users, 'id_user', $result['id_usuario'], '', '', 0, true, false, false); $table->data[1][2] = "<b>".__('Assigned user')."</b><br/>".html_print_select ($users, 'id_user_assigned', $result['id_usuario'], '', '', 0, true, false, false);
} }
else { else {
$table->data[1][2] = ""; $table->data[1][2] = "";
@ -97,7 +97,7 @@ if (isset($groups)) {
$table->data[1][0] = "<b>".__('Group')."</b><br/>".html_print_select ($groups, 'group', $result['id_grupo'], '', '', 0, true, false, false); $table->data[1][0] = "<b>".__('Group')."</b><br/>".html_print_select ($groups, 'group', $result['id_grupo'], '', '', 0, true, false, false);
} }
$table->data[1][1] = "<b>".__('Priority')."</b><br/>".html_print_select (incidents_get_priorities (), 'priority', $result['prioridad'], '', '', 0, true, false, false); $table->data[1][1] = "<b>".__('Priority')."</b><br/>".html_print_select (incidents_get_priorities (), 'priority', $result['prioridad'], '', '', 0, true, false, false);
$table->data[1][2] = "<b>".__('Creator')."</b><br/>".$result['id_creator']; $table->data[0][1] = "<b>".__('Creator')."</b><br/>".$result['id_creator'];
if (isset($result['id_incidencia'])) { if (isset($result['id_incidencia'])) {
$table->data[2][0] = "<b>".__('Source')."</b><br/>".html_print_select ($sources, 'source', $result['origen'], '', '', 0, true, false, false); $table->data[2][0] = "<b>".__('Source')."</b><br/>".html_print_select ($sources, 'source', $result['origen'], '', '', 0, true, false, false);

View File

@ -84,7 +84,7 @@ if($update_incident == 1) {
$values[6] = get_parameter('source'); $values[6] = get_parameter('source');
$values[7] = get_parameter('resolution'); $values[7] = get_parameter('resolution');
$values[8] = get_parameter('status'); $values[8] = get_parameter('status');
$values[9] = get_parameter('creator', get_parameter('creator_fix')); $values[9] = get_parameter('id_user_assigned');
$params = implode($token, $values); $params = implode($token, $values);