diff --git a/fences.admin.inc b/fences.admin.inc index 069a00c..5e13dc4 100644 --- a/fences.admin.inc +++ b/fences.admin.inc @@ -231,13 +231,13 @@ function _fences_form_field_ui_field_edit_form_alter(&$form, &$form_state) { '#options' => fences_get_fences_options('field'), '#description' => t('Choose the HTML to use to wrap the field.'), ); -} $form['instance']['fences_wrapper']['wrapper'] = array( '#type' => 'checkbox', - '#title' => t('Render wrapper around label and values?'), + '#title' => t('Render label within value wrapper markup?'), '#default_value' => isset($suggestion['wrapper']) ? $suggestion['wrapper'] : 0, ); +} /** * Implements hook_form_FORM_ID_alter(). diff --git a/fences.module b/fences.module index 82664e1..18fed7f 100644 --- a/fences.module +++ b/fences.module @@ -195,7 +195,7 @@ function fences_preprocess_field(&$variables) { // Optionally, override core's default markup. if (empty($suggestion['value']) && variable_get('fences_default_markup', 0)) { - $suggestion[value] = 'div'; + $suggestion['value'] = 'div'; } if ($suggestion['value']) {