diff --git a/filefield_paths.admin.inc b/filefield_paths.admin.inc index 258a62b..33a87b2 100644 --- a/filefield_paths.admin.inc +++ b/filefield_paths.admin.inc @@ -16,7 +16,7 @@ function filefield_paths_settings_form($form, $form_state) { '#title' => t('Temporary file location'), '#type' => 'textfield', '#default_value' => variable_get('filefield_paths_temp_location', 'public://filefield_paths'), - '#description' => t('The location that unprocessed files will be uploaded priot to being processed by File (Field) Paths.
It is recommended that you use the temporary file system (temporary://) if your server configuration allows for that.'), + '#description' => t('The location that unprocessed files will be uploaded to prior to being processed by File (Field) Paths.
It is recommended that you use the temporary file system (temporary://), if your server configuration allows for that.'), '#element_validate' => array('filefield_paths_settings_form_temp_location_validate'), ); @@ -46,4 +46,4 @@ function filefield_paths_settings_form_temp_location_validate($element, $form_st form_error($element, t('File location can not be created or is not writable.')); return FALSE; } -} \ No newline at end of file +} diff --git a/filefield_paths.info b/filefield_paths.info index 34d687c..0914ba4 100644 --- a/filefield_paths.info +++ b/filefield_paths.info @@ -5,7 +5,7 @@ test_dependencies[] = pathauto test_dependencies[] = redirect test_dependencies[] = token test_dependencies[] = transliteration -configure = admin/config/media/file-system/filefield-paths +configure = admin/config/media/filefield-paths core = 7.x diff --git a/filefield_paths.module b/filefield_paths.module index 1d85196..bf768fa 100644 --- a/filefield_paths.module +++ b/filefield_paths.module @@ -20,13 +20,14 @@ foreach (module_list() as $module) { * Implements hook_menu(). */ function filefield_paths_menu() { - $items['admin/config/media/file-system/filefield-paths'] = array( - 'title' => t('File (Field) Paths settings'), + $items['admin/config/media/filefield-paths'] = array( + 'title' => 'File (Field) Paths settings', 'page callback' => 'drupal_get_form', 'page arguments' => array('filefield_paths_settings_form'), 'access arguments' => array('administer site configuration'), 'type' => MENU_NORMAL_ITEM, 'file' => 'filefield_paths.admin.inc', + 'description' => 'Configure administrative settings for the module.', ); return $items;