Bumped version for release.
[cocanwiki.git] / templates / files.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 <meta name="robots" content="noindex,nofollow"/>
5 <title>Files</title>
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/files.css" type="text/css" title="Standard"/>
10 </head><body>
11
12 <h1><span>Files</span></h1>
13
14 <ul class="menu">
15 <li class="first"><a href="/_bin/upload_file_form.cmo">Upload a new file</a> </li>
16 ::if(deleted)::
17 <li><a href="/_files">Show live files</a> </li>
18 <li>Show deleted files</li>
19 ::else::
20 <li>Show live files </li>
21 <li><a href="/_files?deleted=1">Show deleted files</a></li>
22 ::end::
23 </ul>
24
25 <table id="files">
26 ::table(files)::
27 <tr>
28 <td rowspan="2"> <a href="/_file/::name_html_tag::?version=::id::"><img src="/_graphics/file.png" border="0" width="20" height="22" alt="File icon" title="Download file"/></a> </td>
29 <td>
30 <p>
31 Name: <strong>::name_html::</strong> (size: ::ksize_html:: K) <br/>
32 ::if(is_deleted)::
33 (This file has been deleted or replaced)
34 ::else::
35 <code>[[file&#x3a;::name_html::]]</code>
36 ::end::
37 </p>
38 </td>
39 </tr>
40 <tr>
41 <td class="actions">
42 <ul class="menu">
43 ::if(is_deleted)::
44 <li class="first"><a href="/_bin/undelete_file_form.cmo?id=::id_url::">Restore</a></li>
45 ::else::
46 <li class="first"><a href="/_bin/edit_file_form.cmo?id=::id_url::">Edit description fields</a> </li>
47 <li><a href="/_bin/upload_file_form.cmo?id=::id_url::&replace=1">Replace file</a> </li>
48 <li><a href="/_bin/delete_file_form.cmo?id=::id_url::">Delete</a></li>
49 ::end::
50 </ul>
51 </td>
52 </tr>
53 ::end::
54 </table>
55
56 ::include(footer.html)::
57 </body>
58 </html>