268eaeefd0feab437b7e5b19c7e68ff780b63bd0
[citadel.git] / webcit / static / t / files.html
1 <?=("head")>
2 <?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
3 <div id="banner">
4         <h1><?_("Files available for download in")>&nbsp;<?ROOMNAME></h1>
5         <?!("COND:THISROOM:FLAG:QR", 2, #"QR_UPLOAD")>
6                 <br>
7                 <form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="upload_file" name="upload_file_form">
8                         <input type="hidden" name="nonce" value="<?NONCE>">
9                         <?_("Upload a file:")>&nbsp;
10                         <input name="filename" size="60" type="file">&nbsp;
11                         <div id="navbar">
12                                 <?_("Description:")>&nbsp;
13                                 <input type="text" name="description" maxlength="50" size="50">&nbsp;
14                                 <input type="submit" name="attach_button" value="<?_("Upload")>">
15                         </div>
16                 </form>
17         <??("X", 2)>
18 </div>
19
20 <script language="javascript" type="text/javascript">
21   document.onkeydown = CtdlMsgListKeyPress;
22   if (document.layers) {
23         document.captureEvents(Event.KEYPRESS);
24   }
25 </script>
26
27 <div id="content" class="service">
28         <table class="downloads_background altern">
29         <tr>
30           <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>
31           <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>
32           <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>
33           <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>
34         </tr>
35         <?ITERATE("ROOM:FILES", ="files_section_onefile")>
36         </div>
37 <?=("trailing")>