updated some docs
[squirrelmail.git] / doc / plugin.txt
index 2e8f354aa968fec36b43f548f6b9fbbffe383e58..47f31f9aa080561fb6b9c5c356e5ded70532010b 100644 (file)
@@ -113,9 +113,9 @@ List of hooks
   help_top                        src/help.php
   help_bottom                     src/help.php
   help_chapter                    src/help.php
-  abook_html_search_below         src/addrbook_search_html.php
+  addrbook_html_search_below      src/addrbook_search_html.php
   addressbook_bottom              src/addressbook.php
-  attachment $type0/$type1        functions/mime.php
+  ^ attachment $type0/$type1      functions/mime.php
    
 (*) Options
 -----------
@@ -125,6 +125,14 @@ The second way, you create your own section that they can choose from and it
 displays its own range of options.
 
 
+(^) Attachment Hooks
+--------------------
+When a message has attachments, this hook is called with the MIME types.  For
+instance, a .zip file hook is "attachment application/x-zip".  The hook should
+probably show a link to do a specific action, such as "Verify" or "View" for a
+.zip file.
+
+
 First:  Integrating into existing options
 -----------------------------------------
 There are two hooks you need to use for this one: