diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-05-05 14:50:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-05-05 14:50:22 +0000 |
commit | d8d12d901ddb7cbba95d8f0ba533fbec43b191b2 (patch) | |
tree | a9b1e29292989acd4a61fc1b77405673f4bad734 | |
parent | 340bb85c7f6a2637f94d7956fb4c2d8e15b6b601 (diff) | |
download | brdo-d8d12d901ddb7cbba95d8f0ba533fbec43b191b2.tar.gz brdo-d8d12d901ddb7cbba95d8f0ba533fbec43b191b2.tar.bz2 |
- Modified patch #62016 by Heine: fixed the clean URL test link.
-rw-r--r-- | modules/system.module | 2 | ||||
-rw-r--r-- | modules/system/system.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system.module b/modules/system.module index 5a6a2e3f4..384d1713c 100644 --- a/modules/system.module +++ b/modules/system.module @@ -290,7 +290,7 @@ function system_view_general() { if (!variable_get('clean_url', 0)) { if (strpos(request_uri(), '?q=') !== FALSE) { - $form['general']['clean_url']['#description'] .= t(' Before enabling clean URLs, you must perform a test to determine if your server is properly configured. If you are able to see this page again after clicking the "Run Clean URL Test" button, the test has succeeded and the radio buttons above will be available. If instead you are directed to a "Page not found" error, you will need to change the configuration of your server. The <a href="%handbook">handbook page on Clean URLs</a> has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => '<a href ="'. str_replace('?q=', '', url('admin/settings', '', 'clean_url')) .'">'. t('Run Clean URL Test') .'</a>')); + $form['general']['clean_url']['#description'] .= t(' Before enabling clean URLs, you must perform a test to determine if your server is properly configured. If you are able to see this page again after clicking the "Run the clean URL test" link, the test has succeeded and the radio buttons above will be available. If instead you are directed to a "Page not found" error, you will need to change the configuration of your server. The <a href="%handbook">handbook page on Clean URLs</a> has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => '<a href ="'. str_replace('?q=', '', url('admin/settings')) .'">'. t('Run the clean URL test') .'</a>')); $form['general']['clean_url']['#attributes'] = array('disabled' => 'disabled'); } else { diff --git a/modules/system/system.module b/modules/system/system.module index 5a6a2e3f4..384d1713c 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -290,7 +290,7 @@ function system_view_general() { if (!variable_get('clean_url', 0)) { if (strpos(request_uri(), '?q=') !== FALSE) { - $form['general']['clean_url']['#description'] .= t(' Before enabling clean URLs, you must perform a test to determine if your server is properly configured. If you are able to see this page again after clicking the "Run Clean URL Test" button, the test has succeeded and the radio buttons above will be available. If instead you are directed to a "Page not found" error, you will need to change the configuration of your server. The <a href="%handbook">handbook page on Clean URLs</a> has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => '<a href ="'. str_replace('?q=', '', url('admin/settings', '', 'clean_url')) .'">'. t('Run Clean URL Test') .'</a>')); + $form['general']['clean_url']['#description'] .= t(' Before enabling clean URLs, you must perform a test to determine if your server is properly configured. If you are able to see this page again after clicking the "Run the clean URL test" link, the test has succeeded and the radio buttons above will be available. If instead you are directed to a "Page not found" error, you will need to change the configuration of your server. The <a href="%handbook">handbook page on Clean URLs</a> has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => '<a href ="'. str_replace('?q=', '', url('admin/settings')) .'">'. t('Run the clean URL test') .'</a>')); $form['general']['clean_url']['#attributes'] = array('disabled' => 'disabled'); } else { |