diff options
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index ac6ae856b..4a9e79ecf 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -548,7 +548,9 @@ function system_site_information_settings() { '#type' => 'textfield', '#title' => t('Default front page'), '#default_value' => variable_get('site_frontpage', 'node'), - '#description' => t('The home page displays content from this relative URL. If you are not using clean URLs, specify the part after "<code>?q=</code>". If unsure, specify "node".') + '#size' => 40, + '#description' => t('The home page displays content from this relative URL. If unsure, specify "node".'), + '#field_prefix' => url(NULL, NULL, NULL, TRUE) . (variable_get('clean_url', 0) ? '' : '?q=') ); return system_settings_form($form); @@ -584,14 +586,18 @@ function system_error_reporting_settings() { '#type' => 'textfield', '#title' => t('Default 403 (access denied) page'), '#default_value' => variable_get('site_403', ''), - '#description' => t('This page is displayed when the requested document is denied to the current user. If you are not using clean URLs, specify the part after "<code>?q=</code>". If unsure, specify nothing.') + '#size' => 40, + '#description' => t('This page is displayed when the requested document is denied to the current user. If unsure, specify nothing.'), + '#field_prefix' => url(NULL, NULL, NULL, TRUE) . (variable_get('clean_url', 0) ? '' : '?q=') ); $form['site_404'] = array( '#type' => 'textfield', '#title' => t('Default 404 (not found) page'), '#default_value' => variable_get('site_404', ''), - '#description' => t('This page is displayed when no other content matches the requested document. If you are not using clean URLs, specify the part after "<code>?q=</code>". If unsure, specify nothing.') + '#size' => 40, + '#description' => t('This page is displayed when no other content matches the requested document. If unsure, specify nothing.'), + '#field_prefix' => url(NULL, NULL, NULL, TRUE) . (variable_get('clean_url', 0) ? '' : '?q=') ); $form['error_level'] = array( |