About a year ago I needed to provide a disclaimer above the file attachments table on a Drupal site. I quickly accomplished by using the
theme_upload_attachments() function and altering the output. However, this applied the disclaimer site wide. The client later had a need to display file attachments on different pages without the disclaimer. This article explains how I accomplished this.