Commit 2eef77b5 authored by Earnie Boyd's avatar Earnie Boyd

#553930 Disable the UI for search engine URL.

parent 9e670466
......@@ -5,6 +5,7 @@ XML sitemap 6.x-1, 2009-08-21
#550578 Update #6106: Update in {variable} table failed.
#548064 Sitemap is submitted on every cron run with "update when new content"
and no new content is added.
#553930 Disable the UI for search engine URL.
XML sitemap 6.x-1, 2009-08-19
-----------------------------------
......
......@@ -64,6 +64,7 @@ function xmlsitemap_engines_settings() {
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder as placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#default_value' => variable_get('xmlsitemap_engines_ask_url', 'http://submissions.ask.com/ping?sitemap=[sitemap]'),
'#disabled' => TRUE,
);
// Google fields.
$form['google'] = array(
......@@ -82,6 +83,7 @@ function xmlsitemap_engines_settings() {
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#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',
......@@ -106,6 +108,7 @@ function xmlsitemap_engines_settings() {
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#default_value' => variable_get('xmlsitemap_engines_moreover_url', 'http://api.moreover.com/ping?u=[sitemap]'),
'#disabled' => TRUE,
);
// Bing fields.
$form['bing'] = array(
......@@ -124,6 +127,7 @@ function xmlsitemap_engines_settings() {
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#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,6 +158,7 @@ function xmlsitemap_engines_settings() {
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment