This hook can be used for adding items to the form on the "General Settings" page of the admin interface.
Call time:
Right before the PhorumInputForm object is shown.
Hook input:
The PhorumInputForm object.
Hook output:
Same as input.
Example code:
function phorum_mod_foo_admin_general ($frm)
{
// Add a section for the foo settings
$frm->addbreak( "Foo Module Settings" );
// Add the option to cache the bar
$row=$frm->addrow( "Enable Bar Caching:", $frm->select_tag( "mod_foo[enable_bar_caching]", array( "No", "Yes" ), $PHORUM["mod_foo"]["enable_bar_caching"] ) );
$frm->addhelp($row, "Enable Bar Caching", "If you select yes for this option, then the bar will be cached." );
// Return the modified PhorumInputForm
return $frm;
}