1 [% PROCESS header.tt -%] |
1 [% WRAPPER once.tt %] |
2 <html> |
|
3 <head> |
|
4 <title>[% product %]</title> |
|
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
6 <style type="text/css"> |
|
7 th { text-align: left; } |
|
8 </style> |
|
9 </head> |
|
10 <body> |
|
11 <h1>Ansicht: [% view %]</h1> |
2 <h1>Ansicht: [% view %]</h1> |
12 <p> |
|
13 Der gültige Download-Link ist die Link-Adresse, die sich hinter |
|
14 dem Datei-Namen verbirgt. (Firefox: Rechte Maustaste, |
|
15 Link-Location). Nach Ablauf des <a href="http://de.wikipedia.org/wiki/Mindesthaltbarkeitsdatum">MHD</a> |
|
16 wird die Datei automatisch gelöscht. |
|
17 </p> |
|
18 |
3 |
19 <hr /> |
4 [% IF files %] |
|
5 <p> |
|
6 Der gültige Download-Link ist die Link-Adresse, die sich hinter |
|
7 dem Datei-Namen verbirgt. (Firefox: Rechte Maustaste, |
|
8 Link-Location). Nach Ablauf des <a href="http://de.wikipedia.org/wiki/Mindesthaltbarkeitsdatum">MHD</a> |
|
9 wird die Datei automatisch gelöscht. |
|
10 </p> |
20 |
11 |
|
12 <hr /> |
|
13 |
|
14 [%# Table for the files, our repository %] |
|
15 |
|
16 <table> |
|
17 <tr><th>Name</th><th>Größe</th><th>Hochgeladen</th><th>Löschung</hr><th>Aktion</th> |
|
18 </tr> |
|
19 [% FOREACH file IN files %] |
|
20 <tr> |
|
21 <td><a href="[% file.link %]">[% file.name %]</a></td> |
|
22 <td align="right">[% file.size %]</td> |
|
23 <td>[% date.format(file.uploaded, "%c") %]</td> |
|
24 <td>[% file.removal.type %]</td> |
|
25 <td><a href="[% file.removal.link %]">remove</a></td> |
|
26 </td> |
|
27 [% END # foreach %] |
|
28 </table> |
|
29 [% END # files %] |
|
30 |
|
31 [%# Formular for upload %] |
|
32 <form enctype="multipart/form-data"> |
21 <table> |
33 <table> |
22 <tr><th>Name</th><th>Größe</th><th>Hochgeladen</th><th>Löschung</hr><th>Aktion</th> |
34 <tr><td>Dateiname: </td> |
|
35 <td><input type="file" name="upload" value="nothing" /></td> |
|
36 </tr><tr> |
|
37 <td>Löschen in: </td><td><input type="text" name="expires" value="0" /></td> |
|
38 <td>Tagen (0: unmittelbar nach Download, -1: manuell)</td> |
|
39 </tr><tr> |
|
40 <td /><td><input type="submit" name=".submit" value="Hochladen" /></td> |
23 </tr> |
41 </tr> |
24 [% FOREACH file IN files %] |
42 </table> |
25 <tr> |
43 </form> |
26 <td><a href="[% file.link %]">[% file.name %]</a></td> |
44 |
27 <td align="right">[% file.size %]</td> |
|
28 <td>[% date.format(file.uploaded, "%c") %]</td> |
|
29 <td>[% file.removal.type %]</td> |
|
30 <td><a href="[% file.removal.link %]">remove</a></td> |
|
31 </td> |
|
32 [% END %] |
45 [% END %] |
33 </table> |
|
34 [% INCLUDE footer.html %] |
|
35 </body> |
|
36 </html> |
|