diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8590799e21..e061b5ecd6 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-06-09 Ramon Novoa <rnovoa@artica.es> + + * general/footer.php: Show the English license if a localized version + is not available. + 2010-06-09 Sergio Martin <sergio.martin@artica.es> * godmode/agentes/agent_manager.php: Fixed the agent icons on diff --git a/pandora_console/general/footer.php b/pandora_console/general/footer.php index 9bed384f93..147dbf5625 100644 --- a/pandora_console/general/footer.php +++ b/pandora_console/general/footer.php @@ -20,7 +20,12 @@ if (isset($_SERVER['REQUEST_TIME'])) { $time = get_system_time (); } -echo '<a class="white_bold" target="_blank" href="general/license/pandora_info_'.$config["language"].'.html">'; +$license_file = 'general/license/pandora_info_'.$config["language"].'.html'; +if (! file_exists ($license_file)) { + $license_file = 'general/license/pandora_info_en.html'; +} + +echo '<a class="white_bold" target="_blank" href="' . $license_file. '">'; echo 'Pandora FMS '.$pandora_version.' - Build '.$build_version; echo '</a><br />'; echo '<a class="white">'. __('Page generated at') . ' '. print_timestamp ($time, true, array ("prominent" => "timestamp")); //Always use timestamp here