--- gmaplocation.module	2009-06-22 05:35:51.000000000 -0700
+++ gmaplocation_textfields.module	2009-07-10 10:02:44.000000000 -0700
@@ -6,7 +6,7 @@
 function gmaplocation_help($path, $arg) {
    switch ($path) {
       case 'admin/help#gmaplocation':
-        $output = t("<p>The gmaplocation module displays marker of your geographic location with Google Maps.</p>");
+        $output = "<p>".t("The gmaplocation module displays marker of your geographic location with Google Maps.")."</p>";
         return $output;
   }
 }
@@ -52,9 +52,32 @@ 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', t('Our Location')),
+    '#description' => t('The title of the page.')
+  );
+  $form['info']['gmaplocation_additional']['gmaplocation_body'] = array('#type' => 'textarea',
+    '#required' => FALSE,
+    '#title' => t('Location Information (shown above map)'),
+    '#default_value' => variable_get('gmaplocation_body', ''),
+    '#description' => t('Any additional information that you would like to include above the map.')
+  );
+  $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('Any additional information you would like to include below the map.')
+  );
+  $form['info']['gmaplocation_additional']['format'] = filter_form();
   $form["location"] = array('#type' => 'fieldset',
-    '#title' => t('Your location'), '#collapsible' => TRUE,
+    '#title' => t('Your location'),
+    '#collapsible' => TRUE,
     '#collapsed' => FALSE);
   $form["location"]["gmaplocation_info"] = array('#type' => 'textarea',
     '#title' => t('Marker Information'),
@@ -99,7 +122,8 @@ function gmaplocation_admin_settings() {
     );
     
   $form["keys"] = array('#type' => 'fieldset',
-    '#title' => t('Google Maps API keys'), '#collapsible' => TRUE,
+    '#title' => t('Google Maps API keys'), 
+    '#collapsible' => TRUE,
     '#collapsed' => variable_get('gmaplocation_key', FALSE));
   $form["keys"]["gmaplocation_key"] = array('#type' => 'textfield',
     '#title' => t('API key'),
@@ -138,6 +162,9 @@ function gmaplocation_perm() {
  * Menu callback; generate an page with Google Maps.
  */
 function gmaplocation_page() {
+  $gmaplocation_title = variable_get('gmaplocation_title', t('Our Location'));
+  $gmaplocation_body = variable_get('gmaplocation_body', '');
+  $gmaplocation_footer = variable_get('gmaplocation_footer', '');
   $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 +180,11 @@ 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>";
   if (user_access('admin gmaplocation')) $output .= drupal_get_form("gmaplocation_in_place_edit_form");
+  drupal_set_title($gmaplocation_title);
   return $output;
 }
 
@@ -265,7 +294,7 @@ function gmaplocation_static_image_url($
 
 function gmaplocation_block_image() {
   $block = array();
-  $block['subject'] = t("Our location");
+  $block['subject'] = variable_get('gmaplocation_title', t('Our Location'));
   $block['content'] = theme("gmaplocation_block_image_link");
 	return($block);  
 }
