Skip to content
Snippets Groups Projects
Commit ff5579f0 authored by Brandon Bergren's avatar Brandon Bergren
Browse files

Code style

parent 8dda384b
No related branches found
No related tags found
No related merge requests found
...@@ -749,8 +749,8 @@ function gmap_location_block_view($nid) { ...@@ -749,8 +749,8 @@ function gmap_location_block_view($nid) {
$map['longitude'] = $markers[0]['longitude']; $map['longitude'] = $markers[0]['longitude'];
$map['markers'] = $markers; $map['markers'] = $markers;
// @@@ // @@@
$map['behavior']['autozoom'] = true; $map['behavior']['autozoom'] = TRUE;
$map['behavior']['notype'] = true; $map['behavior']['notype'] = TRUE;
$map['controltype'] = 'None'; $map['controltype'] = 'None';
$block['subject'] = t('Location'); $block['subject'] = t('Location');
$block['content'] = theme('gmap', array('#settings' => $map)); $block['content'] = theme('gmap', array('#settings' => $map));
...@@ -860,7 +860,7 @@ function gmap_location_user($op, &$edit, &$user, $category = NULL) { ...@@ -860,7 +860,7 @@ function gmap_location_user($op, &$edit, &$user, $category = NULL) {
if ($u) { if ($u) {
$user->gmap_location_longitude = $u->longitude; $user->gmap_location_longitude = $u->longitude;
$user->gmap_location_latitude = $u->latitude; $user->gmap_location_latitude = $u->latitude;
$user->gmap_location_set = true; $user->gmap_location_set = TRUE;
} }
break; break;
case 'categories': case 'categories':
...@@ -904,7 +904,7 @@ function gmap_location_user($op, &$edit, &$user, $category = NULL) { ...@@ -904,7 +904,7 @@ function gmap_location_user($op, &$edit, &$user, $category = NULL) {
'#title' => t('Coordinates'), '#title' => t('Coordinates'),
'#weight' => 5, '#weight' => 5,
'#collapsible' => $type!='user', '#collapsible' => $type!='user',
'#collapsed' => false, '#collapsed' => FALSE,
); );
// Reserve spot for map. // Reserve spot for map.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment