initial
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<!---v0.2 19:01 06.10.2020
|
||||
---><cfparam name="ATTRIBUTES.contenttype"/>
|
||||
<cfswitch expression=#ATTRIBUTES.contenttype#>
|
||||
<cfcase value="text/plain"><img src="img/mimetype/text.png"/></cfcase>
|
||||
<cfcase value="text/html"><img src="img/mimetype/html.png"/></cfcase>
|
||||
<cfcase value="application/pdf"><img src="img/mimetype/pdf.png"/></cfcase>
|
||||
<cfcase value="image/gif,image/png,image/jpeg"><img src="img/mimetype/image.png"/></cfcase>
|
||||
<cfcase value="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"><img src="img/mimetype/excel.png"/></cfcase>
|
||||
<cfcase value="application/vnd.ms-powerpoint"><img src="img/mimetype/powerpoint.png"/></cfcase>
|
||||
<cfcase value="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"><img src="img/mimetype/word.png"/></cfcase>
|
||||
<cfdefaultcase><img src="img/mimetype/document.png"/></cfdefaultcase>
|
||||
</cfswitch><cfexit method="exittag"/>
|
||||
Reference in New Issue
Block a user