2008-12-20, 06:41 PM
admin/modules/config/settings.php lines 1139 and 1143 call a function $form->generate_checkbox_input however that function does not seem to be defined anywhere in the MyBB code (though I could use checkboxes in my plugin, guess I'm out of luck)
mybb_1404.zip.dir $ grep -Einr generate_checkbox .
./admin/modules/config/settings.php:1139: $option_list[$i] = $form->generate_checkbox_input($element_name, $optionsexp[0], htmlspecialchars_uni($optionsexp[1]), array('id' => $element_id.'_'.$i, "checked" => 1, 'class' => $element_id));
./admin/modules/config/settings.php:1143: $option_list[$i] = $form->generate_checkbox_input($element_name, $optionsexp[0], htmlspecialchars_uni($optionsexp[1]), array('id' => $element_id.'_'.$i, 'class' => $element_id));