You are here

function theme_getlocations_fields_field_formatter_settings_form in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_fields/getlocations_fields.module \theme_getlocations_fields_field_formatter_settings_form()

The display settings form

Parameters

array $variables:

Return value

Returns $output

File

modules/getlocations_fields/getlocations_fields.module, line 4392
getlocations_fields.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function theme_getlocations_fields_field_formatter_settings_form($variables) {
  $form = $variables['form'];
  $output = '';
  $form['display_showmap']['#prefix'] = '<fieldset class="getlocations_fieldset form-wrapper"><legend><span class="fieldset-legend">' . t('Address display settings') . '</span></legend><div class="fieldset-wrapper">';
  $form['display_fax']['#suffix'] = '</div></fieldset>';
  $form['sv_addresscontrol']['#prefix'] = '<fieldset class="getlocations_fieldset collapsible ' . (getlocations_fields_streetview_settings_allow() ? '' : 'collapsed') . ' form-wrapper"><legend><span class="fieldset-legend">' . t('Streetview overlay settings') . '</span></legend><div class="fieldset-wrapper">';
  $form['sv_clicktogo']['#suffix'] = '</div></fieldset>';
  $output .= drupal_render_children($form);
  return $output;
}