aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_styles.html
blob: 572486e87768bdfbea82c2f4845b8df3c2b07282 (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
<!-- INCLUDE overall_header.html -->

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

<!-- IF S_STYLE_DETAILS -->
	<a href="{U_ACTION}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
<!-- ENDIF -->

<!-- IF S_CONFIRM_ACTION -->
<form id="confirm" method="post" action="{S_CONFIRM_ACTION}">

<fieldset>
	<h1>{MESSAGE_TITLE}</h1>
	<p>{MESSAGE_TEXT}</p>
	<!-- IF S_CONFIRM_DELETE -->
	<label><input type="checkbox" class="checkbox" name="confirm_delete_files" /> {L_DELETE_FROM_FS}</label>
	<!-- ENDIF -->

	{S_HIDDEN_FIELDS}

	<div style="text-align: center;">
		<input type="submit" name="confirm" value="{L_YES}" class="button2" />&nbsp;
		<input type="submit" name="cancel" value="{L_NO}" class="button2" />
	</div>

</fieldset>

</form>
<!-- ELSE -->

<!-- IF L_TITLE --><h1>{L_TITLE}</h1><!-- ENDIF -->

<!-- IF L_EXPLAIN --><p>{L_EXPLAIN}</p><!-- ENDIF -->

<fieldset class="quick">
	<span class="small"><a href="https://www.phpbb.com/go/customise/styles/3.1" target="_blank">{L_BROWSE_STYLES_DATABASE}</a></span>
</fieldset>

<form id="acp_styles" method="post" action="{U_ACTION}">
{S_HIDDEN_FIELDS}
{S_FORM_TOKEN}

<!-- IF S_STYLE_DETAILS -->
	<input type="hidden" name="id" value="{STYLE_ID}" />
	<fieldset>
	<dl>
		<dt><label for="name">{L_STYLE_NAME}{L_COLON}</label></dt>
		<dd><input type="text" id="name" name="style_name" value="{STYLE_NAME}" /></dd>
	</dl>
	<dl>
		<dt><label>{L_STYLE_PATH}{L_COLON}</label></dt>
		<dd><strong>{STYLE_PATH}</strong></dd>
	</dl>
	<dl>
		<dt><label for="name">{L_COPYRIGHT}{L_COLON}</label></dt>
		<dd><strong>{STYLE_COPYRIGHT}</strong></dd>
	</dl>
	<dl>
		<dt><label for="style_parent">{L_INHERITING_FROM}{L_COLON}</label></dt>
		<dd><select id="style_parent" name="style_parent">
			<option value=""<!-- IF STYLE_PARENT == 0 --> selected="selected"<!-- ENDIF -->> - </option>
			<!-- BEGIN parent_styles -->
				<option value="{parent_styles.STYLE_ID}"<!-- IF parent_styles.STYLE_ID == STYLE_PARENT --> selected="selected"<!-- ENDIF -->>{parent_styles.SPACER}{parent_styles.STYLE_NAME}</option>
			<!-- END parent_styles -->
		</select></dd>
	</dl>
	<dl>
		<dt><label for="style_active">{L_STYLE_ACTIVE}{L_COLON}</label></dt>
		<dd><label><input type="radio" class="radio" name="style_active" value="1"<!-- IF S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
			<label><input type="radio" class="radio" name="style_active" value="0"<!-- IF not S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
	</dl>
	<!-- IF not S_STYLE_DEFAULT -->
		<dl>
			<dt><label for="style_default">{L_STYLE_DEFAULT}{L_COLON}</label></dt>
			<dd><label><input type="radio" class="radio" name="style_default" value="1" /> {L_YES}</label>
				<label><input type="radio" class="radio" id="style_default" name="style_default" value="0" checked="checked" /> {L_NO}</label></dd>
		</dl>
	<!-- ENDIF -->
	</fieldset>

	<fieldset class="submit-buttons">
		<legend>{L_SUBMIT}</legend>
		<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
		<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
		{S_FORM_TOKEN}
	</fieldset>
<!-- ENDIF -->

<!-- IF .styles_list -->
	<table class="table1 styles">
	<thead>
	<tr>
		<th>{L_STYLE_NAME}</th>
		<!-- IF not STYLES_LIST_HIDE_COUNT --><th width="10%" style="white-space: nowrap; text-align: center;">{L_STYLE_USED_BY}</th><!-- ENDIF -->
		<th width="25%" style="white-space: nowrap; text-align: center;">{L_ACTIONS}</th>
		{STYLES_LIST_EXTRA}
		<th>&nbsp;</th>
	</tr>
	</thead>
	<!-- BEGIN styles_list -->
	<tbody id="styles-list-{styles_list.S_ROW_COUNT}">
	<tr class="row-highlight<!-- IF styles_list.STYLE_ID and not styles_list.STYLE_ACTIVE --> row-inactive<!-- ENDIF -->">
		<!-- IF styles_list.LEVEL is odd -->
			<!-- IF $ROW_CLASS == 'row1a' --><!-- DEFINE $ROW_CLASS = 'row1b' --><!-- ELSE --><!-- DEFINE $ROW_CLASS = 'row1a' --><!-- ENDIF -->
		<!-- ELSE -->
			<!-- IF $ROW_CLASS == 'row2a' --><!-- DEFINE $ROW_CLASS = 'row2b' --><!-- ELSE --><!-- DEFINE $ROW_CLASS = 'row2a' --><!-- ENDIF -->
		<!-- ENDIF -->
		<td class="{$ROW_CLASS}" style="padding-{S_CONTENT_FLOW_BEGIN}: {styles_list.PADDING}px;">
			<!-- IF styles_list.STYLE_ID and styles_list.COMMENT == '' and styles_list.STYLE_ACTIVE -->
				<div class="default-style" style="display: none; float: {S_CONTENT_FLOW_END};">
					<input class="radio" type="radio" name="default" value="{styles_list.STYLE_ID}"<!-- IF styles_list.DEFAULT --> checked="checked"<!-- ELSE --><!-- DEFINE $S_DEFAULT = 1 --><!-- ENDIF --> title="{L_STYLE_DEFAULT}" />
				</div>
			<!-- ENDIF -->
			<!-- IF styles_list.DEFAULT or styles_list.SHOW_COPYRIGHT -->
				<strong>{styles_list.STYLE_NAME}</strong>
				<!-- IF styles_list.SHOW_COPYRIGHT and styles_list.COMMENT == '' --><span><br />{styles_list.STYLE_COPYRIGHT}</span><!-- ENDIF -->
			<!-- ELSE -->
				<span>{styles_list.STYLE_NAME}</span>
			<!-- ENDIF -->
			<!-- IF styles_list.COMMENT != '' -->
				<span class="error"><br />{styles_list.COMMENT}</span>
			<!-- ENDIF -->
			<!-- IF not styles_list.STYLE_ID and styles_list.COMMENT == '' -->
				<span class="style-path"><br />{L_STYLE_PATH}{L_COLON} {styles_list.STYLE_PATH_FULL}</span>
			<!-- ENDIF -->
		</td>
		<!-- IF not STYLES_LIST_HIDE_COUNT -->
			<td class="{$ROW_CLASS} users">{styles_list.USERS}</td>
		<!-- ENDIF -->
		<td class="{$ROW_CLASS} actions">
			<!-- BEGIN actions -->
				<!-- IF styles_list.actions.S_ROW_COUNT > 0 --> | <!-- ENDIF -->
				<!-- IF styles_list.actions.U_ACTION -->
					<a href="{styles_list.actions.U_ACTION}"{styles_list.actions.U_ACTION_ATTR}>{styles_list.actions.L_ACTION}</a>
				<!-- ENDIF -->
				{styles_list.actions.HTML}
			<!-- END actions -->
		</td>
		{styles_list.EXTRA}
		<td class="{$ROW_CLASS} mark" width="20">
			<!-- IF styles_list.STYLE_ID -->
				<input class="checkbox" type="checkbox" name="ids[]" value="{styles_list.STYLE_ID}" />
			<!-- ELSE -->
				<!-- IF styles_list.COMMENT != '' -->
					&nbsp;
				<!-- ELSE -->
					<input class="checkbox" type="checkbox" name="dirs[]" value="{styles_list.STYLE_PATH}" />
				<!-- ENDIF -->
			<!-- ENDIF -->
		</td>
	</tr>
	</tbody>
	<!-- END styles_list -->
	</table>
<!-- ENDIF -->

<!-- IF .extra_actions -->
	<fieldset class="quick">
		<!-- BEGIN extra_actions -->
			<input type="submit" name="{extra_actions.ACTION_NAME}" class="button2" value="{extra_actions.L_ACTION}" />
		<!-- END extra_actions -->
	</fieldset>
<!-- ENDIF -->

</form>

<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->