--- gmaplocation.module	2009-07-07 13:23:14.000000000 -0700
+++ gmaplocation_text.module	2009-07-07 13:19:34.000000000 -0700
@@ -52,7 +52,28 @@ function gmaplocation_menu() {
  */
 function gmaplocation_admin_settings() {
   drupal_add_js(drupal_get_path('module', 'gmaplocation') .'/gmaplocation_admin.js');
-                    
+
+  $form['info'] = array('#type' => 'fieldset',
+   '#title' => t('Information'), '#collapsible' => TRUE,
+   '#collapsed' => FALSE);
+  $form['info']['gmaplocation_title'] = array('#type' => 'textfield',
+    '#title' => t('Title'),
+    '#default_value' => variable_get('gmaplocation_title', 'Our Location'),
+    '#description' => t('The title of the page.')
+  );
+  $form['info']['gmaplocation_additional']['gmaplocation_body'] = array('#type' => 'textarea',
+    '#required' => TRUE,
+    '#title' => t('Location information (shown above map)'),
+    '#default_value' => variable_get('gmaplocation_body', ''),
+    '#description' => t('You may give your visitors more information about where you located such as specific driving directions.')
+  );
+  $form['info']['gmaplocation_additional']['gmaplocation_footer'] = array('#type' => 'textarea',
+    '#required' => FALSE,
+    '#title' => t('Location Information (shown below map)'),
+    '#default_value' => variable_get('gmaplocation_footer', ''),
+    '#description' => t('Even more information about where you located such as specific driving directions.')
+  );
+  $form['info']['gmaplocation_additional']['format'] = filter_form();
   $form["location"] = array('#type' => 'fieldset',
     '#title' => t('Your location'), '#collapsible' => TRUE,
     '#collapsed' => FALSE);
@@ -138,6 +159,9 @@ function gmaplocation_perm() {
  * Menu callback; generate an page with Google Maps.
  */
 function gmaplocation_page() {
+  $gmaplocation_title = t(variable_get('gmaplocation_title', 'Our Location'));
+  $gmaplocation_body = t(variable_get('gmaplocation_body', 'Our Location'));
+  $gmaplocation_footer = t(variable_get('gmaplocation_footer', 'Our Location'));
   $path = drupal_get_path('module', 'gmaplocation');
   $gmap_key = variable_get("gmaplocation_key", NULL);
   drupal_set_html_head('<script src="http://maps.google.com/maps?file=api&amp;hl=en&amp;v=2&amp;key=' . $gmap_key . '" type="text/javascript"></script>');
@@ -153,9 +177,12 @@ function gmaplocation_page() {
     );
   if (!$gmaplocation_settings['info']) $gmaplocation_settings['info'] = $gmaplocation_settings['address'];
   drupal_add_js(array('gmaplocation' => $gmaplocation_settings), 'setting');
-  drupal_set_title(t("Location"));
-  $output = theme("gmaplocation_map");
+  $output = "<div id=\"gmaplocation_body\">" . $gmaplocation_body . "</div>";
+  $output .= theme("gmaplocation_map");
+  $output .= "<div id=\"gmaplocation_footer\">" . $gmaplocation_footer . "</div>";
+  $output .= "</div>";
   if (user_access('admin gmaplocation')) $output .= drupal_get_form("gmaplocation_in_place_edit_form");
+  drupal_set_title($gmaplocation_title);
   return $output;
 }
 
@@ -265,7 +292,7 @@ function gmaplocation_static_image_url($
 
 function gmaplocation_block_image() {
   $block = array();
-  $block['subject'] = t("Our location");
+  $block['subject'] = t(variable_get('gmaplocation_title', 'Our Location'));
   $block['content'] = theme("gmaplocation_block_image_link");
 	return($block);  
 }
