silverstripe-framework/templates/HTMLEditorField_UploadField.ss
Frank Mullenger b4cd617ee3 FIX: Renaming to HTMLEditorConfig.
FIX: Renaming to HTMLEditorField*.

FIX: Renaming to HTMLEditorSanitiser*.
2016-05-06 14:16:34 +12:00

15 lines
847 B
Scheme

<div class="ss-uploadfield-item ss-uploadfield-addfile field ss-uploadfield">
<div class="ss-uploadfield-item-info">
<label class="ss-uploadfield-fromcomputer font-icon-upload ss-ui-button ss-ui-action-constructive" title="<%t AssetUploadField.FROMCOMPUTERINFO 'Upload from your computer' %>">
<%t AssetUploadField.TOUPLOAD 'Upload files' %>
<input id="$id" name="$getName" class="$extraClass ss-uploadfield-fromcomputer-fileinput" data-config="$configString" type="file"<% if $multiple %> multiple="multiple"<% end_if %> title="<%t AssetUploadField.FROMCOMPUTER 'Choose files from your computer' %>" />
</label>
<a class="upload-url ss-ui-button font-icon-link"><%t AssetUploadField.INSERTURL 'Insert from URL' %></a>
</div>
</div>
<div class="ss-uploadfield-editandorganize">
<ul class="ss-uploadfield-files files"></ul>
</div>