Merging changes form main trunk 2.2.5-2.2.6
[fa-stable.git] / admin / attachments.php
index 3d7623482dd20948b371191d9a57fd2ac94d15c7..a97843ca3546112100b54672ab4b9b52ee51ac6b 100644 (file)
@@ -216,9 +216,7 @@ if ($selected_id != -1)
 else
        text_row_ex(_("Transaction #").':', 'trans_no', 10);
 text_row_ex(_("Description").':', 'description', 40);
-start_row();
-label_cells(_("Attached File") . ":", "<input type='file' id='filename' name='filename'>");
-end_row();
+file_row(_("Attached File") . ":", 'filename', 'filename');
 
 end_table(1);
 if (isset($_POST['filterType']))