Commit f20a6107 authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Moved link to node type settings into fieldset description.

parent 4c811a1f
......@@ -164,7 +164,7 @@ function xmlsitemap_node_form_alter(&$form, $form_state, $form_id) {
$form['xmlsitemap']['#access'] |= user_access('administer nodes');
$form['xmlsitemap']['#weight'] = 30;
if (user_access('administer content types')) {
$form['xmlsitemap']['priority']['#description'] .= ' ' . t('The default priority for this content type can be changed <a href="@link-type">here</a>.', array('@link-type' => url('admin/content/node-type/' . $node->type, array('query' => drupal_get_destination()))));
$form['xmlsitemap']['#description'] = t('The default XML sitemap settings for this content type can be changed <a href="@link-type">here</a>.', array('@link-type' => url('admin/content/node-type/' . $node->type, array('query' => drupal_get_destination()))));
}
//// The following values should not exist for new nodes.
......
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