X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddrbook_search.php;h=8051122a078662e024720d27c9cc4c510559218e;hb=211f8c1d635041a8bf1208c4c4f8cfffbd2fd97a;hp=9202b1375ab8292b5a05725020d5c601fd8a1b71;hpb=5100704d64380cc532dac7e5da8c72a56dd94071;p=squirrelmail.git diff --git a/src/addrbook_search.php b/src/addrbook_search.php index 9202b137..8051122a 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -1,168 +1,260 @@ - +/** + * addrbook_search.php + * + * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Licensed under the GNU GPL. For full terms see the file COPYING. + * + * Handle addressbook searching in the popup window. + * + * NOTE: A lot of this code is similar to the code in + * addrbook_search_html.html -- If you change one, + * change the other one too! + * + * $Id$ + */ + +require_once('../src/validate.php'); +require_once('../functions/strings.php'); + +/* Function to include JavaScript code */ +function insert_javascript() { + ?> + "; - } else { - echo "
\n"; - } - - // Just make a blank page and exit - if(($show == "blank") || (empty($query) && empty($show))) { - printf("
%s