aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/mcp_front.html
blob: 97775814dbdc242b7e1a13526a0e01012e87f642 (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
<!-- INCLUDE mcp_header.html -->

<h2>{PAGE_TITLE}</h2>

<!-- EVENT mcp_front_latest_unapproved_before -->

<!-- IF S_SHOW_UNAPPROVED -->

	<form id="mcp_queue" method="post" action="{S_MCP_QUEUE_ACTION}">

	<div class="panel">
		<div class="inner">

		<h3>{L_LATEST_UNAPPROVED}</h3>
		<p>{L_UNAPPROVED_TOTAL}</p>

		<!-- IF .unapproved -->
			<ul class="topiclist missing-column">
				<li class="header">
					<dl>
						<dt><div class="list-inner">{L_VIEW_DETAILS}</div></dt>
						<dd class="moderation"><span>{L_TOPIC} &amp; {L_FORUM}</span></dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist cplist missing-column responsive-show-all">

			<!-- BEGIN unapproved -->
			<li class="row<!-- IF unapproved.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
				<dl>
					<dt>
						<div class="list-inner">
							<a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <br />
							{L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} &raquo; {unapproved.POST_TIME}
						</div>
					</dt>
					<dd class="moderation"><span>
						{L_TOPIC}{L_COLON} <a href="{unapproved.U_TOPIC}">{unapproved.TOPIC_TITLE}</a> [<a href="{unapproved.U_MCP_TOPIC}">{L_MODERATE}</a>]<br />
						{L_FORUM}{L_COLON} <!-- IF unapproved.U_FORUM --><a href="{unapproved.U_FORUM}">{unapproved.FORUM_NAME}</a><!-- ELSE -->{unapproved.FORUM_NAME}<!-- ENDIF --><!-- IF unapproved.U_MCP_FORUM --> [<a href="{unapproved.U_MCP_FORUM}">{L_MODERATE}</a>]<!-- ENDIF --></span>
					</dd>

			 		<dd class="mark"><input type="checkbox" name="post_id_list[]" value="{unapproved.POST_ID}" /></dd>
				</dl>
			</li>
			<!-- END unapproved -->
			</ul>
		<!-- ENDIF -->

		</div>
	{S_FORM_TOKEN}
	</div>

	<!-- IF .unapproved -->
	<fieldset class="display-actions">
		{S_HIDDEN_FIELDS}
		<input class="button2" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" />&nbsp;
		<input class="button1" type="submit" name="action[approve]" value="{L_APPROVE}" />
		<div><a href="#" onclick="marklist('mcp_queue', 'post_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp_queue', 'post_id_list', false); return false;">{L_UNMARK_ALL}</a></div>
	</fieldset>
	<!-- ENDIF -->
		</form>
<!-- ENDIF -->

<!-- EVENT mcp_front_latest_reported_before -->

<!-- IF S_SHOW_REPORTS -->
	<div class="panel">
		<div class="inner">

		<h3>{L_LATEST_REPORTED}</h3>
		<p>{L_REPORTS_TOTAL}</p>

		<!-- IF .report -->
			<ul class="topiclist two-long-columns">
				<li class="header">
					<dl>
						<dt><div class="list-inner">{L_VIEW_DETAILS}</div></dt>
						<dd class="moderation"><span>{L_REPORTER} &amp; {L_FORUM}</span></dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist cplist two-long-columns responsive-show-all">

			<!-- BEGIN report -->
			<li class="row<!-- IF report.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
				<dl>
					<dt>
						<div class="list-inner">
							<a href="{report.U_POST_DETAILS}#reports" class="topictitle">{report.SUBJECT}</a> <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <br />
							<span>{L_POSTED} {L_POST_BY_AUTHOR} {report.AUTHOR_FULL} &raquo; {report.POST_TIME}</span>
						</div>
					</dt>
					<dd class="moderation">
						<span>{L_REPORTED} {L_POST_BY_AUTHOR} {report.REPORTER_FULL} {L_REPORTED_ON_DATE} <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <br />
						{L_FORUM}{L_COLON} <a href="{report.U_FORUM}">{report.FORUM_NAME}</a></span>
					</dd>
				</dl>
			</li>
			<!-- END report -->
			</ul>
		<!-- ENDIF -->

		</div>
	</div>
<!-- ENDIF -->

<!-- EVENT mcp_front_latest_reported_pms_before -->

<!-- IF S_SHOW_PM_REPORTS -->
	<div class="panel">
		<div class="inner">

		<h3>{L_LATEST_REPORTED_PMS}</h3>
		<p>{L_PM_REPORTS_TOTAL}</p>

		<!-- IF .pm_report -->
			<ul class="topiclist two-long-columns">
				<li class="header">
					<dl>
						<dt><div class="list-inner">{L_VIEW_DETAILS}</div></dt>
						<dd class="moderation"><span>{L_REPORTER}</span></dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist cplist two-long-columns responsive-show-all">

			<!-- BEGIN pm_report -->
			<li class="row<!-- IF pm_report.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
				<dl>
					<dt>
						<div class="list-inner">
							<a href="{pm_report.U_PM_DETAILS}" class="topictitle">{pm_report.PM_SUBJECT}</a> <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <br />
							<span>{L_MESSAGE_BY_AUTHOR} {pm_report.PM_AUTHOR_FULL} &raquo; {pm_report.PM_TIME}</span><br />
							<span>{L_MESSAGE_TO} {pm_report.RECIPIENTS}</span>
						</div>
					</dt>
					<dd class="moderation">
						<span>{L_REPORTED} {L_POST_BY_AUTHOR} {pm_report.REPORTER_FULL} {L_REPORTED_ON_DATE} {pm_report.REPORT_TIME}</span>
					</dd>
				</dl>
			</li>
			<!-- END pm_report -->
			</ul>
		<!-- ENDIF -->

		</div>
	</div>
<!-- ENDIF -->

<!-- EVENT mcp_front_latest_logs_before -->

<!-- IF S_SHOW_LOGS -->
	<div class="panel">
		<div class="inner">

		<h3>{L_LATEST_LOGS}</h3>

		<table class="table1">
		<thead>
		<tr>
			<th class="name">{L_ACTION}</th>
			<th class="name">{L_USERNAME}</th>
			<th class="name">{L_IP}</th>
			<th class="name">{L_VIEW_TOPIC}</th>
			<th class="name">{L_VIEW_TOPIC_LOGS}</th>
			<th class="name">{L_TIME}</th>
		</tr>
		</thead>
		<tbody>
	<!-- BEGIN log -->
		<tr class="<!-- IF log.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
			<td>{log.ACTION}</td>
			<td><span>{log.USERNAME}</span></td>
			<td><span>{log.IP}</span></td>
			<td><span><!-- IF log.U_VIEW_TOPIC --><a href="{log.U_VIEW_TOPIC}" title="{L_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- ENDIF -->&nbsp;</span></td>
			<td><span><!-- IF log.U_VIEWLOGS --><a href="{log.U_VIEWLOGS}">{L_VIEW_TOPIC_LOGS}</a><!-- ENDIF -->&nbsp;</span></td>
			<td><span>{log.TIME}</span></td>
		</tr>
	<!-- BEGINELSE -->
		<tr>
			<td colspan="6">{L_NO_ENTRIES}</td>
		</tr>
	<!-- END log -->
		</tbody>
		</table>

		</div>
	</div>
<!-- ENDIF -->

<!-- EVENT mcp_front_latest_logs_after -->

<!-- INCLUDE mcp_footer.html -->