diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 875dd22684..09d9597fad 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2013-04-24 Miguel de Dios + + * godmode/tag/edit_tag.php: change the input text for textarea for + large list of emails. + + Fixes: #3611473 + + * pandoradb.sql: cleaned source code style. + 2013-04-24 Miguel de Dios * operation/agentes/networkmap.topology.php: fixed the PHP diff --git a/pandora_console/godmode/tag/edit_tag.php b/pandora_console/godmode/tag/edit_tag.php index f248361ecc..4615ab58ca 100644 --- a/pandora_console/godmode/tag/edit_tag.php +++ b/pandora_console/godmode/tag/edit_tag.php @@ -144,42 +144,43 @@ echo '
'; echo ""; echo ""; - echo ""; - echo ""; echo ""; echo ""; - echo ""; - echo ""; echo ""; echo ""; - echo ""; - echo ""; echo ""; echo ""; - echo ""; - echo ""; echo ""; echo ""; if ($action == "update"){ - echo ""; echo "
"; + echo ""; html_print_label (__("Name"),'name'); echo ""; + echo ""; html_print_input_text ('name_tag', $name_tag); echo "
"; + echo ""; html_print_label (__("Description"),'name'); echo ""; + echo ""; html_print_input_text ('description_tag', $description_tag); echo "
"; + echo ""; echo '' . __("Url") . ''; echo ui_print_help_tip (__("Hyperlink to help information that has to exist previously."), true); echo ""; + echo ""; html_print_input_text ('url_tag', $url_tag); echo "
"; + echo ""; echo '' . __("Email") . ''; echo ui_print_help_tip (__("Associated Email direction to use later in alerts associated to Tags."), true); echo ""; - html_print_input_text ('email_tag', $email_tag); + echo ""; + html_print_textarea('email_tag', 5, 20, $email_tag); + //html_print_input_text ('email_tag', $email_tag); echo "
"; + echo ""; html_print_input_hidden ('update_tag', 1); echo ""; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 40035d816e..8bdb52c44c 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -1487,7 +1487,7 @@ CREATE TABLE IF NOT EXISTS `ttag` ( `name` varchar(100) NOT NULL default '', `description` text NOT NULL, `url` mediumtext NOT NULL, - `email` text NULL, + `email` text NULL, PRIMARY KEY (`id_tag`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;