X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddressbook.php;h=e769db09bada5a444dbb70959b2a598304e6f3d2;hb=9bc3dc44d2304f868fe95b00fd6436a39654128f;hp=8201f4c92431db5c76c515ff0c82d2e7b69d3fb2;hpb=664428fad61571769e5cd479b07710b3a694bc47;p=squirrelmail.git diff --git a/src/addressbook.php b/src/addressbook.php index 8201f4c9..e769db09 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -10,11 +10,10 @@ ** $Id$ **/ - include('../src/validate.php'); - include('../functions/array.php'); - include('../functions/page_header.php'); - include('../functions/display_messages.php'); - include('../functions/addressbook.php'); + require_once('../src/validate.php'); + require_once('../functions/array.php'); + require_once('../functions/display_messages.php'); + require_once('../functions/addressbook.php'); // Sort array by the key "name" function alistcmp($a,$b) { @@ -76,8 +75,6 @@ } - include('../src/load_prefs.php'); - // Open addressbook, with error messages on but without LDAP (the // second "true"). Don't need LDAP here anyway $abook = addressbook_init(true, true); @@ -283,6 +280,9 @@ $prevbackend = -1; $headerprinted = false; + echo "
\n"; + // List addresses printf("