* modifications in order to use ent_id=0 for downloading full messages
[squirrelmail.git] / src / addrbook_popup.php
index 8b6e1adbe11965e5b58b6d712b097d87eb4d8171..9db01ee068a7e88d128089872c9ab90792e7b3fa 100644 (file)
@@ -1,33 +1,39 @@
 <?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$
-    **/
 
-   require_once('../src/validate.php');
-   require_once('../functions/addressbook.php');
+/**
+ * addrbook_popup.php
+ *
+ * Copyright (c) 1999-2003 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$
+ */
+
+/* Path for SquirrelMail required files. */
+define('SM_PATH','../');
+
+/* 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">
+<!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
-        SRC="addrbook_search.php?show=form" BORDER=0>
<FRAME NAME="abookres" MARGINWIDTH=0 SRC="addrbook_search.php?show=blank"
-        BORDER=0>
-</FRAMESET>
-
-</HTML>
\ No newline at end of file
+    <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>