function _option_nfs_taxonomy in Node and Comments Form Settings 6.3
Same name and namespace in other branches
- 6.2 includes/option_nfs_taxonomy.inc \_option_nfs_taxonomy()
Change the value for the submit button
There's no if here
File
- includes/
option_nfs_taxonomy.inc, line 8
Code
function _option_nfs_taxonomy(&$form, &$form_state, $settings, $node) {
if ($settings['nfs_taxonomy'] == 1) {
$form['taxonomy']['#type'] = 'markup';
}
return $form;
}