X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddrbook_search.php;h=15ea0e04947cfaa4ba079a4630b4f7c56f1e4716;hb=39bfea8fa9fd939da9766a79381f68ea4b725c23;hp=e6beddef3e6369fa9f13a71f77946816a8296696;hpb=8672576304f4da444b9b1e0e4ca81505af0267ec;p=squirrelmail.git diff --git a/src/addrbook_search.php b/src/addrbook_search.php index e6beddef..15ea0e04 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -3,7 +3,7 @@ /** * addrbook_search.php * - * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Copyright (c) 1999-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Handle addressbook searching in the popup window. @@ -12,18 +12,38 @@ * addrbook_search_html.html -- If you change one, * change the other one too! * - * $Id$ + * @version $Id$ + * @package squirrelmail */ -/* Path for SquirrelMail required files. */ +/** + * Path for SquirrelMail required files. + * @ignore + */ define('SM_PATH','../'); -/* SquirrelMail required files. */ -require_once(SM_PATH . 'src/validate.php'); +/** SquirrelMail required files. */ +require_once(SM_PATH . 'include/validate.php'); require_once(SM_PATH . 'functions/strings.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/html.php'); +require_once(SM_PATH . 'functions/forms.php'); + +/** lets get the global vars we may need */ +sqgetGlobalVar('key', $key, SQ_COOKIE); +sqgetGlobalVar('username', $username, SQ_SESSION); +sqgetGlobalVar('onetimepad',$onetimepad, SQ_SESSION); +sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION); -/* Function to include JavaScript code */ +sqgetGlobalVar('show' , $show); +sqgetGlobalVar('query', $query, SQ_POST); +sqgetGlobalVar('listall', $listall, SQ_POST); +sqgetGlobalVar('backend', $backend, SQ_POST); + +/** + * Function to include JavaScript code + * @return void + */ function insert_javascript() { ?>