Removed errors to allow resume draft with subject and attachments.
[squirrelmail.git] / src / addrbook_popup.php
index 4373db8b53118892ec4f413222baabec7623c73f..8b6e1adbe11965e5b58b6d712b097d87eb4d8171 100644 (file)
     **  $Id$
     **/
 
-   session_start();
-
-   if (!isset($strings_php))
-      include("../functions/strings.php");
-   if (!isset($i18n_php))
-      include('../functions/i18n.php');
-   if (!isset($config_php))
-      include('../config/config.php');
-   if (!isset($page_header_php))
-      include('../functions/page_header.php');
-   if (!isset($auth_php))
-      include('../functions/auth.php');
-   if (!isset($addressbook_php))
-      include('../functions/addressbook.php');
-
-   is_logged_in();
-
-   include('../src/load_prefs.php');
-   
-   set_up_language(getPref($data_dir, $username, 'language'));
+   require_once('../src/validate.php');
+   require_once('../functions/addressbook.php');
    
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
@@ -37,7 +19,7 @@
 <HTML>
 <HEAD>
 <TITLE><?php 
-   printf("%s: %s", $org_title, _("Address Book")); 
+   echo "$org_title: " . _("Address Book"); 
 ?></TITLE>
 </HEAD>
 
@@ -48,4 +30,4 @@
         BORDER=0>
 </FRAMESET>
 
-</HTML>
+</HTML>
\ No newline at end of file