Removed a lot of the warnings generated when PHP has all warnings enabled.
[squirrelmail.git] / src / addrbook_popup.php
1 <?php
2 /**
3 ** addrbook_popup.php
4 **
5 ** Copyright (c) 1999-2000 The SquirrelMail development team
6 ** Licensed under the GNU GPL. For full terms see the file COPYING.
7 **
8 ** Frameset for the JavaScript version of the address book.
9 **
10 ** $Id$
11 **/
12
13 session_start();
14
15 if (!isset($i18n_php))
16 include("../functions/i18n.php");
17 if (!isset($config_php))
18 include("../config/config.php");
19 if (!isset($page_header_php))
20 include("../functions/page_header.php");
21 if (!isset($auth_php))
22 include("../functions/auth.php");
23 if (!isset($addressbook_php))
24 include("../functions/addressbook.php");
25
26 is_logged_in();
27
28 include("../src/load_prefs.php");
29
30 set_up_language(getPref($data_dir, $username, "language"));
31
32 ?>
33 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
34
35 <HTML>
36 <HEAD>
37 <TITLE><?php
38 printf("%s: %s", $org_title, _("Address Book"));
39 ?></TITLE>
40 </HEAD>
41
42 <FRAMESET ROWS="60,*" BORDER=0>
43 <FRAME NAME="abookmain" MARGINWIDTH=0 SCROLLING=NO
44 SRC="addrbook_search.php?show=form" BORDER=0>
45 <FRAME NAME="abookres" MARGINWIDTH=0 SRC="addrbook_search.php?show=blank"
46 BORDER=0>
47 </FRAMESET>
48
49 </HTML>