gmap_location.module
now:

function gmap_location_admin_settings() {
  $form['geocoding'] = array(
    '#type' => 'fieldset',
    '#title' => t('Geocode Locations'),
  );
  $form['geocoding']['gmap_geocode'] = array(
    '#type' => 'radios',
    '#title' => t('Enable the Google Map API geocoding'),
    '#default_value' => variable_get('gmap_geocode', 1),
    '#options' => array(1 => 'Enabled', 0 => 'Disabled'),
  );

must:

  $form['geocoding']['gmap_geocode'] = array(
    '#type' => 'radios',
    '#title' => t('Enable the Google Map API geocoding'),
    '#default_value' => variable_get('gmap_geocode', 1),

'#options' => array(1 => t('Enabled'), 0 => t('Disabled')),
  );

Comments

Cobalt747@drupaler.ru’s picture

That same in

function _location_node_type_form_alter($form_id, &$form) {
<skip>
  $form['location']['display']['location_display_teaser'] = array(
    '#type' => 'checkbox',
    '#title' => 'Display location in teaser view',
    '#default_value' => variable_get('location_display_teaser_'. $type, TRUE),
  );
  $form['location']['display']['location_display_full'] = array(
    '#type' => 'checkbox',
    '#title' => 'Display location in full view',
    '#default_value' => variable_get('location_display_full_'. $type, TRUE),
  );

it need to translate.

bdragon’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.