diff --git a/includes/layer_types/xyz.inc b/includes/layer_types/xyz.inc
index f8031a3..bade6ea 100644
--- a/includes/layer_types/xyz.inc
+++ b/includes/layer_types/xyz.inc
@@ -1,4 +1,5 @@
 <?php
+// $Id: xyz.inc,v 1.1.2.11 2010/08/16 21:25:09 tmcw Exp $
 
 /**
  * @file
@@ -37,11 +38,11 @@ class openlayers_layer_type_xyz extends openlayers_layer_type {
    */
   function options_form() {
     return array(
-      'base_url' => array(
+      'url' => array(
         '#type' => 'textfield',
         '#title' => t('Base URL (template)'),
-        '#default_value' => isset($this->data['base_url']) ?
-          $this->data['base_url'] : ''
+        '#default_value' => isset($this->data['url']) ?
+          $this->data['url'] : ''
       ),
       'layer_type' => array(
         '#type' => 'hidden',
@@ -64,7 +65,13 @@ class openlayers_layer_type_xyz extends openlayers_layer_type {
           '#type' => 'hidden',
           '#value' => '900913',
         ),
-      )
+      ),
+ 	  'attribution' => array(
+	    '#type' => 'textfield',
+	    '#title' => t('Attribution'),
+	    '#default_value' => isset($this->data['attribution']) ? $this->data['attribution'] : '',
+	    '#description' => t('This message will be written on the bottom of the map.'),
+	  )
     );
   }
 
