-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpermissions.html.twig
More file actions
148 lines (142 loc) · 11.2 KB
/
permissions.html.twig
File metadata and controls
148 lines (142 loc) · 11.2 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{% extends '@forum/layout.html.twig' %}
{% block content %}
{% include '@forum/admin/menu.html.twig' %}
{{ fireHook('view.admin.permissions.start') }}
<div class="blockform">
<h2><span>{{ trans('Permissions head') }}</span></h2>
<div class="box">
<form method="post" action="{{ pathFor('adminPermissions') }}">
<input type="hidden" name="csrf_name" value="{{ csrf_name }}">
<input type="hidden" name="csrf_value" value="{{ csrf_value }}">
<p class="submittop"><input type="submit" name="save" value="{{ trans('Save changes') }}" /></p>
<div class="inform">
<input type="hidden" name="form_sent" value="1" />
<fieldset>
<legend>{{ trans('Posting subhead') }}</legend>
<div class="infldset">
<table class="aligntop">
<tr>
<th scope="row">{{ trans('BBCode label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[message_bbcode]" value="1"{{ settings('p_message_bbcode') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[message_bbcode]" value="0"{{ settings('p_message_bbcode') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('BBCode help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('Image tag label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[message_img_tag]" value="1"{{ settings('p_message_img_tag') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[message_img_tag]" value="0"{{ settings('p_message_img_tag') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('Image tag help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('All caps message label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[message_all_caps]" value="1"{{ settings('p_message_all_caps') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[message_all_caps]" value="0"{{ settings('p_message_all_caps') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('All caps message help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('All caps subject label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[subject_all_caps]" value="1"{{ settings('p_subject_all_caps') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[subject_all_caps]" value="0"{{ settings('p_subject_all_caps') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('All caps subject help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('Require e-mail label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[force_guest_email]" value="1"{{ settings('p_force_guest_email') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[force_guest_email]" value="0"{{ settings('p_force_guest_email') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('Require e-mail help') }}</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<div class="inform">
<fieldset>
<legend>{{ trans('Signatures subhead') }}</legend>
<div class="infldset">
<table class="aligntop">
<tr>
<th scope="row">{{ trans('BBCode sigs label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[sig_bbcode]" value="1"{{ settings('p_sig_bbcode') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[sig_bbcode]" value="0"{{ settings('p_sig_bbcode') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('BBCode sigs help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('Image tag sigs label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[sig_img_tag]" value="1"{{ settings('p_sig_img_tag') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[sig_img_tag]" value="0"{{ settings('p_sig_img_tag') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('Image tag sigs help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('All caps sigs label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[sig_all_caps]" value="1"{{ settings('p_sig_all_caps') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[sig_all_caps]" value="0"{{ settings('p_sig_all_caps') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('All caps sigs help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('Max sig length label') }}</th>
<td>
<input type="text" name="form[sig_length]" size="5" maxlength="5" value="{{ settings('p_sig_length') }}" />
<span class="clearb">{{ trans('Max sig length help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('Max sig lines label') }}</th>
<td>
<input type="text" name="form[sig_lines]" size="3" maxlength="3" value="{{ settings('p_sig_lines') }}" />
<span class="clearb">{{ trans('Max sig lines help') }}</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<div class="inform">
<fieldset>
<legend>{{ trans('Registration subhead') }}</legend>
<div class="infldset">
<table class="aligntop">
<tr>
<th scope="row">{{ trans('Banned e-mail label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[allow_banned_email]" value="1"{{ settings('p_allow_banned_email') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[allow_banned_email]" value="0"{{ settings('p_allow_banned_email') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('Banned e-mail help') }}</span>
</td>
</tr>
<tr>
<th scope="row">{{ trans('Duplicate e-mail label') }}</th>
<td>
<label class="conl"><input type="radio" name="form[allow_dupe_email]" value="1"{{ settings('p_allow_dupe_email') == '1' ? ' checked="checked"' : '' }} /> <strong>{{ trans('Yes') }}</strong></label>
<label class="conl"><input type="radio" name="form[allow_dupe_email]" value="0"{{ settings('p_allow_dupe_email') == '0' ? ' checked="checked"' : '' }} /> <strong>{{ trans('No') }}</strong></label>
<span class="clearb">{{ trans('Duplicate e-mail help') }}</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
{{ fireHook('view.admin.permissions.form') }}
<p class="submitend"><input type="submit" name="save" value="{{ trans('Save changes') }}" /></p>
</form>
</div>
</div>
<div class="clearer"></div>
</div>
{{ fireHook('view.admin.permissions.end') }}
{% endblock content %}