2010-06-09 Ramon Novoa <rnovoa@artica.es>

* general/footer.php: Show the English license if a localized version
          is not available.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-06-09 09:45:55 +00:00
parent 8a3b04672f
commit 5bcc79ea13
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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