From 126d0f00dcabb995f49040a3a550ffc45717f668 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 7 Jun 2010 09:07:35 +0000 Subject: [PATCH] 2010-06-07 Miguel de Dios * godmode/alerts/alert_list.list.php: fixed the style of action list in the alert list. Fixes: #3000991 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ .../godmode/alerts/alert_list.list.php | 20 +++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7479eb0b6a..ff1158d131 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2010-06-07 Miguel de Dios + + * godmode/alerts/alert_list.list.php: fixed the style of action list in the + alert list. + + Fixes: #3000991 + 2010-06-07 Sergio Martin * install.php: Fixed typo bug for bug 3012385 diff --git a/pandora_console/godmode/alerts/alert_list.list.php b/pandora_console/godmode/alerts/alert_list.list.php index 8d9af0956f..921d49c645 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -246,11 +246,11 @@ foreach ($simple_alerts as $alert) { } else { $data[5] = '
    '; foreach ($actions as $action_id => $action) { - $data[5] .= '
  • '; + $data[5] .= '
  • '; if ($alert['disabled']) - $data[5] .= ''; + $data[5] .= ''; else - $data[5] .= ''; + $data[5] .= ''; $data[5] .= $action['name']; $data[5] .= ' ('; if ($action['fires_min'] == $action['fires_max']) { @@ -258,25 +258,25 @@ foreach ($simple_alerts as $alert) { $data[5] .= __('Always'); else $data[5] .= __('On').' '.$action['fires_min']; - } else { + } + else { if ($action['fires_min'] == 0) $data[5] .= __('Until').' '.$action['fires_max']; else $data[5] .= __('From').' '.$action['fires_min']. ' '.__('to').' '.$action['fires_max']; } - $data[5] .= ')'; - $data[5] .= ''; - $data[5] .= ' '; - $data[5] .= ''; - $data[5] .= '
  • '; +// $data[5] .= ''; + $data[5] .= ''; } $data[5] .= '
'; }