瀏覽代碼

updated some docs

Luke Ehresman 25 年之前
父節點
當前提交
0cdb36dc6f
共有 2 個文件被更改,包括 11 次插入2 次删除
  1. 1 0
      AUTHORS
  2. 10 2
      doc/plugin.txt

+ 1 - 0
AUTHORS

@@ -11,6 +11,7 @@
    Lewis Bergman
    Lewis Bergman
    Bryan Stalcup <bryan@stalcup.net>
    Bryan Stalcup <bryan@stalcup.net>
    Tyler Akins <tyler@boas.anthro.mnsu.edu>
    Tyler Akins <tyler@boas.anthro.mnsu.edu>
+   Damien Sandras <dsandras@acm.org>
 
 
  Translations:
  Translations:
  -------------
  -------------

+ 10 - 2
doc/plugin.txt

@@ -113,9 +113,9 @@ List of hooks
   help_top                        src/help.php
   help_top                        src/help.php
   help_bottom                     src/help.php
   help_bottom                     src/help.php
   help_chapter                    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
   addressbook_bottom              src/addressbook.php
-  attachment $type0/$type1        functions/mime.php
+  ^ attachment $type0/$type1      functions/mime.php
    
    
 (*) Options
 (*) 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.
 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
 First:  Integrating into existing options
 -----------------------------------------
 -----------------------------------------
 There are two hooks you need to use for this one:
 There are two hooks you need to use for this one: