File: files.html

package info (click to toggle)
webcit 902-dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,888 kB
  • ctags: 3,854
  • sloc: ansic: 34,145; sh: 4,455; makefile: 352; xml: 91; sed: 9
file content (37 lines) | stat: -rw-r--r-- 1,838 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?=("head")>
<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
	<h1><?_("Files available for download in")>&nbsp;<?THISROOM:NAME></h1>
	<?!("COND:THISROOM:FLAG:QR", 2, #"QR_UPLOAD")>
		<br>
		<form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="upload_file" name="upload_file_form">
			<input type="hidden" name="nonce" value="<?NONCE>">
			<?_("Upload a file:")>&nbsp;
			<input name="filename" size="60" type="file">&nbsp;
			<div id="navbar">
				<?_("Description:")>&nbsp;
				<input type="text" name="description" maxlength="50" size="50">&nbsp;
				<input type="submit" name="attach_button" value="<?_("Upload")>">
			</div>
		</form>
	<??("X", 2)>
</div>

<script language="javascript" type="text/javascript">
  document.onkeydown = CtdlMsgListKeyPress;
  if (document.layers) {
 	document.captureEvents(Event.KEYPRESS);
  }
</script>

<div id="content" class="service">
	<table class="downloads_background altern">
	<tr>
	  <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>
	  <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>
	  <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>
	  <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>
	</tr>
	<?ITERATE("ROOM:FILES", ="files_section_onefile")>
	</div>
<?=("trailing")>