diff options
-rw-r--r-- | includes/locale.inc | 4 | ||||
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 | ||||
-rw-r--r-- | modules/watchdog.module | 2 | ||||
-rw-r--r-- | modules/watchdog/watchdog.module | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index 5fef75885..2f986820d 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -132,7 +132,7 @@ function _locale_admin_import_screen() { $form['mode'] = array('#type' => 'radios', '#title' => t('Mode'), '#default_value' => 'overwrite', '#options' => array('overwrite' => t('Strings in the uploaded file replace existing ones, new ones are added'), 'keep' => t('Existing strings are kept, only new strings are added'))); $form['submit'] = array('#type' => 'submit', '#value' => t('Import')); $form['#attributes']['enctype'] = 'multipart/form-data'; - $form['#action'] = 'admin/locale/language/import'; + $form['#action'] = url('admin/locale/language/import'); return drupal_get_form('_locale_admin_import', $form); } @@ -1127,7 +1127,7 @@ function _locale_string_seek_form() { $form['search']['language'] = array('#type' => 'radios', '#title' => t('Language'), '#default_value' => ($query->language ? $query->language : 'all'), '#options' => array_merge(array('all' => t('All languages'), 'en' => t('English (provided by Drupal)')), $languages['name'])); $form['search']['searchin'] = array('#type' => 'radios', '#title' => t('Search in'), '#default_value' => ($query->searchin ? $query->searchin : 'all'), '#options' => array('all' => t('All strings in that language'), 'translated' => t('Only translated strings'), 'untranslated' => t('Only untranslated strings'))); $form['search']['submit'] = array('#type' => 'submit', '#value' => t('Search')); - $form['#action'] = 'admin/locale/string/search'; + $form['#action'] = url('admin/locale/string/search'); return drupal_get_form('_locale_string_seek', $form); } diff --git a/modules/comment.module b/modules/comment.module index f98b94ee9..a2b376630 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1199,7 +1199,7 @@ function comment_controls($mode = 2, $order = 1, $comments_per_page = 50, $nid = $form['nid'] = array('#type' => 'hidden', '#value' => $nid); - $form['#action'] = 'comment/reply'; + $form['#action'] = url('comment/reply'); return drupal_get_form('comment_controls'. $top_or_bottom, $form, 'comment_controls'); } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index f98b94ee9..a2b376630 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1199,7 +1199,7 @@ function comment_controls($mode = 2, $order = 1, $comments_per_page = 50, $nid = $form['nid'] = array('#type' => 'hidden', '#value' => $nid); - $form['#action'] = 'comment/reply'; + $form['#action'] = url('comment/reply'); return drupal_get_form('comment_controls'. $top_or_bottom, $form, 'comment_controls'); } diff --git a/modules/watchdog.module b/modules/watchdog.module index b22839ba8..e350d8485 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -91,7 +91,7 @@ function watchdog_overview() { '#options' => $names, '#default_value' => $_SESSION['watchdog_overview_filter'] ); - $form['#action'] = 'admin/logs'; + $form['#action'] = url('admin/logs'); $form['submit'] = array('#type' => 'submit', '#value' =>t('Filter')); $output = drupal_get_form('watchdog_form_overview', $form); diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index b22839ba8..e350d8485 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -91,7 +91,7 @@ function watchdog_overview() { '#options' => $names, '#default_value' => $_SESSION['watchdog_overview_filter'] ); - $form['#action'] = 'admin/logs'; + $form['#action'] = url('admin/logs'); $form['submit'] = array('#type' => 'submit', '#value' =>t('Filter')); $output = drupal_get_form('watchdog_form_overview', $form); |