MINOR: missing images that should be used after you upload files to show the file type.

MINOR: add a TODO comments for other dev to check later.
This commit is contained in:
Normann Lou 2012-08-03 18:19:53 +12:00
parent 472183df09
commit 505bbc96a3
9 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,10 @@ class DMSUploadField extends UploadField {
// Attach the file to the related record. // Attach the file to the related record.
$document = $this->attachFile($file); $document = $this->attachFile($file);
//TODO: both $document->UploadFieldThumbnailURL and $document->UploadFieldFileButtons are null,
// check the code from UploadField.php where they use $file->UploadFieldThumbnailURL and $file->UploadFieldFileButtons
// and $file is_a File but in our case $document is a Document, that is why it doesn't work.
// Collect all output data. // Collect all output data.
$return = array_merge($return, array( $return = array_merge($return, array(

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
images/app_icons/doc_32.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

BIN
images/app_icons/mov_32.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/app_icons/pdf_32.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
images/app_icons/xls_32.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

BIN
images/app_icons/zip_32.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B