* Added another conditional for presence/absence of Subject: header
[citadel.git] / webcit / static / t / files.html
blob532c1a21ba2307a26df2b2026b0846d4c9a4e652
1 <?=("head")>
2 <?=("important_msg")>
3 <div id="banner"><h1><?_("Files available for download in")> <?ROOMNAME></h1></div>
5 <script language="javascript" type="text/javascript">
6 document.onkeydown = CtdlMsgListKeyPress;
7 if (document.layers) {
8 document.captureEvents(Event.KEYPRESS);
10 </script>
12 <div id="content" class="service">
14 <div class="fix_scrollbar_bug">
16 <table class="downloads_background">
17 <tr>
18 <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>
19 <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>
20 <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>
21 <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>
22 </tr>
23 <?ITERATE("ROOM:FILES", "section_files_onefile")>
31 <??("COND:ROOM:FLAGS:QR_UPLOAD", 2)>
32 <hr>
33 <form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="upload_file" name="upload_file_form">
34 <input type="hidden" name="nonce" value="<?NONCE>">
35 <?_("Upload a file:")>
36 &nbsp;
37 <input NAME="filename" SIZE=16 TYPE="file">&nbsp;
38 <?_("Description:")>&nbsp;
39 <input type="text" name="description" maxlength="64" size="64">&nbsp;
40 <input type="submit" name="attach_button" value="<?_("Upload")>">
41 </form>
42 </div>
43 <??("X", 1)>
46 </div>
49 <?=("trailing")>