Happy New Year
[squirrelmail.git] / src / addrbook_popup.php
index d85f74c178e6cabadacc0e0156c2aff18814124f..e140bd8139b034ea8055bff77407c2649b7b9473 100644 (file)
@@ -3,42 +3,25 @@
 /**
  * addrbook_popup.php
  *
- * Copyright (c) 1999-2005 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.
  *
+ * @copyright 1999-2018 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');
+
 /**
- * Path for SquirrelMail required files.
- * @ignore
+ * Include the SquirrelMail initialization file.
  */
-define('SM_PATH','../');
+include('../include/init.php');
+
+displayHtmlHeader($org_title .': '. _("Addresses"), '', false, true);
 
-/** SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/addressbook.php');
+$oTemplate->display('addressbook_popup.tpl');
 
-?>
-<!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>
\ No newline at end of file