On Fri, 07 Aug 2009 15:44:15 -0230, Robert King <[email protected]> wrote:
> I'm trying to wrap my head around how the hook for list_prefs_sections
> works. I don't think my brain is up to the task today, so I was
> wondering if anyone has a small example to show?
If you just want to add an item to the list, do:
function opt_block($args)
{
$args['list']['optlabel'] = array( 'id' => 'optlabel', 'section' =>
'Option Label');
return $args;
}
--
Aleksander 'A.L.E.C' Machniak http://alec.pl
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/