fixed custom css loading
[squirrelmail.git] / doc / plugin.txt
index f3308d4891cd2e63e58845aa924deccca42fd29a..fee3e92203e488b388b1f267f40ce8841f12461c 100644 (file)
@@ -248,6 +248,7 @@ but may be out of date soon thereafter.  You never know.  ;-)
   check_handleAsSent_result      functions/mailbox_display.php   do_hook
   subject_link                   functions/mailbox_display.php   concat_hook
   mailbox_display_buttons        functions/mailbox_display.php   do_hook
+  mailbox_display_button_action  functions/mailbox_display.php   hook_func
   message_body                   functions/mime.php              do_hook
   ^ attachment $type0/$type1     functions/mime.php              do_hook
   attachments_bottom             functions/mime.php              hook_func
@@ -273,8 +274,6 @@ but may be out of date soon thereafter.  You never know.  ;-)
   login_top                      src/login.php                   do_hook
   login_form                     src/login.php                   do_hook
   login_bottom                   src/login.php                   do_hook
-  move_before_move               src/move_messages.php           do_hook
-  move_messages_button_action    src/move_messages.php           concat_hook
   * optpage_set_loadinfo         src/options.php                 do_hook
   * optpage_loadhook_personal    src/options.php                 do_hook
   * optpage_loadhook_display     src/options.php                 do_hook
@@ -308,10 +307,8 @@ but may be out of date soon thereafter.  You never know.  ;-)
   read_body_menu_top             src/read_body.php               hook_func
   read_body_menu_bottom          src/read_body.php               do_hook
   read_body_header_right         src/read_body.php               do_hook
-  html_top                       src/read_body.php               do_hook
   read_body_top                  src/read_body.php               do_hook
   read_body_bottom               src/read_body.php               do_hook
-  html_bottom                    src/read_body.php               do_hook
   login_before                   src/redirect.php                do_hook
   login_verified                 src/redirect.php                do_hook
   generic_header                 src/right_main.php              do_hook
@@ -324,12 +321,14 @@ but may be out of date soon thereafter.  You never know.  ;-)
   webmail_top                    src/webmail.php                 do_hook
   webmail_bottom                 src/webmail.php                 concat_hook
   logout_above_text              src/signout.php                 concat_hook
+  O info_bottom                  plugins/info/options.php        do_hook
    
 % = This hook is used in multiple places in the given file
 # = Called with hook type (see below)
 & = Special identity hooks (see below)
 ^ = Special attachments hook (see below)
 * = Special options hooks (see below)
+O = optional hook used by plugin
 
 
 (#) Called With
@@ -404,7 +403,7 @@ options_identities_buttons
       function demo_identities_button(&$args)
       {
          return '<input type="submit" name="demo_button_' . $args[1]
-              . '" value="Press Me">';
+              . '" value="Press Me" />';
       }
 
 
@@ -598,6 +597,9 @@ for you.  This is the preferred method of building options lists going forward.
                         setting in the user's preferences
          caption        The text that prefaces this setting on the preferences
                         page
+         trailing_text  Text that follows a text input or select list input on
+                        the preferences page (useful for indicating units,
+                        meanings of special values, etc.)
          type           The type of INPUT element, which should be one of:
                            SMOPT_TYPE_STRING     String/text input
                            SMOPT_TYPE_STRLIST    Select list input
@@ -855,7 +857,7 @@ name):
       should always set "optpage" as a POST or GET variable with a string that
       uniquely identifies your plugin:
 
-         <input type="hidden" name="optpage" value="plugin_demo">
+         <input type="hidden" name="optpage" value="plugin_demo" />
 
       Now in your demo_save_options_do() function, do something like this:
 
@@ -978,7 +980,7 @@ files.
 
       So, even in the HTML segments of your plugin files, you need to do this:
 
-         <input type="submit" value="<?php echo _("Submit") ?>">
+         <input type="submit" value="<?php echo _("Submit"); ?>" />
 
       You can put any text you want inside of the quotes (you MUST use double
       quotes!), including HTML tags, etc.  What you should think carefully