source: trunk/forum/styles/prosilver/template/mcp_post.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 10.9 KB
Line 
1<!-- INCLUDE mcp_header.html -->
2
3<!-- IF S_MCP_REPORT -->
4 <!-- IF S_PM -->
5 <h2>{L_PM_REPORT_DETAILS}</h2>
6 <!-- ELSE -->
7 <h2>{L_REPORT_DETAILS}</h2>
8 <!-- ENDIF -->
9
10 <div id="report" class="panel">
11 <div class="inner"><span class="corners-top"><span></span></span>
12
13 <div class="postbody">
14 <h3>{L_REPORT_REASON}: {REPORT_REASON_TITLE}</h3>
15 <p class="author">{L_REPORTED} {L_POST_BY_AUTHOR} {REPORTER_FULL} &laquo; {REPORT_DATE}</p>
16 <!-- IF not S_POST_REPORTED -->
17 <p class="rules">{L_REPORT_CLOSED}</p>
18 <!-- ENDIF -->
19 <div class="content">
20 <!-- IF REPORT_TEXT -->
21 {REPORT_TEXT}
22 <!-- ELSE -->
23 {REPORT_REASON_DESCRIPTION}
24 <!-- ENDIF -->
25 </div>
26 </div>
27
28 <span class="corners-bottom"><span></span></span></div>
29 </div>
30
31 <form method="post" id="mcp_report" action="{S_CLOSE_ACTION}">
32
33 <fieldset class="submit-buttons">
34 <!-- IF S_POST_REPORTED -->
35 <input class="button1" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /> &nbsp;
36 <!-- ENDIF -->
37 <input class="button2" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" />
38 <input type="hidden" name="report_id_list[]" value="{REPORT_ID}" />
39 {S_FORM_TOKEN}
40 </fieldset>
41 </form>
42
43<!-- ELSE -->
44 <h2>{L_POST_DETAILS}</h2>
45<!-- ENDIF -->
46
47<div class="panel">
48 <div class="inner"><span class="corners-top"><span></span></span>
49
50 <div class="postbody">
51 <!-- IF U_EDIT -->
52 <ul class="profile-icons">
53 <li class="edit-icon"><a href="{U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li>
54 </ul>
55 <!-- ENDIF -->
56
57 <h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3>
58 <!-- IF S_PM -->
59 <p class="author">
60 <strong>{L_SENT_AT}:</strong> {POST_DATE}
61 <br /><strong>{L_PM_FROM}:</strong> {POST_AUTHOR_FULL}
62 <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}:</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF -->&nbsp;<!-- END to_recipient --><!-- ENDIF -->
63 <!-- IF S_BCC_RECIPIENT --><br /><strong>{L_BCC}:</strong> <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF -->&nbsp;<!-- END bcc_recipient --><!-- ENDIF -->
64 </p>
65 <!-- ELSE -->
66 <p class="author">{MINI_POST_IMG} {L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} &raquo; {POST_DATE}</p>
67 <!-- ENDIF -->
68
69 <!-- IF S_POST_UNAPPROVED -->
70 <form method="post" id="mcp_approve" action="{U_APPROVE_ACTION}">
71
72 <p class="rules">
73 <input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" /> &nbsp;
74 <input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" />
75 <input type="hidden" name="post_id_list[]" value="{POST_ID}" />
76 {S_FORM_TOKEN}
77 </p>
78 </form>
79 <!-- ENDIF -->
80
81 <!-- IF S_MESSAGE_REPORTED -->
82 <p class="rules">
83 {REPORTED_IMG} <a href="{U_MCP_REPORT}"><strong>{L_MESSAGE_REPORTED}</strong></a>
84 </p>
85 <!-- ENDIF -->
86
87 <div class="content">
88 {POST_PREVIEW}
89 </div>
90
91 <!-- IF S_HAS_ATTACHMENTS -->
92 <dl class="attachbox">
93 <dt>{L_ATTACHMENTS}</dt>
94 <!-- BEGIN attachment -->
95 <dd>{attachment.DISPLAY_ATTACHMENT}</dd>
96 <!-- END attachment -->
97 </dl>
98 <!-- ENDIF -->
99
100 <!-- IF SIGNATURE -->
101 <div id="sig{POST_ID}" class="signature">{SIGNATURE}</div>
102 <!-- ENDIF -->
103
104 <!-- IF S_MCP_REPORT and S_CAN_VIEWIP -->
105 <hr />
106 <div><!-- IF S_PM -->{L_THIS_PM_IP}<!-- ELSE -->{L_THIS_POST_IP}<!-- ENDIF -->: <!-- IF U_WHOIS -->
107 <a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->)
108 <!-- ELSE -->
109 <!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF -->
110 <!-- ENDIF --></div>
111 <!-- ENDIF -->
112
113 </div>
114
115 <span class="corners-bottom"><span></span></span></div>
116</div>
117
118<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER -->
119 <div class="panel">
120 <div class="inner"><span class="corners-top"><span></span></span>
121
122 <h3>{L_MOD_OPTIONS}</h3>
123 <!-- IF S_CAN_CHGPOSTER -->
124 <form method="post" id="mcp_chgposter" action="{U_POST_ACTION}">
125
126 <fieldset>
127 <dl>
128 <dt><label>{L_CHANGE_POSTER}:</label></dt>
129 <!-- IF S_USER_SELECT --><dd><select name="u">{S_USER_SELECT}</select> <input type="submit" class="button2" name="action[chgposter_ip]" value="{L_CONFIRM}" /></dd><!-- ENDIF -->
130 <dd style="margin-top:3px;">
131 <input class="inputbox autowidth" type="text" name="username" value="" />
132 <input type="submit" class="button2" name="action[chgposter]" value="{L_CONFIRM}" />
133 <br />
134 <span>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span>
135 </dd>
136 </dl>
137 {S_FORM_TOKEN}
138 </fieldset>
139 </form>
140 <!-- ENDIF -->
141
142 <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST -->
143 <form method="post" id="mcp" action="{U_MCP_ACTION}">
144
145 <fieldset>
146 <dl>
147 <dt><label>{L_MOD_OPTIONS}:</label></dt>
148 <dd><select name="action">
149 <!-- IF S_CAN_LOCK_POST --><!-- IF S_POST_LOCKED --><option value="unlock_post">{L_UNLOCK_POST} [{L_UNLOCK_POST_EXPLAIN}]</option><!-- ELSE --><option value="lock_post">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</option><!-- ENDIF --><!-- ENDIF -->
150 <!-- IF S_CAN_DELETE_POST --><option value="delete_post">{L_DELETE_POST}</option><!-- ENDIF -->
151 </select> <input class="button2" type="submit" value="{L_SUBMIT}" />
152 </dd>
153 </dl>
154 {S_FORM_TOKEN}
155 </fieldset>
156 </form>
157 <!-- ENDIF -->
158
159 <span class="corners-bottom"><span></span></span></div>
160 </div>
161<!-- ENDIF -->
162
163
164<!-- IF S_MCP_QUEUE or S_MCP_REPORT or RETURN_TOPIC -->
165 <div class="panel">
166 <div class="inner"><span class="corners-top"><span></span></span>
167
168 <p><!-- IF S_MCP_QUEUE -->{RETURN_QUEUE} | {RETURN_TOPIC_SIMPLE} | {RETURN_POST}<!-- ELSEIF S_MCP_REPORT -->{RETURN_REPORTS}<!-- IF not S_PM --> | <a href="{U_VIEW_POST}">{L_VIEW_POST}</a> | <a href="{U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a> | <a href="{U_VIEW_FORUM}">{L_VIEW_FORUM}</a><!-- ENDIF --><!-- ELSE -->{RETURN_TOPIC}<!-- ENDIF --></p>
169
170 <span class="corners-bottom"><span></span></span></div>
171 </div>
172<!-- ENDIF -->
173
174<!-- IF S_MCP_QUEUE -->
175<!-- ELSE -->
176
177 <!-- IF S_SHOW_USER_NOTES -->
178 <div class="panel" id="usernotes">
179 <div class="inner"><span class="corners-top"><span></span></span>
180
181 <form method="post" id="mcp_notes" action="{U_POST_ACTION}">
182
183 <!-- IF S_USER_NOTES -->
184 <h3>{L_FEEDBACK}</h3>
185
186 <!-- BEGIN usernotes -->
187 <span class="small"><strong>{L_REPORTED_BY}: {usernotes.REPORT_BY} &laquo; {usernotes.REPORT_AT}</strong></span>
188 <!-- IF S_CLEAR_ALLOWED --><div class="right-box"><input type="checkbox" name="marknote[]" value="{usernotes.ID}" /></div><!-- ENDIF -->
189 <div class="postbody">{usernotes.ACTION}</div>
190
191 <hr class="dashed" />
192 <!-- END usernotes -->
193
194 <!-- IF S_CLEAR_ALLOWED -->
195 <fieldset class="submit-buttons">
196 <input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" />&nbsp;
197 <input class="button2" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" />
198 </fieldset>
199 <!-- ENDIF -->
200 <!-- ENDIF -->
201
202 <h3>{L_ADD_FEEDBACK}</h3>
203 <p>{L_ADD_FEEDBACK_EXPLAIN}</p>
204
205 <fieldset>
206 <textarea name="usernote" rows="4" cols="76" class="inputbox"></textarea>
207 </fieldset>
208
209 <fieldset class="submit-buttons">
210 <input class="button1" type="submit" name="action[add_feedback]" value="{L_SUBMIT}" />&nbsp;
211 <input class="button2" type="reset" value="{L_RESET}" />
212 {S_FORM_TOKEN}
213 </fieldset>
214 </form>
215
216 <span class="corners-bottom"><span></span></span></div>
217 </div>
218 <!-- ENDIF -->
219
220 <!-- IF S_SHOW_REPORTS -->
221 <div class="panel" id="reports">
222 <div class="inner"><span class="corners-top"><span></span></span>
223
224 <h3>{L_MCP_POST_REPORTS}</h3>
225
226 <!-- BEGIN reports -->
227 <span class="small"><strong>{L_REPORTED_BY}: <!-- IF reports.U_REPORTER --><a href="{reports.U_REPORTER}">{reports.REPORTER}</a><!-- ELSE -->{reports.REPORTER}<!-- ENDIF --> &laquo; {reports.REPORT_TIME}</strong></span>
228 <p><em>{reports.REASON_TITLE}: {reports.REASON_DESC}</em><!-- IF reports.REPORT_TEXT --><br />{reports.REPORT_TEXT}<!-- ENDIF --></p>
229 <!-- END reports -->
230
231 <span class="corners-bottom"><span></span></span></div>
232 </div>
233 <!-- ENDIF -->
234
235 <!-- IF S_CAN_VIEWIP and not S_MCP_REPORT -->
236 <div class="panel" id="ip">
237 <div class="inner"><span class="corners-top"><span></span></span>
238
239 <p>{L_THIS_POST_IP}: <!-- IF U_WHOIS -->
240 <a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->)
241 <!-- ELSE -->
242 <!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF -->
243 <!-- ENDIF --></p>
244
245 <table class="table1" cellspacing="1">
246 <thead>
247 <tr>
248 <th class="name">{L_OTHER_USERS}</th>
249 <th class="posts">{L_POSTS}</th>
250 </tr>
251 </thead>
252 <tbody>
253 <!-- BEGIN userrow -->
254 <tr class="<!-- IF userrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
255 <td><!-- IF userrow.U_PROFILE --><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a><!-- ELSE -->{userrow.USERNAME}<!-- ENDIF --></td>
256 <td class="posts"><a href="{userrow.U_SEARCHPOSTS}" title="{L_SEARCH_POSTS_BY} {userrow.USERNAME}">{userrow.NUM_POSTS}</a></td>
257 </tr>
258 <!-- BEGINELSE -->
259 <tr>
260 <td colspan="2">{L_NO_MATCHES_FOUND}</td>
261 </tr>
262 <!-- END userrow -->
263 </tbody>
264 </table>
265
266 <table class="table1" cellspacing="1">
267 <thead>
268 <tr>
269 <th class="name">{L_IPS_POSTED_FROM}</th>
270 <th class="posts">{L_POSTS}</th>
271 </tr>
272 </thead>
273 <tbody>
274 <!-- BEGIN iprow -->
275 <tr class="<!-- IF iprow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
276 <td><!-- IF iprow.HOSTNAME --><a href="{iprow.U_WHOIS}">{iprow.HOSTNAME}</a> ({iprow.IP})<!-- ELSE --><a href="{iprow.U_WHOIS}">{iprow.IP}</a> (<a href="{iprow.U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --></td>
277 <td class="posts">{iprow.NUM_POSTS}</td>
278 </tr>
279 <!-- BEGINELSE -->
280 <tr>
281 <td colspan="2">{L_NO_MATCHES_FOUND}</td>
282 </tr>
283 <!-- END iprow -->
284 </tbody>
285 </table>
286
287 <p><a href="{U_LOOKUP_ALL}#ip">{L_LOOKUP_ALL}</a></p>
288
289 <span class="corners-bottom"><span></span></span></div>
290 </div>
291 <!-- ENDIF -->
292
293<!-- ENDIF -->
294
295<!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF -->
296
297<!-- INCLUDE mcp_footer.html -->
Note: See TracBrowser for help on using the repository browser.