Add some code to produce a proper error message when preference/signature files are
[squirrelmail.git] / doc / plugin.txt
index 501e9b30174f25e792bd45849357a998f002f473..a05a67096ae76fb64d8a11144f909834456c1ad1 100644 (file)
@@ -137,6 +137,7 @@ List of hooks
   html_bottom                     src/read_body.php
   read_body_header                src/read_body.php
   read_body_header_right          src/read_body.php
+  read_body_after_from            src/read_body.php
   search_before_form              src/search.php
   search_after_form               src/search.php
   search_bottom                   src/search.php
@@ -147,7 +148,6 @@ List of hooks
   addressbook_bottom              src/addressbook.php
   ^ attachment $type0/$type1      functions/mime.php (see note on attachments)
    
-   
 (*) Options
 -----------
 There are two ways to do options for your plugin.  First, you can incorporate it
@@ -277,6 +277,10 @@ To set up links for actions, you assign them like this:
   $Args[1]['your_plugin_name']['href'] = 'URL to link to';
   $Args[1]['your_plugin_name']['text'] = 'What to display';
     
+It's also possible to specify a hook as "attachment type0/*",
+for example "attachment text/*". This hook will be executed whenever there's
+no more specific rule available for that type.
+
 
 Outputting Your Own Pages
 -------------------------