1 <link rel="stylesheet" href="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery-ui.css" id="theme">
2 <link rel="stylesheet" href="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.fileupload-ui.css">
10 <TMPL_VAR FIELD-RCSINFO>
11 <TMPL_VAR FIELD-NEWFILE>
12 <TMPL_IF NAME="PAGE_SELECT">
13 <label for="page" class="inline">Page location:</label><TMPL_VAR FIELD-PAGE>
14 <label for="type" class="inline">Page type:</label><TMPL_VAR FIELD-TYPE>
19 <div class="editcontentdiv">
20 <TMPL_VAR FIELD-EDITCONTENT><br />
22 <TMPL_IF NAME="CAN_COMMIT">
23 <label for="editmessage" class="block">Optional comment about this change:</label>
24 <TMPL_VAR FIELD-EDITMESSAGE><br />
26 <TMPL_VAR FORM-SUBMIT>
27 <TMPL_VAR HELPONFORMATTINGLINK>
28 <TMPL_IF NAME="FIELD-ATTACHMENT">
29 <a class="toggle" href="#attachments">Attachments</a>
31 <tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
33 <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
35 <div class="fileupload-buttonbar">
36 <label class="fileinput-button">
37 <span>Add files...</span>
38 <input type="file" name="attachments" multiple>
40 <button type="submit" class="start">Start upload</button>
41 <button type="reset" class="cancel">Cancel upload</button>
42 <TMPL_IF NAME="ATTACHMENT_LIST">
43 <TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE>
46 <script id="template-upload" type="text/x-jquery-tmpl">
47 <tr class="template-upload{{if error}} ui-state-error{{/if}}">
48 <td><input type="checkbox" name="dummy" />${name}</td>
51 <td class="error" colspan="2">Error:
52 {{if error === 'maxFileSize'}}File is too big
53 {{else error === 'minFileSize'}}File is too small
54 {{else error === 'acceptFileTypes'}}Filetype not allowed
55 {{else error === 'maxNumberOfFiles'}}Max number of files exceeded
60 <td class="progress"><div></div></td>
61 <td class="start"><button>Start</button></td>
63 <td class="cancel"><button>Cancel</button></td>
66 <script id="template-download" type="text/x-jquery-tmpl">
67 <tr class="template-download{{if error}} ui-state-error{{/if}}">
68 <td><input type="checkbox" name="attachment_select" value="${name}" />${name}</td>
71 <td class="error" colspan="2">Error:
72 {{if error === 1}}File exceeds upload_max_filesize (php.ini directive)
73 {{else error === 2}}File exceeds MAX_FILE_SIZE (HTML form directive)
74 {{else error === 3}}File was only partially uploaded
75 {{else error === 4}}No File was uploaded
76 {{else error === 5}}Missing a temporary folder
77 {{else error === 6}}Failed to write file to disk
78 {{else error === 7}}File upload stopped by extension
79 {{else error === 'maxFileSize'}}File is too big
80 {{else error === 'minFileSize'}}File is too small
81 {{else error === 'acceptFileTypes'}}Filetype not allowed
82 {{else error === 'maxNumberOfFiles'}}Max number of files exceeded
83 {{else error === 'uploadedBytes'}}Uploaded bytes exceed file size
84 {{else error === 'emptyResult'}}Empty file upload result
89 <td>${stored_msg}</td>
93 <script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.min.js"></script>
94 <script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery-ui.min.js"></script>
95 <script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.tmpl.min.js"></script>
96 <script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.iframe-transport.js"></script>
97 <script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.fileupload.js"></script>
98 <script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.fileupload-ui.js"></script>
100 $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
102 <div class="fileupload-content">
103 <table class="files">
104 <TMPL_LOOP NAME="ATTACHMENT_LIST">
105 <tr><td><input type="checkbox" name="attachment_select" value="<TMPL_VAR NAME ESCAPE="HTML">" /><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
113 <TMPL_VAR WMD_PREVIEW>
114 <TMPL_IF NAME="PAGE_PREVIEW">
117 <span>Page preview:</span>
120 <TMPL_VAR PAGE_PREVIEW>
123 <TMPL_IF NAME="PAGE_DIFF">