| 1 |
<?php |
<?php |
| 2 |
// $Id: xmlsitemap_term.module,v 1.11.2.37 2009/02/27 23:56:04 kiam Exp $ |
// $Id: xmlsitemap_term.module,v 1.11.2.38 2009/02/28 21:00:49 kiam Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 260 |
*/ |
*/ |
| 261 |
function xmlsitemap_term_xmlsitemap_sitemap_settings_alter(&$form) { |
function xmlsitemap_term_xmlsitemap_sitemap_settings_alter(&$form) { |
| 262 |
$options = xmlsitemap_priority_options(); |
$options = xmlsitemap_priority_options(); |
| 263 |
$form['general']['priority']['xmlsitemap_term_node_priority'] = array( |
$form['general']['priority']['b']['xmlsitemap_term_node_priority'] = array( |
| 264 |
'#type' => 'select', |
'#type' => 'select', |
| 265 |
'#title' => t('Term ratio weight - nodes'), |
'#title' => t('Term ratio weight - nodes'), |
| 266 |
'#description' => t("This number will be added to the priority of vocabulary term which is used by 100 nodes; for the other terms, the number is calculated proportionally to the number of nodes. This doesn't apply for terms that are used for just one node, nor for the vocabulary terms for which the priority is overriden."), |
'#description' => t("This number will be added to the priority of vocabulary term which is used by 100 nodes; for the other terms, the number is calculated proportionally to the number of nodes. This doesn't apply for terms that are used for just one node, nor for the vocabulary terms for which the priority is overriden."), |