function nodewords_edit_attributes_submit_add in Nodewords: D6 Meta Tags 6.2
'Add new attribute' submit handler.
1 string reference to 'nodewords_edit_attributes_submit_add'
- nodewords_edit_attributes in ./
nodewords.admin.inc - Edit the attributes of a meta tag.
File
- ./
nodewords.admin.inc, line 258 - Administration forms.
Code
function nodewords_edit_attributes_submit_add($form, &$form_state) {
$form_state['rebuild'] = TRUE;
$form_state['values']['attributes'][] = array(
'attid' => '',
'delete' => FALSE,
'name' => '',
'value' => '',
'weight' => 0,
);
}