Some user interface changes.
[squirrelmail.git] / src / addrbook_popup.php
index 27fb93b3f0cd9e5af7083599856648a5cf3b6124..8b6e1adbe11965e5b58b6d712b097d87eb4d8171 100644 (file)
@@ -2,29 +2,24 @@
    /**
     **  addrbook_popup.php
     **
+    **  Copyright (c) 1999-2000 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
     **  Frameset for the JavaScript version of the address book.
     **
+    **  $Id$
     **/
 
-   session_start();
-
-   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();
+   require_once('../src/validate.php');
+   require_once('../functions/addressbook.php');
+   
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
 
 <HTML>
 <HEAD>
 <TITLE><?php 
-   printf("%s: %s", $org_title, _("Address Book")); 
+   echo "$org_title: " . _("Address Book"); 
 ?></TITLE>
 </HEAD>
 
@@ -35,4 +30,4 @@
         BORDER=0>
 </FRAMESET>
 
-</HTML>
+</HTML>
\ No newline at end of file