Happy New Year
[squirrelmail.git] / src / addrbook_popup.php
index 99abf0255236c6667c50b66868673f9eabdece17..4d0a075a546c169dd42d8c5ba3d087dc9d8f0a67 100644 (file)
@@ -3,37 +3,25 @@
 /**
  * addrbook_popup.php
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * Frameset for the JavaScript version of the address book.
  *
- * $Id$
+ * @copyright 1999-2020 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage addressbook
+ */
+
+/** This is the addrbook_popup page */
+define('PAGE_NAME', 'addrbook_popup');
+
+/**
+ * Include the SquirrelMail initialization file.
  */
+include('../include/init.php');
+
+displayHtmlHeader($org_title .': '. _("Addresses"), '', false, true);
 
-/* Path for SquirrelMail required files. */
-define('SM_PATH','../');
+$oTemplate->display('addressbook_popup.tpl');
 
-/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/addressbook.php');
-   
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
 
-<HTML>
-    <HEAD>
-        <TITLE><?php echo "$org_title: " . _("Address Book"); ?></TITLE>
-    </HEAD>
-    <FRAMESET ROWS="60,*" BORDER=0>
-        <FRAME NAME="abookmain"
-               MARGINWIDTH="0"
-               SCROLLING="NO"
-               BORDER="0"
-               SRC="addrbook_search.php?show=form">
-        <FRAME NAME="abookres"
-               MARGINWIDTH="0"
-               BORDER="0"
-              SRC="addrbook_search.php?show=blank">
-    </FRAMESET>
-</HTML>