2008-09-25 Ramon Novoa <rnovoa@artica.es>

* general/pandora_help.php: Fixed bug #2119100.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2008-09-25 15:08:06 +00:00
parent b9db39407d
commit fb90ef1544
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-09-25 Ramon Novoa <rnovoa@artica.es>
* general/pandora_help.php: Fixed bug #2119100.
2008-09-25 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_duplicateconfig.php,

View File

@ -26,6 +26,11 @@ echo '<body>';
$id = get_parameter ('id');
$help_file = $config["homedir"]."/include/help/".$config["language"]."/help_".$id.".php";
// Default to english
if (! file_exists ($help_file)) {
$help_file = $config["homedir"]."/include/help/en/help_".$id.".php";
}
if (! $id || ! file_exists ($help_file)) {
echo "<div class='databox' id='login'><div id='login_f' class='databox'>";
echo '<h1 id="log_f" style="margin-top: 0px;" class="error">';