bring string in line with rest
[squirrelmail.git] / src / addrbook_popup.php
index a042eae5e77539f1900f2a3ff9344b489bf46212..7444fdce4472b950bdb080aa4eeba5c42eea5745 100644 (file)
@@ -1,37 +1,25 @@
 <?php
-   /**
-    **  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$
-    **/
 
-   include('../src/validate.php');
-   include('../functions/page_header.php');
-   include('../functions/addressbook.php');
-   include('../src/load_prefs.php');
-   
-   set_up_language(getPref($data_dir, $username, 'language'));
-   
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
+/**
+ * addrbook_popup.php
+ *
+ * Frameset for the JavaScript version of the address book.
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage addressbook
+ */
 
-<HTML>
-<HEAD>
-<TITLE><?php 
-   printf("%s: %s", $org_title, _("Address Book")); 
-?></TITLE>
-</HEAD>
+/**
+ * Include the SquirrelMail initialization file.
+ */
+include('../include/init.php');
 
-<FRAMESET ROWS="60,*" BORDER=0>
- <FRAME NAME="abookmain" MARGINWIDTH=0 SCROLLING=NO
-        SRC="addrbook_search.php?show=form" BORDER=0>
- <FRAME NAME="abookres" MARGINWIDTH=0 SRC="addrbook_search.php?show=blank"
-        BORDER=0>
-</FRAMESET>
+displayHtmlHeader($org_title .': '. _("Addresses"), '', false, true);
+
+$oTemplate->display('addressbook_popup.tpl');
+
+$oTemplate->display('footer.tpl');
 
-</HTML>