Index: pathauto.admin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.admin.inc,v retrieving revision 1.20 diff -u -p -r1.20 pathauto.admin.inc --- pathauto.admin.inc 13 Sep 2008 08:54:06 -0000 1.20 +++ pathauto.admin.inc 3 Jul 2009 23:41:12 -0000 @@ -117,22 +117,17 @@ function pathauto_admin_settings() { '#description' => t('What should Pathauto do when updating an existing content item which already has an alias?'), ); - $disable_transliteration = FALSE; - $path = drupal_get_path('module', 'pathauto'); - $transliteration_help = t('When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is handled by the Transliteration module.'); - if (!module_exists('transliteration')) { - $disable_transliteration = TRUE; - $transliteration_help .= ' '. t("This option is disabled on your site because the Transliteration module either isn't installed, or isn't installed properly.") .''; - // Make sure we don't try to use Transliteration if it isn't available - variable_set('pathauto_transliterate', FALSE); - } $form['general']['pathauto_transliterate'] = array( '#type' => 'checkbox', '#title' => t('Transliterate prior to creating alias'), '#default_value' => variable_get('pathauto_transliterate', FALSE), - '#description' => $transliteration_help, - '#disabled' => $disable_transliteration, + '#description' => t('When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is handled by the Transliteration module.'), + '#access' => module_exists('transliteration'), ); + if (!$form['general']['pathauto_transliterate']['#access']) { + variable_set('pathauto_transliterate', FALSE); + } + $form['general']['pathauto_reduce_ascii'] = array( '#type' => 'checkbox', '#title' => t('Reduce strings to letters and numbers from ASCII-96'),