Index: sites/all/modules/taxonomy_redirect/taxonomy_redirect.module =================================================================== --- sites/all/modules/taxonomy_redirect/taxonomy_redirect.module (revision 2197) +++ sites/all/modules/taxonomy_redirect/taxonomy_redirect.module (working copy) @@ -219,11 +219,28 @@ '#rows' => 5, ); + $form['add_redirect']['remove_text'] = array( + '#id' => 'edit-remove-text', + '#type' => 'textarea', + '#title' => t('Remove text'), + '#description' => t('A list of text to be removed from the url. Put each piece of text to be removed on a new line. Text can be one or more characters. This may be useful to remove punctuation. This removal will be done before separators are replaced. (case sensitive)'), + '#rows' => 4, + ); + + $form['add_redirect']['separator_replace'] = array( + '#id' => 'edit-separator-replace', + '#type' => 'textfield', + '#title' => t('Separator'), + '#description' => t('Character used to separate words in titles. This will replace any spaces and + characters. Using a space or + character can cause unexpected results. Leave empty if you don\'t want to replace these characters. This happens after the text above is removed.'), + '#maxlength' => 1, + '#size' => 1, + ); + $form['add_redirect']['path_case'] = array( '#id' => 'edit-path-case', '#type' => 'select', '#title' => t('Path Case'), - '#description' => t('How to transform the case of the path.'), + '#description' => t('How to transform the case of the path. This happens after the separator character is replaced.'), '#options' => array( 'No transform' => 'No transform', 'Uppercase' => 'Uppercase', @@ -232,23 +249,6 @@ '#default_value' => 'No transform', ); - $form['add_redirect']['separator_replace'] = array( - '#id' => 'edit-separator-replace', - '#type' => 'textfield', - '#title' => t('Separator'), - '#description' => t('Character used to separate words in titles. This will replace any spaces and + characters. Using a space or + character can cause unexpected results. Leave empty if you don\'t want to replace these characters.'), - '#maxlength' => 1, - '#size' => 1, - ); - - $form['add_redirect']['remove_text'] = array( - '#id' => 'edit-remove-text', - '#type' => 'textarea', - '#title' => t('Remove text'), - '#description' => t('A list of text to be removed from the url. Put each piece of text to be removed on a new line. Text can be one or more characters. This may be useful to remove punctuation. This removal will be done before separators are replaced. (case sensitive)'), - '#rows' => 4, - ); - $form['save'] = array( '#type' => 'submit', '#value' => t("Submit"),