/[drupal]/contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module
ViewVC logotype

Diff of /contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.19.2.72, Sun Mar 1 01:05:21 2009 UTC revision 1.19.2.73, Sun Mar 1 01:21:49 2009 UTC
# Line 1  Line 1 
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
# Line 213  function xmlsitemap_node_user($op, &$edi Line 213  function xmlsitemap_node_user($op, &$edi
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(

Legend:
Removed from v.1.19.2.72  
changed lines
  Added in v.1.19.2.73

  ViewVC Help
Powered by ViewVC 1.1.2