Add Cancel button to HTML addressbook. This was even simpler than I thought.
[squirrelmail.git] / src / addrbook_search_html.php
index 5a6a98340dbbdd56f59bfe8ba836d1f97781ff64..98cc26f3c8a19585a9977d72fdec4e1f90b92056 100644 (file)
@@ -157,7 +157,9 @@ if ($javascript_on) {
     echo html_tag( 'tr',
                 html_tag( 'td',
                         '<input type="submit" name="addr_search_done" value="' .
-                        _("Use Addresses") . '" />' ,
+                        _("Use Addresses") . '" /> ' .
+                       '<input type="submit" name="addr_search_cancel" value="' .
+                       _("Cancel") . '" />',
                 'center', '', 'colspan="'. $td_colspan .'"' )
             ) .
          '</table>' .
@@ -305,4 +307,4 @@ if ($addrquery == '' || sizeof($res) == 0) {
 }
 
 ?>
-</body></html>
\ No newline at end of file
+</body></html>