2012-02-13 Vanessa Gil <vanessa.gil@artica.es>

* operation/events/events_validate: Display options: validate and
	add a comment when the event status is "in process".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-02-13 08:21:42 +00:00
parent e4d10926cb
commit d584dc4c0b
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-02-13 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_validate: Display options: validate and
add a comment when the event status is "in process".
2012-02-10 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_events.php
operation/events/events_list.php

View File

@ -99,8 +99,11 @@ $string .= html_print_input_hidden('eventid', implode(',',$ids), true);
$string .= '<td align="left" width="450px"><b>' . html_print_textarea("comment", 2, 10, '', 'style="min-height: 10px; width: 250px;"', true) . '</b></td>';
$string .= '<td align="left" width="200px">';
$string .= '<div style="text-align:center;">';
$string .= html_print_select(array('1' => __('Validate'), '2' => __('Set in process'), '3' => __('Add comment')), 'select_validate', '', '', '', 0, true, false, false, 'select_validate').'<br><br>';
if ($event["estado"] == 0 ) {
$string .= html_print_select(array('1' => __('Validate'), '2' => __('Set in process'), '3' => __('Add comment')), 'select_validate', '', '', '', 0, true, false, false, 'select_validate').'<br><br>';
} else if ($event["estado"] == 2 ) {
$string .= html_print_select(array('1' => __('Validate'), '3' => __('Add comment')), 'select_validate', '', '', '', 0, true, false, false, 'select_validate').'<br><br>';
}
$string .= html_print_submit_button (__('Change status'), 'validate', false, 'class="sub ok validate_event" id="validate"', true).'</div>';
$string .= '</td><td width="400px">';