Adding full locale names. Enabled ukrainian and russian-ukrainian
[squirrelmail.git] / src / printer_friendly_top.php
index 6fe4da1be5dfb5429d76a9a7ca6d6a2315c465e3..9748e4ddb49e715330ca217009e2007a13fcca56 100644 (file)
@@ -3,23 +3,24 @@
 /**
  * printer_friendly_top.php
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * top frame of printer_friendly_main.php
  * displays some javascript buttons for printing & closing
  *
  * $Id$
+ * @package squirrelmail
  */
 
-/* Path for SquirrelMail required files. */
+/** Path for SquirrelMail required files. */
 define('SM_PATH','../');
 
 /* SquirrelMail required files. */
-require_once(SM_PATH . 'src/validate.php');
+require_once(SM_PATH . 'include/validate.php');
 require_once(SM_PATH . 'functions/strings.php');
 require_once(SM_PATH . 'config/config.php');
-require_once(SM_PATH . 'src/load_prefs.php');
+require_once(SM_PATH . 'include/load_prefs.php');
 require_once(SM_PATH . 'functions/page_header.php');
 require_once(SM_PATH . 'functions/html.php');
 
@@ -35,16 +36,14 @@ displayHtmlHeader( _("Printer Friendly"),
 
 
 echo "<body text='$color[8]' bgcolor='$color[3]' link='$color[7]' vlink='$color[7]' alink='$color[7]'>\n" .
-     //'<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" align="center">'.
      html_tag( 'div',
          '<b>'.
          '<form>'.
-         '<input type="button" value="' . _("Print") . '" onClick="printPopup()"> '.
-         '<input type="button" value="' . _("Close") . '" onClick="window.parent.close()">'.
+         '<input type="button" value="' . _("Print") . '" onclick="printPopup()" /> '.
+         '<input type="button" value="' . _("Close") . '" onclick="window.parent.close()" />'.
          '</form>'.
          '</b>',
      'right' );
-     //'</td></tr></table>'.
      '</body></html>'. "\n";
 
 ?>