function bueditor_form_admin_submit in BUEditor 5
Admin form submit.
File
- ./
bueditor.module, line 79
Code
function bueditor_form_admin_submit($form_id, $edit) {
if (is_array($edit['roles'])) {
uasort($edit['roles'], 'bueditor_rolesort');
variable_set('bueditor_roles', $edit['roles']);
drupal_set_message(t('Changes have been saved.'));
}
if (isset($edit['user1editor'])) {
variable_set('bueditor_user1', $edit['user1editor']);
}
}