Bumped version for release.
[cocanwiki.git] / templates / images.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>Images</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/images.css" type="text/css" title="Standard"/>
10 </head><body>
11
12 <h1><span>Images</span></h1>
13
14 <ul class="menu">
15 <li class="first"><a href="/_bin/upload_image_form.cmo">Upload a new image</a> </li>
16 ::if(deleted)::
17 <li><a href="/_images">Show live images</a> </li>
18 <li>Show deleted images</li>
19 ::else::
20 <li>Show live images</li>
21 <li><a href="/_images?deleted=1">Show deleted images</a></li>
22 ::end::
23 </ul>
24
25 <table id="images">
26 ::table(images)::
27 <tr>
28 <td rowspan="2" class="thumbnail"> ::if(has_thumbnail):: <a href="/_image/::name_html_tag::?version=::id::"><img src="/_image/::name_html_tag::?thumbnail=1&version=::id::" width="::tn_width::" height="::tn_height::" alt="::alt_html_tag::" title="Thumbnail of ::name_html_tag::.  Click image to show full-size version."/></a> ::else:: No thumbnail.  <a href="/_image/::name_html_tag::?version=::id::">Show full-size version.</a> ::end:: </td>
29 <td>
30 <p>
31 Name: <strong>::name_html::</strong> (size: ::ksize_html:: K) <br/>
32 ::width_html::x::height_html:: <br/>
33 ALT text: ::alt_html:: <br/>
34 ::if(is_deleted)::
35 (This image has been deleted or replaced)
36 ::else::
37 <code>[[image&#x3a;::name_html::]]</code>
38 ::end::
39 </p>
40 </td>
41 </tr>
42 <tr>
43 <td class="actions">
44 <ul class="menu">
45 ::if(is_deleted)::
46 <li class="first"><a href="/_bin/undelete_image_form.cmo?id=::id_url::">Restore</a></li>
47 ::else::
48 <li class="first"><a href="/_bin/edit_image_form.cmo?id=::id_url::">Edit description fields</a></li>
49 <li><a href="/_bin/upload_image_form.cmo?id=::id_url::&replace=1">Replace image</a></li>
50 <li><a href="/_bin/delete_image_form.cmo?id=::id_url::">Delete</a></li>
51 ::end::
52 </ul>
53 </td>
54 </tr>
55 ::end::
56 </table>
57
58 ::include(footer.html)::
59 </body>
60 </html>