summaryrefslogtreecommitdiff
path: root/templates/thread.html
blob: f8f71640f80ab438b3e1fc61820712310520333b (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<head>
	<link rel="stylesheet" media="screen" href="{index}style.css"/>
	<title>{board[url]} - {board[name]}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
	<script type="text/javascript" src="{index}main.js"></script>
</head>
<body>
	<h1>{board[url]} - {board[name]}</h1>
	<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
	
	<div class="banner">Posting mode: Reply <a class="unimportant" href="{return}">[Return.]</a></div>
	<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
	<input type="hidden" name="thread" value="{id}" />
	<input type="hidden" name="board" value="{board[uri]}" />
	{mod?<input type="hidden" name="mod" value="1" />}
		<table>
			<tr>
				<th>
					Name
				</th>
				<td>
					<input type="text" name="name" size="25" maxlength="25" autocomplete="off" />
				</td>
			</tr>
			<tr>
				<th>
					Email
				</th>
				<td>
					<input type="text" name="email" size="25" maxlength="30" autocomplete="off" />
				</td>
			</tr>
			<tr>
				<th>
					Subject
				</th>
				<td>
					<input style="float:left;" type="text" name="subject" size="25" maxlength="25" autocomplete="off" />
					<input accesskey="s" style="float:right;" type="submit" name="post" value="{button=New Topic}" />
				</td>
			</tr>
			<tr>
				<th>
					Comment
				</th>
				<td>
					<textarea name="body" id="body" rows="5" cols="30"></textarea>
				</td>
			</tr>
			<tr>
				<th>
					File
				</th>
				<td>
					<input type="file" name="file"/>
				</td>
			</tr>
			<tr>
				<th>
					Password
				</th>
				<td>
					<input type="password" name="password" size="12" maxlength="18" /> 
					<span class="unimportant">(For file deletion.)</span>
				</td>
			</tr>
		</table>
	</form>
	<hr/>
	<form action="{post_url}" method="post">
	<input type="hidden" name="delete" value="1" />
	<input type="hidden" name="board" value="{board[uri]}" />
	{mod?<input type="hidden" name="mod" value="1" />}
	{body}
	<div class="delete">
		Delete Post [<input title="Delete file only" type="checkbox" name="file" id="delete_file"/>
		 <label for="delete_file">File</label>] Password
			<input type="password" name="password" size="12" maxlength="18" />
			<input type="submit" value="Delete" />
	</div>
	</form>
	<a href="{return}">[Return.]</a>
	<p class="unimportant" style="text-align:center;">Copyright &copy; 2010 <a href="http://omegasdg.com/">OmegaSDG</a></p>
</body>
</html>