Back out support for using SM without Frames
[squirrelmail.git] / src / addrbook_search_html.php
index e9702ac5e0637e85ee9e593ed6118554910a0cd2..887c93703cfb0275756444a484c92413e5a5c80c 100644 (file)
@@ -276,14 +276,14 @@ else {
             echo html_tag( 'p', '<b><br>' .
                              _("Your search failed with the following error(s)") .
                             ':<br>' . $abook->error . "</b>\n" ,
-                   'center' );
-            noframes_bottom();
+                   'center' ) .
+            "\n</BODY></HTML>\n";
         } else {
             if (sizeof($res) == 0) {
                 echo html_tag( 'p', '<br><b>' .
                                  _("No persons matching your search was found") . "</b>\n" ,
-                       'center' );
-                noframes_bottom();
+                       'center' ) .
+                "\n</BODY></HTML>\n";
             } else {
                 addr_display_result($res);
             }
@@ -299,5 +299,5 @@ if ($addrquery == '' || sizeof($res) == 0) {
          '</form></center></nobr>';
 }
 
-noframes_bottom();
-?>
\ No newline at end of file
+?>
+</body></html>