From 7c447cc8a587507d9ddc60be96f6f354f89cc876 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Thu, 7 Sep 2006 08:03:08 +0000 Subject: #80804 by stefan nagtegaal. Add units for paths. --- modules/system/system.module | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'modules/system/system.module') 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 "?q=". 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 "?q=". 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 "?q=". 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( -- cgit v1.2.3