Indentation fixes and minor cleanups
[squirrelmail.git] / src / addrbook_search.php
index 028c04fe60c97caad45af7fc7982cdde9a4abd96..f8617a5c5c2685f8a6d72dd79caef29eb588e6f5 100644 (file)
@@ -46,7 +46,7 @@ sqgetGlobalVar('backend', $backend, SQ_POST);
  */
 function insert_javascript() {
     ?>
-    <SCRIPT LANGUAGE="Javascript"><!--
+    <script language="Javascript"><!--
 
     function to_and_close($addr) {
         to_address($addr);
@@ -104,7 +104,7 @@ function insert_javascript() {
         }
     }
 
-// --></SCRIPT>
+// --></script>
 <?php
 } /* End of included JavaScript */
 
@@ -206,23 +206,23 @@ $abook = addressbook_init();
 /* Create search form */
 if ($show == 'form' && empty($listall)) {
     echo '<form name="sform" target="abookres" action="addrbook_search.php'. 
-         '" method="post">' . "\n" .
+            '" method="post">' . "\n" .
          html_tag( 'table', '', '', '', 'border="0" width="100%" height="100%"' ) .
          html_tag( 'tr' ) .
          html_tag( 'td', '  <strong>' . _("Search for") . "</strong>\n", 'left', '', 'nowrap valign="middle" width="10%"' ) .
          html_tag( 'td', '', 'left', '', '' ) .
-            addInput('query', $query, 28);
+         addInput('query', $query, 28);
 
     /* List all backends to allow the user to choose where to search */
     if ($abook->numbackends > 1) {
         echo '<strong>' . _("in") . '</strong>&nbsp;'."\n".
-       $selopts['-1'] = _("All address books");
-       
+             $selopts['-1'] = _("All address books");
+
         $ret = $abook->get_backend_list();
         while (list($undef,$v) = each($ret)) {
             $selopts[$v->bnum] = $v->sname;
         }
-       echo addSelect('backend', $selopts, '-1', TRUE);
+        echo addSelect('backend', $selopts, '-1', TRUE);
     } else {
         echo addHidden('backend', '-1');
     }
@@ -302,4 +302,4 @@ if ($show == 'form' && empty($listall)) {
    
 }
 ?>
-</BODY></HTML>
+</body></html>