2012-09-13 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: Display instructions for the event criticity. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
942f7bfe23
commit
9c42cdf8cc
|
@ -1,3 +1,8 @@
|
|||
2012-09-13 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* operation/events/events_list.php: Display instructions for
|
||||
the event criticity.
|
||||
|
||||
2012-09-13 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager_editor_common.php
|
||||
|
|
|
@ -1111,40 +1111,46 @@ foreach ($result as $event) {
|
|||
}
|
||||
|
||||
$string .= '</td></tr><tr>';
|
||||
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Critical instructions') . '</td><td align="left">';
|
||||
if ($event["critical_instructions"] != '') {
|
||||
$string .= $event["critical_instructions"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Warning instructions') . '</td><td align="left">';
|
||||
if ($event["warning_instructions"] != '') {
|
||||
$string .= $event["warning_instructions"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Unknown instructions') . '</td><td align="left">';
|
||||
if ($event["unknown_instructions"] != '') {
|
||||
$string .= $event["unknown_instructions"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
|
||||
if ($event["criticity"] == 4) {
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Critical instructions') . '</td><td align="left">';
|
||||
if ($event["critical_instructions"] != '') {
|
||||
$string .= $event["critical_instructions"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
}
|
||||
|
||||
if ($event["criticity"] == 3) {
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Warning instructions') . '</td><td align="left">';
|
||||
if ($event["warning_instructions"] != '') {
|
||||
$string .= $event["warning_instructions"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
}
|
||||
|
||||
if ($event["criticity"] == 0) {
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Unknown instructions') . '</td><td align="left">';
|
||||
if ($event["unknown_instructions"] != '') {
|
||||
$string .= $event["unknown_instructions"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
}
|
||||
|
||||
$string .= '</table>';
|
||||
|
||||
$data = array($string);
|
||||
|
|
Loading…
Reference in New Issue