From 23e3aacf96071a70cac9f651819f56f11bf9d56c Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 12 Jul 2005 08:47:16 +0000 Subject: [PATCH] documenting hook changes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9758 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- doc/Development/plugin.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/Development/plugin.txt b/doc/Development/plugin.txt index d5266cbc..64ca8f0a 100644 --- a/doc/Development/plugin.txt +++ b/doc/Development/plugin.txt @@ -417,8 +417,9 @@ options_identities_table This hook allows you to insert additional rows into the table that holds each identity. The arguments to this hook are: - [0] = color of table (use it like this in your plugin: - + [0] = additional html attributes applied to table row. + use it like this in your plugin: + "> [1] = is this an empty section (the one at the end of the list)? [2] = what is the 'post' value? (ident # or empty string if default) @@ -431,6 +432,10 @@ options_identities_table . 'YOUR CODE HERE' . '' . "\n"; } + First hook argument was modified in 1.4.5/1.5.1. In SquirrelMail 1.4.1-1.4.4 + and 1.5.0 argument contains only background color. You should use + in these SquirrelMail versions. + options_identities_buttons This hook allows you to add a button (or other HTML) to the row of -- 2.25.1