diff --git a/file_entity.pages.inc b/file_entity.pages.inc index 3d8559c..fb2aa3d 100644 --- a/file_entity.pages.inc +++ b/file_entity.pages.inc @@ -667,7 +667,7 @@ function file_entity_delete_form($form, &$form_state, $file) { $description = t('This action cannot be undone.'); if ($references = file_usage_list($file)) { - $description .= ' ' . t('This file is currently in use and may cause problems if deleted.'); + drupal_set_message(t('This file is currently in use and may cause problems if deleted.', array('@url' => url('file/' . $file->fid . '/usage'))), 'warning'); } return confirm_form($form,