From 58f29bf9fa7deb392858a0900273c8ee008ea77a Mon Sep 17 00:00:00 2001 From: slerena Date: Thu, 11 Mar 2010 18:52:42 +0000 Subject: [PATCH] 2010-03-11 Snacho Lerena * include/help/en/check_other_languages.sh: Small script to show help files not translated. * include/functions_ui.php: Fixed call to undefined variable. * godmode/setup/setup.php: Small box for textarea. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 9 +++++++++ pandora_console/godmode/setup/setup.php | 2 +- pandora_console/include/functions_ui.php | 2 ++ pandora_console/include/help/en/check_other_languages.sh | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 pandora_console/include/help/en/check_other_languages.sh diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 052b18fe65..6d6781020c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2010-03-11 Snacho Lerena + + * include/help/en/check_other_languages.sh: Small script to show + help files not translated. + + * include/functions_ui.php: Fixed call to undefined variable. + + * godmode/setup/setup.php: Small box for textarea. + 2010-03-10 Sancho Lerena * pandoradb_data.sql: Added new default values for purge event, diff --git a/pandora_console/godmode/setup/setup.php b/pandora_console/godmode/setup/setup.php index 708eb5339e..9fc1b407e4 100644 --- a/pandora_console/godmode/setup/setup.php +++ b/pandora_console/godmode/setup/setup.php @@ -99,7 +99,7 @@ $table->data[14][1] = print_input_text ('attachment_store', $config["attachment_ $table->data[15][0] = __('IP list with API access') . print_help_tip (__("The list of IPs separate with carriage return."), true); $list_ACL_IPs_for_API = get_parameter('list_ACL_IPs_for_API', implode("\n", $config['list_ACL_IPs_for_API'])); -$table->data[15][1] = print_textarea('list_ACL_IPs_for_API', 5, 15, $list_ACL_IPs_for_API, null, true); +$table->data[15][1] = print_textarea('list_ACL_IPs_for_API', 2, 25, $list_ACL_IPs_for_API, 'style="height: 50px; width: 300px"', true); $table->data[16][0] = __('Enable GIS features in Pandora Console'); $table->data[16][1] = __('Yes').' '.print_radio_button ('activate_gis', 1, '', $config["activate_gis"], true).'  '; diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index d7ae7a7c46..66f5fa19a9 100644 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -278,6 +278,8 @@ function print_agent_name ($id_agent, $return = false, $cutoff = 0, $style = '') * @return array A formatted array with proper html for use in $table->data (6 columns) */ function format_alert_row ($alert, $compound = false, $agent = true, $url = '') { + + $actionText = ""; require_once ("include/functions_alerts.php"); $isFunctionPolicies = enterprise_include_once ('include/functions_policies.php'); diff --git a/pandora_console/include/help/en/check_other_languages.sh b/pandora_console/include/help/en/check_other_languages.sh new file mode 100644 index 0000000000..cb92bad026 --- /dev/null +++ b/pandora_console/include/help/en/check_other_languages.sh @@ -0,0 +1,2 @@ +for a in `ls`; do ESTA=`find ../es/$a 2> /dev/null | wc -l`; if [ $ESTA == 0 ]; then cp $a /tmp; fi ; done +