2011-02-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* functions_ui.php: Fixed a graphical error displaying action list.

	Fixes: #3182502 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-02-21 18:38:36 +00:00
parent d717ea19a2
commit ed37a4f9db
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2011-02-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* functions_ui.php: Fixed a graphical error displaying action list.
Fixes: #3182502
2011-02-21 Miguel de Dios <miguel.dedios@artica.es> 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css, godmode/servers/modificar_server.php: added * include/styles/pandora.css, godmode/servers/modificar_server.php: added

View File

@ -507,15 +507,15 @@ function format_alert_row ($alert, $compound = false, $agent = true, $url = '')
$actions = get_alert_agent_module_actions ($alert['id'], false, $compound); $actions = get_alert_agent_module_actions ($alert['id'], false, $compound);
if (!empty($actions)) { if (!empty($actions)) {
$actionText = '<ul class="action_list">'; $actionText = '<div style="margin-left: 10px;"><ul class="action_list">';
foreach ($actions as $action) { foreach ($actions as $action) {
$actionText .= '<li><div><span class="action_name">' . $action['name']; $actionText .= '<div><span class="action_name"><li>' . $action['name'];
if ($action["fires_min"] != $action["fires_max"]){ if ($action["fires_min"] != $action["fires_max"]){
$actionText .= " (".$action["fires_min"] . " / ". $action["fires_max"] . ")"; $actionText .= " (".$action["fires_min"] . " / ". $action["fires_max"] . ")";
} }
$actionText .= '</li></span><br /></div>'; $actionText .= '</li></span><br /></div>';
} }
$actionText .= '</div></ul>'; $actionText .= '</ul></div>';
} }
else { else {
if ($actionDefault != "") if ($actionDefault != "")