security update for uuid xmlsitemap file_field_path
This commit is contained in:
@@ -26,7 +26,19 @@ function xmlsitemap_engines_settings_form() {
|
||||
$form['xmlsitemap_engines_minimum_lifetime'] = array(
|
||||
'#type' => 'select',
|
||||
'#title' => t('Do not submit more often than every'),
|
||||
'#options' => drupal_map_assoc(array(3600, 10800, 21600, 32400, 43200, 86400, 172800, 259200, 604800, 604800 * 2, 604800 * 4), 'format_interval'),
|
||||
'#options' => drupal_map_assoc(array(
|
||||
3600,
|
||||
10800,
|
||||
21600,
|
||||
32400,
|
||||
43200,
|
||||
86400,
|
||||
172800,
|
||||
259200,
|
||||
604800,
|
||||
604800 * 2,
|
||||
604800 * 4,
|
||||
), 'format_interval'),
|
||||
'#default_value' => variable_get('xmlsitemap_engines_minimum_lifetime', 86400),
|
||||
);
|
||||
$form['xmlsitemap_engines_submit_updated'] = array(
|
||||
@@ -37,7 +49,12 @@ function xmlsitemap_engines_settings_form() {
|
||||
$form['xmlsitemap_engines_custom_urls'] = array(
|
||||
'#type' => 'textarea',
|
||||
'#title' => t('Custom submission URLs'),
|
||||
'#description' => t('Enter one URL per line. The token [sitemap] will be replaced with the URL to your sitemap. For example: %example-before would become %example-after.', array('%example-before' => 'http://example.com/ping?[sitemap]', '%example-after' => xmlsitemap_engines_prepare_url('http://example.com/ping?[sitemap]', url('sitemap.xml', array('absolute' => TRUE))))),
|
||||
'#description' => t('Enter one URL per line. The token [sitemap] will be replaced with the URL to your sitemap. For example: %example-before would become %example-after.', array(
|
||||
'%example-before' => 'http://example.com/ping?[sitemap]',
|
||||
'%example-after' => xmlsitemap_engines_prepare_url('http://example.com/ping?[sitemap]', url('sitemap.xml', array(
|
||||
'absolute' => TRUE,
|
||||
))),
|
||||
)),
|
||||
'#default_value' => variable_get('xmlsitemap_engines_custom_urls', ''),
|
||||
'#rows' => 2,
|
||||
'#wysiwyg' => FALSE,
|
||||
|
||||
Reference in New Issue
Block a user