Lots of changes for variable initialization - clean up, really,
[squirrelmail.git] / functions / page_header.php
index 568053be4c7ace8553f0785486f6f1a442cd16aa..a658c6e5122ab28effa0c5a86abfaa21a90735ad 100644 (file)
@@ -25,7 +25,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
     global $theme_css, $custom_css;
 
     echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' .
-         "\n\n<html>\n<head>\n";
+         "\n\n" . html_tag( 'html' ,'' , '', '', '' ) . "\n<head>\n";
 
     if ( !isset( $custom_css ) || $custom_css == 'none' ) {
         if ($theme_css != '') {
@@ -238,11 +238,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
         displayInternalLink ("src/compose.php?mailbox=$urlMailbox", _("Compose"), 'right');
     } 
     echo "&nbsp;&nbsp;\n";
-    if (getPref($data_dir, $username,"vcard")==1)  {
-      displayInternalLink ('src/addressbook_vcard.php', _("Addresses"), 'right');
-    } else {
     displayInternalLink ('src/addressbook.php', _("Addresses"), 'right');
-    }
     echo "&nbsp;&nbsp;\n";
     displayInternalLink ('src/folders.php', _("Folders"), 'right');
     echo "&nbsp;&nbsp;\n";