| 1 |
<?php |
<?php |
| 2 |
// $Id: globalredirect.admin.inc,v 1.1.2.2 2008/12/16 05:00:06 njt1982 Exp $ |
// $Id: globalredirect.admin.inc,v 1.1.2.3 2008/12/22 09:36:09 njt1982 Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 58 |
'#default_value' => variable_get('globalredirect_menu_check', GLOBALREDIRECT_FEATURE_DISABLED), |
'#default_value' => variable_get('globalredirect_menu_check', GLOBALREDIRECT_FEATURE_DISABLED), |
| 59 |
); |
); |
| 60 |
|
|
| 61 |
|
$form['globalredirect_case_sensitive_urls'] = array( |
| 62 |
|
'#type' => 'radios', |
| 63 |
|
'#title' => t('Case Sensitive URL Checking'), |
| 64 |
|
'#description' => t('If enabled, the module will compae 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.'), |
| 65 |
|
'#options' => array( |
| 66 |
|
GLOBALREDIRECT_FEATURE_DISABLED => t('Disabled'), |
| 67 |
|
GLOBALREDIRECT_CASE_SENSITIVE_URLS_ENABLED => t('Enabled'), |
| 68 |
|
), |
| 69 |
|
'#default_value' => variable_get('globalredirect_case_sensitive_urls', GLOBALREDIRECT_CASE_SENSITIVE_URLS_ENABLED), |
| 70 |
|
); |
| 71 |
|
|
| 72 |
return system_settings_form($form); |
return system_settings_form($form); |
| 73 |
} |
} |
| 74 |
|
|