-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpost_form.txt
89 lines (75 loc) · 3.11 KB
/
post_form.txt
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
89
{#
# Saku Gateway Post Form.
# Copyright (c) 2005-2018 shinGETsu Project.
#}
{% if isadmin %}
{% if cache %}
<p><input type="submit" value="{{message.del_record}}" class="btn" /></p>
{% endif %}
</form>
{% endif %}
<form id="postarticle" name="postarticle" method="post" action="{{thread_cgi}}"
enctype="multipart/form-data" class="well form-horizontal"><div>
<input type="hidden" name="cmd" value="post" />
<input type="hidden" name="file" value="{{cache.datfile}}" />
<div class="form-group post-advanced">
<label class="control-label col-sm-2" for="name">{{message.name}}</label>
<div class="col-sm-10"><input name="name" value="" id="name" class="form-control" /></div>
</div>
<div class="form-group post-advanced">
<label class="control-label col-sm-2" for="mail">{{message.mail}}</label>
<div class="col-sm-10"><input name="mail" value="" id="mail" class="form-control" /></div>
</div>
{% if isadmin %}
<div class="form-group post-advanced">
<label class="control-label col-sm-2" for="passwd">{{message.signature}}</label>
<div class="col-sm-10"><input type="password" name="passwd" value="" id="passwd" class="form-control" /></div>
</div>
{% endif %}
<div class="form-group">
<label class="control-label col-sm-2" for="body">{{message.post_body}}</label>
<div class="col-sm-10">
<textarea rows="5" name="body" id="body" class="form-control"></textarea>
<div class="help-block"><a href="{{gateway_cgi}}/motd" target="_blank">{{message.agreement}}</a></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="attach">{{message.attach}}</label>
<div class="col-sm-10">
<input type="file" name="attach" size="19" value="" id="attach" class="input-file" />
<div class="help-inline">{{message.limit}}: {{limit}}{{message.kb}}</div>
</div>
</div>
<div class="form-group post-advanced">
<label class="control-label col-sm-2" for="suffix">{{message.suffix}}</label>
<div class="col-sm-10">
<select name="suffix" size="1" id="suffix">
<option>AUTO</option>
{% for suffix in suffixes %}
<option>{{suffix}}</option>
{% endfor %}
</select>
</div>
</div>
<div class="form-group post-advanced">
<label class="control-label col-sm-2" for="dopost">{{message.send}}</label>
<div class="col-sm-10"><label>
<input type="checkbox" id="dopost" name="dopost" value="dopost" checked="checked" />
<div class="help-inline">{{message.desc_send}}</div>
</label></div>
</div>
<div class="form-group post-advanced">
<label class="control-label col-sm-2" for="error">{{message.error}}</label>
<div class="col-sm-10"><label>
<input type="checkbox" id="error" name="error" value="error" checked="checked" />
<div class="help-inline">{{message.desc_error}}</div>
</label></div>
</div>
<div style="display:none"><input name="homepage" value=""></div>
<div class="form-actions">
<button class="btn btn-primary">
<i class="glyphicon glyphicon-pencil"></i>
{{message.post}}
</button>
</div>
</div></form>