Browse Source

Added hook at the bottom named addressbook_bottom for import plugin.

lbergman 25 years ago
parent
commit
4294b34366
1 changed files with 2 additions and 7 deletions
  1. 2 7
      src/addressbook.php

+ 2 - 7
src/addressbook.php

@@ -359,13 +359,8 @@
    address_form("addaddr", _("Add address"), $defdata);
    print "</FORM>";
 
+   // Add hook for anything that wants on the bottom
+   do_hook("addressbook_bottom");
 ?>
-<!-- ----------------- csv import form --------------------- -->
-  
-<FORM ENCTYPE="multipart/form-data" ACTION="addressbook_csvimport.php" METHOD=POST>
-<INPUT TYPE="hidden" NAME="max_file_size" value="5000">
-Import CSV File: <INPUT NAME="smusercsv" TYPE="file">
-<INPUT TYPE="submit" VALUE="Import CSV File">
-</FORM>
 
 </BODY></HTML>