'#description'=>t('This option makes Drupal emit clean URLs (i.e. without <code>?q=</code> in the URL). You\'ll need <code>ModRewrite</code> support for this to work. See the <code>.htaccess</code> file in Drupal\'s top-level directory for more information.')
$form['general']['clean_url']['#description']=t('Before enabling clean URLs, you must demonstrate that your server is properly configured. Click %here to issue a request using a clean url syntax. If you see this page again, you have succeeded and the radio buttons above will be available. If you get an error such as 404 Page Not Found, you need to change the configuration of your server. See http://drupal.org/node/15365 for more.',array('%here'=>'<a href ="'.str_replace('?q=','',url('admin/settings')).'">'.t('here').'</a>'));
$form['general']['clean_url']['#description']=t('You have successfully demonstrated that clean urls work on your server. You are welcome to enable/disable them as you wish.');
}
}
// Error handling:
...
...
@@ -783,12 +770,6 @@ function system_theme_settings_submit($form_id, $values) {
drupal_set_message(t('It appears your host is not configured correctly for Clean URLs. Please check for <code>ModRewrite</code> support with your administrator.'),'error');
'#description'=>t('This option makes Drupal emit clean URLs (i.e. without <code>?q=</code> in the URL). You\'ll need <code>ModRewrite</code> support for this to work. See the <code>.htaccess</code> file in Drupal\'s top-level directory for more information.')
$form['general']['clean_url']['#description']=t('Before enabling clean URLs, you must demonstrate that your server is properly configured. Click %here to issue a request using a clean url syntax. If you see this page again, you have succeeded and the radio buttons above will be available. If you get an error such as 404 Page Not Found, you need to change the configuration of your server. See http://drupal.org/node/15365 for more.',array('%here'=>'<a href ="'.str_replace('?q=','',url('admin/settings')).'">'.t('here').'</a>'));
$form['general']['clean_url']['#description']=t('You have successfully demonstrated that clean urls work on your server. You are welcome to enable/disable them as you wish.');
}
}
// Error handling:
...
...
@@ -783,12 +770,6 @@ function system_theme_settings_submit($form_id, $values) {
drupal_set_message(t('It appears your host is not configured correctly for Clean URLs. Please check for <code>ModRewrite</code> support with your administrator.'),'error');