X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Faddressbook.php;h=302170fb879d6c761e5d7f5edf04e0b435b71429;hp=90a9b3b27f5e55a4a7d36c4f0fc505dac2223de1;hb=74b80a5157e8170c7dce66a92f607d4bb6550cb9;hpb=6e515418431c0a99f10705da21366fe7093f95b6 diff --git a/src/addressbook.php b/src/addressbook.php index 90a9b3b2..302170fb 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -5,13 +5,16 @@ * * Manage personal address book. * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail * @subpackage addressbook */ +/** This is the addressbook page */ +define('PAGE_NAME', 'addressbook'); + /** * Include the SquirrelMail initialization file. */ @@ -21,7 +24,6 @@ include('../include/init.php'); /* address book functions */ require_once(SM_PATH . 'functions/addressbook.php'); include_once(SM_PATH . 'templates/util_addressbook.php'); -include_once(SM_PATH . 'templates/util_global.php'); /* form functions */ require_once(SM_PATH . 'functions/forms.php'); @@ -41,7 +43,7 @@ sqgetGlobalVar('doedit', $doedit, SQ_POST); $abook_sort_order = get_abook_sort(); /* Create page header before addressbook_init in order to display error messages correctly. */ -displayPageHeader($color, 'None'); +displayPageHeader($color); /* Open addressbook with error messages on. remote backends (LDAP) are enabled because they can be used. (list_addr function) @@ -280,4 +282,3 @@ echo "\n"; do_hook('addressbook_bottom', $null); $oTemplate->display('footer.tpl'); -?>