/**
* addrbook_popup.php
*
- * Copyright (c) 1999-2004 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-2024 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.01 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>