From 796145ad388cca3004f832e9bd5931194c9b62ca Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 15 May 2006 06:09:57 +0000 Subject: [PATCH] - Patch #62016 by chx: made the clean URL test work properly. --- modules/system.module | 2 +- modules/system/system.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system.module b/modules/system.module index 249c06e1d8..17aa467bcf 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 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 handbook page on Clean URLs has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => ''. t('Run the clean URL test') .'')); + $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 handbook page on Clean URLs has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => ''. t('Run the clean URL test') .'')); $form['general']['clean_url']['#attributes'] = array('disabled' => 'disabled'); } else { diff --git a/modules/system/system.module b/modules/system/system.module index 249c06e1d8..17aa467bcf 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 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 handbook page on Clean URLs has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => ''. t('Run the clean URL test') .'')); + $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 handbook page on Clean URLs has additional troubleshooting information. %run-test', array('%handbook' => 'http://drupal.org/node/15365', '%run-test' => ''. t('Run the clean URL test') .'')); $form['general']['clean_url']['#attributes'] = array('disabled' => 'disabled'); } else { -- GitLab