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:
vgilc 2012-09-13 13:26:57 +00:00
parent 942f7bfe23
commit 9c42cdf8cc
2 changed files with 44 additions and 33 deletions

View File

@ -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> 2012-09-13 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/module_manager_editor_common.php * godmode/agentes/module_manager_editor_common.php

View File

@ -1112,6 +1112,7 @@ foreach ($result as $event) {
$string .= '</td></tr><tr>'; $string .= '</td></tr><tr>';
if ($event["criticity"] == 4) {
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Critical instructions') . '</td><td align="left">'; $string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Critical instructions') . '</td><td align="left">';
if ($event["critical_instructions"] != '') { if ($event["critical_instructions"] != '') {
$string .= $event["critical_instructions"]; $string .= $event["critical_instructions"];
@ -1122,7 +1123,9 @@ foreach ($result as $event) {
$string .= '<i>- ' . __('Empty') . ' -</i>'; $string .= '<i>- ' . __('Empty') . ' -</i>';
} }
$string .= '</td></tr>'; $string .= '</td></tr>';
}
if ($event["criticity"] == 3) {
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Warning instructions') . '</td><td align="left">'; $string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Warning instructions') . '</td><td align="left">';
if ($event["warning_instructions"] != '') { if ($event["warning_instructions"] != '') {
$string .= $event["warning_instructions"]; $string .= $event["warning_instructions"];
@ -1133,7 +1136,9 @@ foreach ($result as $event) {
$string .= '<i>- ' . __('Empty') . ' -</i>'; $string .= '<i>- ' . __('Empty') . ' -</i>';
} }
$string .= '</td></tr>'; $string .= '</td></tr>';
}
if ($event["criticity"] == 0) {
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Unknown instructions') . '</td><td align="left">'; $string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Unknown instructions') . '</td><td align="left">';
if ($event["unknown_instructions"] != '') { if ($event["unknown_instructions"] != '') {
$string .= $event["unknown_instructions"]; $string .= $event["unknown_instructions"];
@ -1144,6 +1149,7 @@ foreach ($result as $event) {
$string .= '<i>- ' . __('Empty') . ' -</i>'; $string .= '<i>- ' . __('Empty') . ' -</i>';
} }
$string .= '</td></tr>'; $string .= '</td></tr>';
}
$string .= '</table>'; $string .= '</table>';