| 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 | **/ |
| 11 | |
| 12 | session_start(); |
| 13 | |
| 14 | if (!isset($i18n_php)) |
| 15 | include("../functions/i18n.php"); |
| 16 | if (!isset($config_php)) |
| 17 | include("../config/config.php"); |
| 18 | if (!isset($page_header_php)) |
| 19 | include("../functions/page_header.php"); |
| 20 | if (!isset($auth_php)) |
| 21 | include("../functions/auth.php"); |
| 22 | if (!isset($addressbook_php)) |
| 23 | include("../functions/addressbook.php"); |
| 24 | |
| 25 | is_logged_in(); |
| 26 | |
| 27 | include("../src/load_prefs.php"); |
| 28 | |
| 29 | set_up_language(getPref($data_dir, $username, "language")); |
| 30 | |
| 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 |
| 43 | SRC="addrbook_search.php?show=form" BORDER=0> |
| 44 | <FRAME NAME="abookres" MARGINWIDTH=0 SRC="addrbook_search.php?show=blank" |
| 45 | BORDER=0> |
| 46 | </FRAMESET> |
| 47 | |
| 48 | </HTML> |