add proper decoding to To fields, thanks Thierry Godefroy
[squirrelmail.git] / src / addrbook_search.php
index cfbe3ba8b6c296026aad418691ccefd89ca84794..14a2f477599c7b45e644a692f5f3b73ce4933b20 100644 (file)
@@ -15,6 +15,9 @@
  * @subpackage addressbook
  */
 
+/** This is the addrbook_search page */
+define('PAGE_NAME', 'addrbook_search');
+
 /**
  * Include the SquirrelMail initialization file.
  */
@@ -63,7 +66,6 @@ displayHtmlHeader();
 echo "<body>\n";
 
 /** set correct value of $default_charset */
-global $default_charset;
 set_my_charset();
 
 /* Empty search */
@@ -79,7 +81,7 @@ $abook = addressbook_init($showerr);
 
 /* Create search form (top frame) */
 if ($show == 'form' && ! isset($listall)) {
-    echo "<form name=\"sform\" target=\"abookres\" action=\"addrbook_search.php\" method=\"POST\">\n";
+    echo "<form name=\"sform\" target=\"abookres\" action=\"addrbook_search.php\" method=\"post\">\n";
     
     $oTemplate->assign('use_js', true);
     $oTemplate->assign('backends', getBackends());
@@ -140,4 +142,3 @@ if ($show == 'form' && ! isset($listall)) {
 }
 
 $oTemplate->display('footer.tpl');
-?>
\ No newline at end of file