Bumped version for release.
[cocanwiki.git] / templates / upload_file_form.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <title>Upload file</title>
5 <meta name="robots" content="noindex,nofollow"/>
6 <meta name="author" content="http://www.merjis.com/" />
7 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
8 <link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
9 <link rel="stylesheet" href="/_css/create.css" type="text/css" title="Standard"/>
10 <script src="/_js/upload.js" type="text/javascript"></script>
11 </head><body>
12
13 <h1><span>Upload file</span></h1>
14
15 <form method="post" action="/_bin/upload_file.cmo" enctype="multipart/form-data" name="f">
16 <table id="create">
17
18 <tr>
19 <th>File:</th>
20 <td> <input type="file" name="file" value="" size="60" onchange="if (set_name ()) document.f.title.focus ()"/> </td>
21 </tr>
22
23 <tr>
24 <td></td>
25 <td class="explanation">
26 You need to provide a short name for this file.  Use only lowercase letters, numbers, dots ('.'), dashed ('-') and underscores ('_').
27 </td>
28 </tr>
29 <tr>
30 <th>File Name:</th>
31 <td> <input name="name" value="::name_html_tag::" size="40" maxlength="40" /> </td>
32 </tr>
33
34 <tr>
35 <td></td>
36 <td class="explanation">
37 The title appears when users hover over a file link with their mouse.  It is not required.
38 </td>
39 </tr>
40 <tr>
41 <th>Title:</th>
42 <td> <input name="title" value="" size="70" /> </td>
43 </tr>
44
45 <tr>
46 <td></td>
47 <td>
48   <input id="replace" type="checkbox" name="replace" value="1" ::if(replace)::checked="checked"::end::/> <label for="replace">Replace any existing file with the same name</label>
49 </td>
50 </tr>
51
52 <tr>
53 <td></td>
54 <td><input type="submit" value="Upload" /></td>
55 </tr>
56
57 </table>
58 </form>
59
60 ::include(footer.html)::
61 </body>
62 </html>