2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
* godmode/events/custom_events.php operation/events/events_list.php: Addes criticity info in event view. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bb0f4455c0
commit
5284db3a2b
|
@ -1,3 +1,8 @@
|
|||
2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
|
||||
* godmode/events/custom_events.php
|
||||
operation/events/events_list.php: Addes criticity info
|
||||
in event view.
|
||||
|
||||
2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
|
||||
* godmode/events/custom_events.php: Added file.
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ $table->data = array();
|
|||
$table->data[0][0] = '<h3>'.__('Show event fields').'</h3>';
|
||||
|
||||
$table->data[1][0] = '<b>'.__('Event ID').'</b>';
|
||||
$table->data[1][1] = __('Yes').' '.html_print_radio_button('show_id_evento', 1, '', $config['show_id_evento'], true).' ';
|
||||
$table->data[1][1] = __('Yes').' '.html_print_radio_button('show_id_evento', 1, '', $config['show_id_evento'], true);
|
||||
$table->data[1][1] .= __('No').' '.html_print_radio_button('show_id_evento', 0, '', $config['show_id_evento'], true);
|
||||
|
||||
$table->data[2][0] = '<b>'.__('Event name').'</b>';
|
||||
|
|
|
@ -892,9 +892,17 @@ foreach ($result as $event) {
|
|||
$string .= ',';
|
||||
}
|
||||
$string = rtrim($string, ',');
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
if ($event["criticity"] != '') {
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Criticity') . '</td><td align="left">';
|
||||
$string .= $event["criticity"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
$string .= '</table>';
|
||||
|
|
Loading…
Reference in New Issue