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