Adding information from abook_group v.0.50 mailbox.
Original author: Leonardo Pimenta Gonzalez <leo at
lns.com.br>
------------------
Hello,
I wrote a little code to add a link for abook_group at
the Address Book bottom
page. I think that users are confused about find the
abook_group on different
place of Default Address Book. (on options)
Maybe you can't like it and put in the next version :)
Here it goes:
On setup.php
Added on function squirrelmail_plugin_init_abook_group() {
"abook_group_linking";
}
Create function abook_group_linking on setup.php
function abook_group_linking() {
if (defined('SM_PATH'))
include_once(SM_PATH .
'plugins/abook_group/functions.php');
else
include_once('../plugins/abook_group/functions.php');
create_link_form();
}
Create the file functions.php with:
<?php
function create_link_form() {
global $color;
echo html_tag('br');
echo html_tag('table',
html_tag ('tr',
html_tag ('td', "\n" . '<strong>' . ' <a
href=/plugins/abook_group/list_abook_group.php>Address
Book Groups</a' .
'</strong>' . "\n", 'center', $color[0] )) , 'center',
'', 'width="100%"' );
}
?>
It's done.
Thanks and sorry for my poor English.
email message in txt format