| 1 |
<?php |
<?php |
| 2 |
// $Id: xmlsitemap_node.module,v 1.19.2.71 2009/03/01 00:04:38 kiam Exp $ |
// $Id: xmlsitemap_node.module,v 1.19.2.72 2009/03/01 01:05:21 kiam Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 213 |
return array(); |
return array(); |
| 214 |
} |
} |
| 215 |
case 'register': |
case 'register': |
| 216 |
|
$form['xmlsitemap'] = array( |
| 217 |
|
'#type' => 'fieldset', |
| 218 |
|
'#title' => t('XML site map'), |
| 219 |
|
'#collapsible' => TRUE, |
| 220 |
|
'#access' => user_access('override profile settings') || user_access('administer users'), |
| 221 |
|
'#weight' => 7, |
| 222 |
|
); |
| 223 |
$form['xmlsitemap']['xmlsitemap_node_posts_count'] = array( |
$form['xmlsitemap']['xmlsitemap_node_posts_count'] = array( |
| 224 |
'#type' => 'select', |
'#type' => 'select', |
| 225 |
'#title' => t('XML site map - posts threshold'), |
'#title' => t('User posts threshold'), |
| 226 |
'#description' => t('The number of posts a user must author before his posts are added to the site map.'), |
'#description' => t('The number of posts a user must author before his posts are added to the site map.'), |
| 227 |
'#default_value' => variable_get('xmlsitemap_node_posts_count_'. $account->uid, variable_get('xmlsitemap_node_posts_count', 100)), |
'#default_value' => variable_get('xmlsitemap_node_posts_count_'. $account->uid, variable_get('xmlsitemap_node_posts_count', 100)), |
| 228 |
'#options' => array( |
'#options' => array( |