diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d9737e5ae4..48babd7180 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2011-03-10 Miguel de Dios + + * include/db/postgresql.php, include/db/mysql.php, include/functions_db.php: + added function "get_db_type_field_table" and subfunctions for the engines. + + * extensions/pandora_logs.php, + extenions/update_manager/lib/libupdate_manager_utils.php: fixed source code + style. + 2011-03-10 Sergio Martin * extensions/update_manager/sql/update_manager.sql diff --git a/pandora_console/extensions/pandora_logs.php b/pandora_console/extensions/pandora_logs.php index b418b8e0af..d9c1fb889a 100644 --- a/pandora_console/extensions/pandora_logs.php +++ b/pandora_console/extensions/pandora_logs.php @@ -18,11 +18,13 @@ function view_logfile ($file_name) { if (!file_exists($file_name)){ echo "

".__("Cannot find file"). "(".$file_name; echo ")

"; - } else { + } + else { if (filesize ($file_name) > 512000) { echo "

".__("File is too large (> 500KB)"). "(".$file_name; echo ")

"; - } else { + } + else { $data = file_get_contents ($file_name); echo "

$file_name (".format_numeric(filesize ($file_name)/1024)." KB)

"; echo "