fixed data sanitizing in calendar plugin.
[squirrelmail.git] / src / help.php
index 690f274de70acf89bd5ed9b7f6d69ef1917573ae..dd475d61f7711dd73a39d22f8bb359ffcfb9e809 100644 (file)
@@ -3,11 +3,10 @@
 /**
  * help.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * Displays help for the user
  *
+ * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
@@ -119,8 +118,8 @@ if (!isset($squirrelmail_language)) {
 if (file_exists("../help/$squirrelmail_language")) {
     $user_language = $squirrelmail_language;
 } else if (file_exists('../help/en_US')) {
-    echo "<center><font color=\"$color[2]\">";
-    printf (_("The help has not been translated to %s. It will be displayed in English instead."), $languages[$squirrelmail_language]['NAME']);
+    echo "<center><font color=\"$color[2]\">"
+        ._("The help has not been translated to the selected language. It will be displayed in English instead.");
     echo '</font></center><br />';
     $user_language = 'en_US';
 } else {
@@ -211,5 +210,6 @@ do_hook('help_bottom');
 echo html_tag( 'tr',
             html_tag( 'td', '&nbsp;', 'left', $color[0] )
         );
+
 ?>
 </table></body></html>
\ No newline at end of file