| 1 |
<?php |
<?php |
| 2 |
// $Id: xmlsitemap_user.module,v 1.12.2.51 2009/03/01 01:21:46 kiam Exp $ |
// $Id: xmlsitemap_user.module,v 1.12.2.52 2009/03/01 01:34:19 kiam Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 236 |
* Implementation of hook_xmlsitemap_sitemap_settings_alter(). |
* Implementation of hook_xmlsitemap_sitemap_settings_alter(). |
| 237 |
*/ |
*/ |
| 238 |
function xmlsitemap_user_xmlsitemap_sitemap_settings_alter(&$form) { |
function xmlsitemap_user_xmlsitemap_sitemap_settings_alter(&$form) { |
| 239 |
$form['general']['priority']['xmlsitemap_user_comment_priority'] = array( |
$form['general']['priority']['c']['xmlsitemap_user_comment_priority'] = array( |
| 240 |
'#type' => 'select', |
'#type' => 'select', |
| 241 |
'#title' => t('Comment ratio weight - users'), |
'#title' => t('Comment ratio weight - users'), |
| 242 |
'#description' => t("This number will be added to the priority of the user who authored the highest number of comments; for the other users, the number is calculated proportionally to the number of authored comments. This doesn't apply if the maximum number of comments is one, nor for the users for which the priority is overriden."), |
'#description' => t("This number will be added to the priority of the user who authored the highest number of comments; for the other users, the number is calculated proportionally to the number of authored comments. This doesn't apply if the maximum number of comments is one, nor for the users for which the priority is overriden."), |