Index: xmlsitemap_engines/xmlsitemap_engines.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_engines/Attic/xmlsitemap_engines.admin.inc,v
retrieving revision 1.1.2.16
diff -u -p -r1.1.2.16 xmlsitemap_engines.admin.inc
--- xmlsitemap_engines/xmlsitemap_engines.admin.inc	21 Aug 2009 15:03:02 -0000	1.1.2.16
+++ xmlsitemap_engines/xmlsitemap_engines.admin.inc	25 Aug 2009 14:48:00 -0000
@@ -60,11 +60,8 @@ function xmlsitemap_engines_settings() {
     '#default_value' => variable_get('xmlsitemap_engines_ask_submit', FALSE),
   );
   $form['ask']['xmlsitemap_engines_ask_url'] = array(
-    '#type' => 'textfield',
-    '#title' => t('Submission URL'),
-    '#description' => t('The URL to submit the sitemap to. Use %placeholder as placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
+    '#type' => 'value',
     '#default_value' => variable_get('xmlsitemap_engines_ask_url', 'http://submissions.ask.com/ping?sitemap=[sitemap]'),
-    '#disabled' => TRUE,
   );
   // Google fields.
   $form['google'] = array(
@@ -79,11 +76,8 @@ function xmlsitemap_engines_settings() {
     '#default_value' => variable_get('xmlsitemap_engines_google_submit', FALSE),
   );
   $form['google']['xmlsitemap_engines_google_url'] = array(
-    '#type' => 'textfield',
-    '#title' => t('Submission URL'),
-    '#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
+    '#type' => 'value',
     '#default_value' => variable_get('xmlsitemap_engines_google_url', 'http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]'),
-    '#disabled' => TRUE,
   );
   $form['google']['xmlsitemap_engines_google_verify'] = array(
     '#type' => 'textfield',
@@ -104,11 +98,8 @@ function xmlsitemap_engines_settings() {
     '#default_value' => variable_get('xmlsitemap_engines_moreover_submit', FALSE),
   );
   $form['moreover']['xmlsitemap_engines_moreover_url'] = array(
-    '#type' => 'textfield',
-    '#title' => t('Submission URL'),
-    '#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
+    '#type' => 'value',
     '#default_value' => variable_get('xmlsitemap_engines_moreover_url', 'http://api.moreover.com/ping?u=[sitemap]'),
-    '#disabled' => TRUE,
   );
   // Bing fields.
   $form['bing'] = array(
@@ -123,11 +114,8 @@ function xmlsitemap_engines_settings() {
     '#default_value' => variable_get('xmlsitemap_engines_bing_submit', FALSE),
   );
   $form['bing']['xmlsitemap_engines_bing_url'] = array(
-    '#type' => 'textfield',
-    '#title' => t('Submission URL'),
-    '#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
+    '#type' => 'value',
     '#default_value' => variable_get('xmlsitemap_engines_bing_url', 'http://www.bing.com/webmaster/ping.aspx?siteMap=[sitemap]'),
-    '#disabled' => TRUE,
   );
   $form['bing']['xmlsitemap_engines_bing_verify'] = array(
     '#type' => 'textfield',
@@ -154,11 +142,8 @@ function xmlsitemap_engines_settings() {
     '#default_value' => variable_get('xmlsitemap_engines_yahoo_submit', FALSE),
   );
   $form['yahoo']['xmlsitemap_engines_yahoo_url'] = array(
-    '#type' => 'textfield',
-    '#title' => t('Submission URL'),
-    '#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
+    '#type' => 'value',
     '#default_value' => variable_get('xmlsitemap_engines_yahoo_url', 'http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=[sitemap]'),
-    '#disabled' => TRUE,
   );
   $form['yahoo']['xmlsitemap_engines_yahoo_verify'] = array(
     '#type' => 'textfield',
@@ -187,4 +172,3 @@ function xmlsitemap_engines_settings_sub
 /**
  * @} End of "addtogroup xmlsitemap".
  */
-
Index: xmlsitemap_engines/xmlsitemap_engines.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.install,v
retrieving revision 1.3.2.25
diff -u -p -r1.3.2.25 xmlsitemap_engines.install
--- xmlsitemap_engines/xmlsitemap_engines.install	21 Aug 2009 13:52:53 -0000	1.3.2.25
+++ xmlsitemap_engines/xmlsitemap_engines.install	25 Aug 2009 14:48:00 -0000
@@ -118,9 +118,25 @@ function xmlsitemap_engines_update_6109(
 }
 
 /**
+ * Force the engine submission URLs reset to defaults since they may be blank.
+ */
+function xmlsitemap_engines_update_6110() {
+  $engines = array(
+    'ask' => 'http://submissions.ask.com/ping?sitemap=[sitemap]',
+    'google' => 'http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]',
+    'moreover' => 'http://api.moreover.com/ping?u=[sitemap]',
+    'bing' => 'http://www.bing.com/webmaster/ping.aspx?siteMap=[sitemap]',
+    'yahoo' => 'http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=[sitemap]',
+  );
+  foreach ($engines as $engine => $url) {
+    variable_set('xmlsitemap_engines_' . $engine . '_url', $url);
+  }
+  return array();
+}
+
+/**
  * Implementation of hook_uninstall().
  */
 function xmlsitemap_engines_uninstall() {
   db_query("DELETE FROM {variable} WHERE name LIKE 'xmlsitemap\_engines\_'");
 }
-
