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
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
function demo_identities_button(&$args)
{
return '<input type="submit" name="demo_button_' . $args[1]
- . '" value="Press Me">';
+ . '" value="Press Me" />';
}
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
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:
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