diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 6eb1a9ac0e..9043078271 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-05-30 Sergio Martin + + * godmode/servers/recon_script.php: Improve layout of recon scripts + lists for ticket #822 + 2014-05-30 Miguel de Dios * godmode/reporting/visual_console_builder.editor.js, diff --git a/pandora_console/godmode/servers/recon_script.php b/pandora_console/godmode/servers/recon_script.php index eaed1e6a43..1db2fe9f3c 100644 --- a/pandora_console/godmode/servers/recon_script.php +++ b/pandora_console/godmode/servers/recon_script.php @@ -343,9 +343,8 @@ else { $rows = db_get_all_rows_in_table('trecon_script'); if ($rows !== false) { - echo ''; + echo '
'; echo ""; - echo ""; echo ""; echo ""; $color = 0; @@ -359,14 +358,15 @@ else { $color = 1; } echo ""; - echo ""; echo "";
" . __('Name') . "" . __('Command') . "" . __('Description') . "" . __('Delete') . "
"; + echo ""; echo ""; echo $row["name"]; echo ""; - echo $row["script"]; - echo ""; - echo $row["description"]; + $desc = io_safe_output($row["description"]); + $desc = str_replace("\n", "
", $desc); + echo $desc . '

'; + echo '' . __('Command') . ': ' . $row["script"] . ''; echo "
"; echo "" . html_print_image("images/cross.png", true, array("border" => '0')) . ""; echo "