/[drupal]/contributions/modules/globalredirect/globalredirect_admin/globalredirect_admin.module
ViewVC logotype

Diff of /contributions/modules/globalredirect/globalredirect_admin/globalredirect_admin.module

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

revision 1.1.2.4, Mon Dec 22 11:22:22 2008 UTC revision 1.1.2.5, Mon Dec 22 11:42:27 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: globalredirect_admin.module,v 1.1.2.3 2008/09/14 23:16:33 njt1982 Exp $  // $Id: globalredirect_admin.module,v 1.1.2.4 2008/12/22 11:22:22 njt1982 Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 43  function globalredirect_admin_settings() Line 43  function globalredirect_admin_settings()
43      '#default_value' => variable_get('globalredirect_deslash', GLOBALREDIRECT_DESLASH_ENABLED),      '#default_value' => variable_get('globalredirect_deslash', GLOBALREDIRECT_DESLASH_ENABLED),
44    );    );
45    
   
46    $form['globalredirect_nonclean2clean'] = array(    $form['globalredirect_nonclean2clean'] = array(
47      '#type' => 'radios',      '#type' => 'radios',
48      '#title' => t('Non-clean to Clean'),      '#title' => t('Non-clean to Clean'),
# Line 67  function globalredirect_admin_settings() Line 66  function globalredirect_admin_settings()
66      '#default_value' => variable_get('globalredirect_trailingzero', GLOBALREDIRECT_FEATURE_DISABLED),      '#default_value' => variable_get('globalredirect_trailingzero', GLOBALREDIRECT_FEATURE_DISABLED),
67    );    );
68    
69      $form['globalredirect_case_sensitive_urls'] = array(
70        '#type' => 'radios',
71        '#title' => t('Case Sensitive URLs'),
72        '#description' => t('If enabled, the module will compare the current URL to the alias stored in the system. If there are any differences in case then the user will be redirected to the correct URL.'),
73        '#options' => array(
74          GLOBALREDIRECT_FEATURE_DISABLED => t('Off'),
75          GLOBALREDIRECT_CASE_SENSITIVE_URLS_ENABLED  => t('On'),
76        ),
77        '#default_value' => variable_get('globalredirect_case_sensitive_urls', GLOBALREDIRECT_CASE_SENSITIVE_URLS_ENABLED),
78      );
79    
80    return system_settings_form($form);    return system_settings_form($form);
81  }  }

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

  ViewVC Help
Powered by ViewVC 1.1.2