c499776d3a27ae690c9ba2a1f542eac369439e26
[citadel.git] / webcit / static / t / files.html
1 <?=("head")>
2 <?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
3 <div id="banner"><h1><?_("Files available for download in")> <?ROOMNAME></h1></div>
4
5 <script language="javascript" type="text/javascript">
6   document.onkeydown = CtdlMsgListKeyPress;
7   if (document.layers) {
8         document.captureEvents(Event.KEYPRESS);
9   }
10 </script>
11
12 <div id="content" class="service">
13
14 <table class="downloads_background">
15 <tr>
16   <th><?_("Filename")>&nbsp;<a href="do_template?template=files?SortOrder=<?SORT:ORDER("filename")>&SortBy=<?SORT:NEXT("filename")>"><img border="0" src="<?SORT:ICON("filename")>" /></a> </th>
17   <th><?_("Size")>&nbsp;<a href="do_template?template=files?SortOrder=<?SORT:ORDER("filesize")>&SortBy=<?SORT:NEXT("filesize")>"><img border="0" src="<?SORT:ICON("filesize")>" /></a> </th>
18   <th><?_("Content")>&nbsp;<a href="do_template?template=files?SortOrder=<?SORT:ORDER("filemime")>&SortBy=<?SORT:NEXT("filemime")>"><img border="0" src="<?SORT:ICON("filemime")>" /></a> </th>
19   <th><?_("Description")>&nbsp;<a href="do_template?template=files?SortOrder=<?SORT:ORDER("filesubject")>&SortBy=<?SORT:NEXT("filesubject")>"><img border="0" src="<?SORT:ICON("filesubject")>" /></a> </th>
20 </tr>
21 <?ITERATE("ROOM:FILES", ="files_section_onefile")>
22
23
24
25
26
27
28
29 <?!("COND:THISROOM:FLAG:QR", 2, #"QR_UPLOAD")>
30 <hr>
31 <form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="upload_file" name="upload_file_form">
32 <input type="hidden" name="nonce" value="<?NONCE>">
33 <?_("Upload a file:")>
34 &nbsp;
35 <input NAME="filename" SIZE=16 TYPE="file">&nbsp;
36 <?_("Description:")>&nbsp;
37 <input type="text" name="description" maxlength="64" size="64">&nbsp;
38 <input type="submit" name="attach_button" value="<?_("Upload")>">
39 </form>
40 </div>
41 <??("X", 2)>
42
43
44 </div>
45
46
47 <?=("trailing")>