You are here

function getlocations_leaflet_controlpositions in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_leaflet/getlocations_leaflet.module \getlocations_leaflet_controlpositions()
1 call to getlocations_leaflet_controlpositions()
getlocations_leaflet_display_options_form in modules/getlocations_leaflet/getlocations_leaflet.module

File

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

Code

function getlocations_leaflet_controlpositions($dd = TRUE) {
  if ($dd) {
    $controlpositions = array(
      '' => t('Default'),
      'topleft' => t('Top Left'),
      'topright' => t('Top Right'),
      'bottomright' => t('Bottom Right'),
      'bottomleft' => t('Bottom Left'),
    );
  }
  else {
    $controlpositions = array(
      'topleft',
      'topright',
      'bottomright',
      'bottomleft',
    );
  }
  return $controlpositions;
}