aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_groups_position.html
blob: 399dc422cdd90df8681e472bf886c05d749b4213 (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
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!-- INCLUDE overall_header.html -->

<a id="maincontent"></a>

	<h1>{L_MANAGE_LEGEND}</h1>

	<form id="legend_settings" method="post" action="{U_ACTION}"<!-- IF S_CAN_UPLOAD --> enctype="multipart/form-data"<!-- ENDIF -->>

	<fieldset>
		<legend>{L_LEGEND_SETTINGS}</legend>
		<dl>
			<dt><label for="legend_sort_groupname">{L_LEGEND_SORT_GROUPNAME}{L_COLON}</label><br /><span>{L_LEGEND_SORT_GROUPNAME_EXPLAIN}</span></dt>
			<dd>
				<label><input type="radio" name="legend_sort_groupname" class="radio" value="1"<!-- IF LEGEND_SORT_GROUPNAME --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
				<label><input type="radio" name="legend_sort_groupname" class="radio" value="0"<!-- IF not LEGEND_SORT_GROUPNAME --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
			</dd>
		</dl>

	<p class="submit-buttons">
		<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
		<input class="button2" type="reset" name="reset" value="{L_RESET}" />
		<input type="hidden" name="action" value="set_config_legend" />
		{S_FORM_TOKEN}
	</p>
	</fieldset>
	</form>

	<p>{L_LEGEND_EXPLAIN}</p>

	<table class="table1">
		<col class="col1" /><col class="col2" /><col class="col2" />
	<thead>
	<tr>
		<th style="width: 50%">{L_GROUP}</th>
		<th>{L_GROUP_TYPE}</th>
		<th>{L_ACTION}</th>
	</tr>
	</thead>
	<tbody>
	<!-- BEGIN legend -->
		<tr data-down="{legend.U_MOVE_DOWN}" data-up="{legend.U_MOVE_UP}">
			<td><strong<!-- IF legend.GROUP_COLOUR --> style="color: {legend.GROUP_COLOUR}"<!-- ENDIF -->>{legend.GROUP_NAME}</strong></td>
			<td style="text-align: center;">{legend.GROUP_TYPE}</td>
			<td style="vertical-align: top; width: 100px; text-align: right; white-space: nowrap;">
				<!-- IF legend.S_FIRST_ROW && not legend.S_LAST_ROW -->
					<span class="up">{ICON_MOVE_UP_DISABLED}</span>
					<span class="down"><a href="{legend.U_MOVE_DOWN}" data-ajax="row_down" data-overlay="false">{ICON_MOVE_DOWN}</a></span>
				<!-- ELSEIF not legend.S_FIRST_ROW && not legend.S_LAST_ROW -->
					<span class="up"><a href="{legend.U_MOVE_UP}" data-ajax="row_up" data-overlay="false">{ICON_MOVE_UP}</a></span>
					<span class="down"><a href="{legend.U_MOVE_DOWN}" data-ajax="row_down" data-overlay="false">{ICON_MOVE_DOWN}</a></span>
				<!-- ELSEIF legend.S_LAST_ROW && not legend.S_FIRST_ROW -->
					<span class="up"><a href="{legend.U_MOVE_UP}" data-ajax="row_up" data-overlay="false">{ICON_MOVE_UP}</a></span>
					<span class="down">{ICON_MOVE_DOWN_DISABLED}</span>
				<!-- ELSE -->
					<span class="up">{ICON_MOVE_UP_DISABLED}</span>
					<span class="down">{ICON_MOVE_DOWN_DISABLED}</span>
				<!-- ENDIF -->
				<a href="{legend.U_DELETE}">{ICON_DELETE}</a>
			</td>
		</tr>
	<!-- BEGINELSE -->
		<tr>
			<td colspan="3" class="row3">{L_NO_GROUPS_ADDED}</td>
		</tr>
	<!-- END legend -->
	</tbody>
	</table>

	<form id="legend_add_group" method="post" action="{U_ACTION_LEGEND}">
		<fieldset class="quick">
			<select name="g">
				<option value="0">{L_SELECT_GROUP}</option>
				<!-- BEGIN add_legend -->
					<option<!-- IF add_legend.GROUP_SPECIAL --> class="sep"<!-- ENDIF --> value="{add_legend.GROUP_ID}">{add_legend.GROUP_NAME}</option>
				<!-- END add_legend -->
			</select>
			<input class="button2" type="submit" name="submit" value="{L_ADD}" />
			<input type="hidden" name="action" value="add" />
			{S_FORM_TOKEN}
		</fieldset>
	</form>

	<h1>{L_MANAGE_TEAMPAGE}</h1>

	<form id="teampage_settings" method="post" action="{U_ACTION}"<!-- IF S_CAN_UPLOAD --> enctype="multipart/form-data"<!-- ENDIF -->>

	<fieldset>
		<legend>{L_TEAMPAGE_SETTINGS}</legend>
		<dl>
			<dt><label for="teampage_memberships">{L_TEAMPAGE_MEMBERSHIPS}{L_COLON}</label></dt>
			<dd>
				<label><input type="radio" name="teampage_memberships" class="radio" value="0"<!-- IF DISPLAY_MEMBERSHIPS == 0 --> checked="checked"<!-- ENDIF --> /> {L_TEAMPAGE_DISP_FIRST}</label><br />
				<label><input type="radio" name="teampage_memberships" class="radio" value="1"<!-- IF DISPLAY_MEMBERSHIPS == 1 --> checked="checked"<!-- ENDIF --> /> {L_TEAMPAGE_DISP_DEFAULT}</label><br />
				<label><input type="radio" name="teampage_memberships" class="radio" value="2"<!-- IF DISPLAY_MEMBERSHIPS == 2 --> checked="checked"<!-- ENDIF --> /> {L_TEAMPAGE_DISP_ALL}</label>
			</dd>
		</dl>
		<dl>
			<dt><label for="teampage_forums">{L_TEAMPAGE_FORUMS}{L_COLON}</label><br /><span>{L_TEAMPAGE_FORUMS_EXPLAIN}</span></dt>
			<dd>
				<label><input type="radio" name="teampage_forums" class="radio" value="1"<!-- IF DISPLAY_FORUMS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
				<label><input type="radio" name="teampage_forums" class="radio" value="0"<!-- IF not DISPLAY_FORUMS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
			</dd>
		</dl>

	<p class="submit-buttons">
		<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
		<input class="button2" type="reset" name="reset" value="{L_RESET}" />
		<input type="hidden" name="action" value="set_config_teampage" />
		{S_FORM_TOKEN}
	</p>
	</fieldset>
	</form>

	<p>{L_TEAMPAGE_EXPLAIN}</p>

	<!-- IF S_TEAMPAGE_CATEGORY and CURRENT_CATEGORY_NAME --><p><strong><a href="{U_ACTION}">{L_TEAMPAGE}</a> &raquo; {CURRENT_CATEGORY_NAME}</strong></p><!-- ENDIF -->

	<table class="table1">
		<col class="col1" /><col class="col2" /><col class="col2" />
	<thead>
	<tr>
		<th style="width: 50%">{L_GROUP}</th>
		<th>{L_GROUP_TYPE}</th>
		<th>{L_ACTION}</th>
	</tr>
	</thead>
	<tbody>
	<!-- BEGIN teampage -->
		<tr data-down="{teampage.U_MOVE_DOWN}" data-up="{teampage.U_MOVE_UP}">
			<td>
				<!-- IF teampage.U_CATEGORY -->
					<a href="{teampage.U_CATEGORY}">{teampage.GROUP_NAME}</a>
				<!-- ELSE -->
					<strong<!-- IF teampage.GROUP_COLOUR --> style="color: {teampage.GROUP_COLOUR}"<!-- ENDIF -->>{teampage.GROUP_NAME}</strong>
				<!-- ENDIF -->
			</td>
			<td style="text-align: center;"><!-- IF teampage.GROUP_TYPE -->{teampage.GROUP_TYPE}<!-- ELSE -->-<!-- ENDIF -->
			</td></td>
			<td style="vertical-align: top; width: 100px; text-align: right; white-space: nowrap;">
				<!-- IF teampage.S_FIRST_ROW && not teampage.S_LAST_ROW -->
					<span class="up">{ICON_MOVE_UP_DISABLED}</span>
					<span class="down"><a href="{teampage.U_MOVE_DOWN}" data-ajax="row_down" data-overlay="false">{ICON_MOVE_DOWN}</a></span>
				<!-- ELSEIF not teampage.S_FIRST_ROW && not teampage.S_LAST_ROW -->
					<span class="up"><a href="{teampage.U_MOVE_UP}" data-ajax="row_up" data-overlay="false">{ICON_MOVE_UP}</a></span>
					<span class="down"><a href="{teampage.U_MOVE_DOWN}" data-ajax="row_down" data-overlay="false">{ICON_MOVE_DOWN}</a></span>
				<!-- ELSEIF teampage.S_LAST_ROW && not teampage.S_FIRST_ROW -->
					<span class="up"><a href="{teampage.U_MOVE_UP}" data-ajax="row_up" data-overlay="false">{ICON_MOVE_UP}</a></span>
					<span class="down">{ICON_MOVE_DOWN_DISABLED}</span>
				<!-- ELSE -->
					<span class="up">{ICON_MOVE_UP_DISABLED}</span>
					<span class="down">{ICON_MOVE_DOWN_DISABLED}</span>
				<!-- ENDIF -->
				<a href="{teampage.U_DELETE}">{ICON_DELETE}</a>
			</td>
		</tr>
	<!-- BEGINELSE -->
		<tr>
			<td colspan="3" class="row3">{L_NO_GROUPS_ADDED}</td>
		</tr>
	<!-- END teampage -->
	</tbody>
	</table>

	<!-- IF not S_TEAMPAGE_CATEGORY -->
	<form id="teampage_add_category" method="post" action="{U_ACTION_TEAMPAGE}">
		<fieldset class="quick">
			<input class="inputbox autowidth" type="text" maxlength="255" name="category_name" placeholder="{L_GROUP_CATEGORY_NAME}" />
			<input class="button2" type="submit" name="submit" value="{L_ADD_GROUP_CATEGORY}" />
			<input type="hidden" name="action" value="add_category" />
			{S_FORM_TOKEN}
		</fieldset>
	</form>
	<!-- ENDIF -->

	<form id="teampage_add_group" method="post" action="{U_ACTION_TEAMPAGE}">
		<fieldset class="quick">
			<select name="g">
				<option value="0">{L_SELECT_GROUP}</option>
				<!-- BEGIN add_teampage -->
					<option<!-- IF add_teampage.GROUP_SPECIAL --> class="sep"<!-- ENDIF --> value="{add_teampage.GROUP_ID}">{add_teampage.GROUP_NAME}</option>
				<!-- END add_teampage -->
			</select>
			<input class="button2" type="submit" name="submit" value="{L_ADD}" />
			<input type="hidden" name="action" value="add" />
			{S_FORM_TOKEN}
		</fieldset>
	</form>

	<div class="hidden">
		<a class="template-up-img" href="#">{ICON_MOVE_UP}</a>
		<span class="template-up-img-disabled">{ICON_MOVE_UP_DISABLED}</span>

		<a class="template-down-img" href="#">{ICON_MOVE_DOWN}</a>
		<span class="template-down-img-disabled">{ICON_MOVE_DOWN_DISABLED}</span>
	</div>

<!-- INCLUDE overall_footer.html -->