X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddrbook_search.php;h=6c42aa1804c2b36fc74da7d8e893bad2384f5e99;hb=c45c3f60f4ff4c2140e1183177f587d8dedfd71b;hp=cb2767efb706a817aab4919aea6ab6ccf7add4da;hpb=c9e9b23cbdad092a5d0dc36ed6f5d6db72e1f037;p=squirrelmail.git diff --git a/src/addrbook_search.php b/src/addrbook_search.php index cb2767ef..6c42aa18 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -14,6 +14,8 @@ ** $Id$ **/ + include("../src/validate.php"); + // Function to include JavaScript code function insert_javascript() { ?> @@ -126,40 +128,16 @@ function bcc_address($addr) { /* ================= End of functions ================= */ - session_start(); - - if (!isset($i18n_php)) - include('../functions/i18n.php'); - - if(!isset($logged_in) || !isset($username) || !isset($key)) { - include ('../themes/default_theme.php'); - include ('../functions/display_messages.php'); - printf('
', - $color[8], $color[4], $color[7], $color[7], $color[7]); - plain_error_message(_("You need a valid user and password to access this page!") - . '