-58 Removals
+79 Additions

Created by:phpboost

1 # INCLUDE forum_top # 1 # INCLUDE forum_top #
2 2
3 <article itemscope="itemscope" itemtype="http://schema.org/Creativework" id="article-forum-moderation-panel"> 3 <article itemscope="itemscope" itemtype="http://schema.org/Creativework" id="article-forum-moderation-panel" class="forum-contents">
4 <header> 4 <header>
5 <h2> 5 <h2>
6 &bull; <a href="index.php" title="{FORUM_NAME}">{FORUM_NAME}</a> &raquo; <a href="moderation_forum.php" title="{L_MODERATION_FORUM}">{L_MODERATION_FORUM}</a> {U_MODERATION_FORUM_ACTION} 6 <a href="index.php" title="{FORUM_NAME}">{FORUM_NAME}</a> <i class="fa fa-angle-double-right" aria-hidden="true"></i>
7 <a href="moderation_forum.php" title="{L_MODERATION_FORUM}">{L_MODERATION_FORUM}</a># IF NOT C_HOME # <i class="fa fa-angle-double-right" aria-hidden="true"></i>
8 <a href="{U_MODERATION_FORUM_ACTION}">{L_ALERT}</a># ENDIF #
7 </h2> 9 </h2>
8 </header> 10 </header>
9 <div class="content"> 11 <div class="content">
10 <table id="table"> 12 <table>
11 <tbody> 13 <tbody>
12 <tr> 14 <tr>
13 <td class="td33P"> 15 <td class="td33P">
14 <a href="moderation_forum.php?action=warning" title="{L_USERS_WARNING}"> 16 <a href="moderation_forum.php?action=warning" title="{L_USERS_WARNING}" class="moderation-type-block">
15 <i class="fa fa-warning fa-2x"></i> 17 <i class="fa fa-warning fa-2x" aria-hidden="true"></i>
16 <span class="forum-display-block">{L_USERS_WARNING}</span> 18 <span>{L_USERS_WARNING}</span>
17 </a> 19 </a>
18 </td> 20 </td>
19 <td class="td33P"> 21 <td class="td33P">
20 <a href="moderation_forum.php?action=punish" title="{L_USERS_PUNISHMENT}"> 22 <a href="moderation_forum.php?action=punish" title="{L_USERS_PUNISHMENT}" class="moderation-type-block">
21 <i class="fa fa-error fa-2x"></i> 23 <i class="fa fa-error fa-2x" aria-hidden="true"></i>
22 <span class="forum-display-block">{L_USERS_PUNISHMENT}</span> 24 <span>{L_USERS_PUNISHMENT}</span>
23 </a> 25 </a>
24 </td> 26 </td>
25 <td class="td33P"> 27 <td class="td33P">
26 <a href="moderation_forum.php?action=alert" title="{L_ALERT_MANAGEMENT}"> 28 <a href="moderation_forum.php?action=alert" title="{L_ALERT_MANAGEMENT}" class="moderation-type-block">
27 <i class="fa fa-forbidden fa-2x"></i> 29 <i class="fa fa-forbidden fa-2x" aria-hidden="true"></i>
28 <span class="forum-display-block">{L_ALERT_MANAGEMENT}</span> 30 <span>{L_ALERT_MANAGEMENT}</span>
29 </a> 31 </a>
30 </td> 32 </td>
31 </tr> 33 </tr>
32 </tbody> 34 </tbody>
33 </table> 35 </table>
34 <br /><br />
35 36
36 37
37 # IF C_FORUM_MODO_MAIN # 38 # IF C_FORUM_MODO_MAIN #
38 <script> 39 <script>
39 <!-- 40 <!--
40 41
41 function Confirm_history() 42 function Confirm_history()
42 { 43 {
43 return confirm("{L_DEL_HISTORY}"); 44 return confirm("{L_DEL_HISTORY}");
44 } 45 }
45 --> 46 -->
46 </script> 47 </script>
47 <form action="moderation_forum{U_ACTION_HISTORY}" method="post" onsubmit="javascript:return Confirm_history();"> 48 <form action="moderation_forum{U_ACTION_HISTORY}" method="post" onsubmit="javascript:return Confirm_history();">
48 <table id="table2"> 49 <table id="table2">
49 <caption> 50 <caption>
50 {L_HISTORY} 51 {L_HISTORY}
51 </caption> 52 </caption>
52 <thead> 53 <thead>
53 <tr> 54 <tr>
54 <th> 55 <th>
55 {L_MODO} 56 {L_MODO}
56 </th> 57 </th>
57 <th> 58 <th>
58 {L_ACTION} 59 {L_ACTION}
59 </th> 60 </th>
60 <th> 61 <th>
61 {L_USER_CONCERN} 62 {L_USER_CONCERN}
62 </th> 63 </th>
63 <th class="forum-last-topic"> 64 <th class="forum-last-topic">
64 {L_DATE} 65 {L_DATE}
65 </th> 66 </th>
66 </tr> 67 </tr>
67 </thead> 68 </thead>
68 <tfoot>
69 <tr>
70 <td colspan="4">
71 # IF C_FORUM_ADMIN #
72 <span class="float-left"><button type="submit" name="valid" value="true" class="submit">{L_DELETE}</button></span>
73 # ENDIF #
74 # IF C_DISPLAY_LINK_MORE_ACTION #
75 <a href="moderation_forum{U_MORE_ACTION}" title="{L_MORE_ACTION}">{L_MORE_ACTION}</a>
76 # ENDIF #
77 </td>
78 </tr>
79 </tfoot>
80 <tbody> 69 <tbody>
81 # START action_list # 70 # START action_list #
82 <tr> 71 <tr>
83 <td class="forum-last-topic"> 72 <td class="forum-last-topic">
84 <a href="{action_list.U_USER_PROFILE}" class="{action_list.LEVEL_CLASS}" # IF action_list.C_GROUP_COLOR # style="color:{action_list.GROUP_COLOR}" # ENDIF # title="{action_list.LOGIN}">{action_list.LOGIN}</a> 73 <a href="{action_list.U_USER_PROFILE}" class="{action_list.LEVEL_CLASS}" # IF action_list.C_GROUP_COLOR # style="color: {action_list.GROUP_COLOR};"# ENDIF # title="{action_list.LOGIN}">{action_list.LOGIN}</a>
85 </td> 74 </td>
86 <td> 75 <td>
87 {action_list.U_ACTION} 76 # IF action_list.C_ACTION #
77 <a href="{action_list.U_ACTION}">{action_list.L_ACTION}</a>
78 # ELSE #
79 {action_list.L_ACTION}
80 # ENDIF #
88 </td> 81 </td>
89 <td class="forum-last-topic"> 82 <td class="forum-last-topic">
90 {action_list.U_USER_CONCERN} 83 # IF action_list.C_USER_CONCERN #
84 <a href="{action_list.U_USER_CONCERN" class="{action_list.USER_CONCERN_CSSCLASS}"# IF action_list.C_USER_CONCERN_GROUP_COLOR # style="color: {action_list.USER_CONCERN_GROUP_COLOR};"# ENDIF #>{action_list.USER_LOGIN}</a>
85 # ELSE #
86 -
87 # ENDIF #
91 </td> 88 </td>
92 <td class="forum-last-topic"> 89 <td class="forum-last-topic">
93 {action_list.DATE} 90 {action_list.DATE_FULL}
94 </td> 91 </td>
95 </tr> 92 </tr>
96 # END action_list # 93 # END action_list #
97 # IF C_FORUM_NO_ACTION # 94 # IF C_FORUM_NO_ACTION #
98 <tr> 95 <tr>
99 <td colspan="4"> 96 <td colspan="4">
100 {L_NO_ACTION} 97 {L_NO_ACTION}
101 </td> 98 </td>
102 </tr> 99 </tr>
103 # ENDIF # 100 # ENDIF #
104 </tbody> 101 </tbody>
102 <tfoot>
103 <tr>
104 <td colspan="4">
105 # IF C_FORUM_ADMIN #
106 <span class="float-left"><button type="submit" name="valid" value="true" class="submit">{L_DELETE}</button></span>
107 # ENDIF #
108 # IF C_DISPLAY_LINK_MORE_ACTION #
109 <a href="moderation_forum{U_MORE_ACTION}" title="{L_MORE_ACTION}">{L_MORE_ACTION}</a>
110 # ENDIF #
111 </td>
112 </tr>
113 </tfoot>
105 </table> 114 </table>
106 <input type="hidden" name="token" value="{TOKEN}"> 115 <input type="hidden" name="token" value="{TOKEN}">
107 </form> 116 </form>
108 # ENDIF # 117 # ENDIF #
109 118
110 119
111 # IF C_FORUM_ALERTS # 120 # IF C_FORUM_ALERTS #
112 <script> 121 <script>
113 <!-- 122 <!--
114 function check_alert(status) 123 function check_alert(status)
115 { 124 {
116 for (i = 0; i < document.alert.length; i++) 125 for (i = 0; i < document.alert.length; i++)
117 document.alert.elements[i].checked = status; 126 document.alert.elements[i].checked = status;
118 } 127 }
119 --> 128 -->
120 </script> 129 </script>
121 130
122 <form name="alert" action="moderation_forum{U_ACTION_ALERT}" method="post" onsubmit="javascript:return Confirm_alert();"> 131 <form name="alert" action="moderation_forum{U_ACTION_ALERT}" method="post" onsubmit="javascript:return Confirm_alert();">
123 <table id="table2"> 132 <table id="table2">
124 <thead> 133 <thead>
125 <tr> 134 <tr>
126 <th class="td25"><input type="checkbox" onclick="if(this.checked) {check_alert(true)} else {check_alert(false)};"></th> 135 <th class="td25"><input type="checkbox" onclick="if(this.checked) {check_alert(true)} else {check_alert(false)};"></th>
127 <th class="td20P">{L_TITLE}</th> 136 <th class="td20P">{L_TITLE}</th>
128 <th class="td20P">{L_TOPIC}</th> 137 <th class="td20P">{L_TOPIC}</th>
129 <th class="td100">{L_STATUS}</th> 138 <th class="td100">{L_STATUS}</th>
130 <th class="td70">{L_LOGIN}</th> 139 <th class="td70">{L_LOGIN}</th>
131 <th class="td70">{L_TIME}</th> 140 <th class="td70">{L_TIME}</th>
132 </tr> 141 </tr>
133 </thead> 142 </thead>
134 <tfoot>
135 <tr>
136 <td colspan="6">
137 <button type="submit" name="" value="true" class="submit">{L_DELETE}</button>
138 </td>
139 </tr>
140 </tfoot>
141 <tbody> 143 <tbody>
142 # START alert_list # 144 # START alert_list #
143 <tr> 145 <tr>
144 <td class="td25"> 146 <td class="td25">
145 <input type="checkbox" name="a{alert_list.ID}"> 147 <input type="checkbox" name="a{alert_list.ID}">
146 </td> 148 </td>
147 <td class="td20P"> 149 <td class="td20P">
148 {alert_list.TITLE} {alert_list.EDIT} 150 <a href="{alert_list.U_TITLE}">{alert_list.TITLE}</a> <a href="{alert_list.U_TITLE}"><i class="fa fa-edit"></i></a>
149 </td> 151 </td>
150 <td class="td20P"> 152 <td class="td20P">
151 {alert_list.TOPIC} 153 <a href="{alert_list.U_TOPIC}">{alert_list.TOPIC}</a>
152 </td> 154 </td>
153 <td class="td100" style="{alert_list.BACKGROUND_COLOR}"> 155 <td class="td100 {alert_list.BACKGROUND_COLOR}">
154 {alert_list.STATUS} 156 # IF alert_list.C_STATUS #
157 {L_ALERT_SOLVED}<a href="{alert_list.U_IDMODO_REL}" class="{alert_list.MODO_CSSCLASS}" # IF alert_list.C_MODO_GROUP_COLOR # style="color: {alert_list.MODO_GROUP_COLOR};"# ENDIF #>{alert_list.LOGIN_MODO}</a>
158 # ELSE #
159 {L_ALERT_NOTSOLVED}
160 # ENDIF #
155 </td> 161 </td>
156 <td class="td70"> 162 <td class="td70">
157 {alert_list.LOGIN} 163 <a href="{alert_list.USER_ID}" class="{alert_list.USER_CSSCLASS}"# IF alert_list.C_USER_GROUP_COLOR # style="color:{alert_list.USER_GROUP_COLOR};"# ENDIF #>{alert_list.LOGIN_USER}</a>
158 </td> 164 </td>
159 <td class="td70"> 165 <td class="td70">
160 {alert_list.TIME} 166 {alert_list.TIME_FULL}
161 </td> 167 </td>
162 </tr> 168 </tr>
163 # END alert_list # 169 # END alert_list #
164 170
165 # IF C_FORUM_NO_ALERT # 171 # IF C_FORUM_NO_ALERT #
166 <tr> 172 <tr>
167 <td colspan="6"> 173 <td colspan="6">
168 {L_NO_ALERT} 174 {L_NO_ALERT}
169 </td> 175 </td>
170 </tr> 176 </tr>
171 # ENDIF # 177 # ENDIF #
172 </tbody> 178 </tbody>
179 <tfoot>
180 <tr>
181 <td colspan="6">
182 <button type="submit" name="" value="true" class="submit">{L_DELETE}</button>
183 </td>
184 </tr>
185 </tfoot>
173 </table> 186 </table>
174 <input type="hidden" name="token" value="{TOKEN}"> 187 <input type="hidden" name="token" value="{TOKEN}">
175 </form> 188 </form>
176 # ENDIF # 189 # ENDIF #
177 190
178 191
179 # IF C_FORUM_ALERT_LIST # 192 # IF C_FORUM_ALERT_LIST #
180 <table id="table2"> 193 <table id="table2">
181 <thead> 194 <thead>
182 <tr> 195 <tr>
183 <th colspan="2"> 196 <th colspan="2">
184 {TOPIC} 197 {TOPIC}
185 </th> 198 </th>
186 </tr> 199 </tr>
187 </thead> 200 </thead>
188 <tbody> 201 <tbody>
189 <tr> 202 <tr>
190 <td class="td25P">{L_TITLE}</td> 203 <td class="td25P">{L_TITLE}</td>
191 <td>{TITLE}</td> 204 <td>{TITLE}</td>
192 </tr> 205 </tr>
193 <tr> 206 <tr>
194 <td>{L_TOPIC}</td> 207 <td>{L_TOPIC}</td>
195 <td>{TOPIC}</td> 208 <td><a href="{U_TOPIC}">{TOPIC}</a></td>
196 </tr> 209 </tr>
197 <tr> 210 <tr>
198 <td>{L_CAT}</td> 211 <td>{L_CAT}</td>
199 <td>{CAT}</td> 212 <td><a href="{U_CAT}">{CAT_NAME}</a></td>
200 </tr> 213 </tr>
201 <tr> 214 <tr>
202 <td>{L_CONTENTS}</td> 215 <td>{L_CONTENTS}</td>
203 <td>{CONTENTS}</td> 216 <td>{CONTENTS}</td>
204 </tr> 217 </tr>
205 <tr> 218 <tr>
206 <td>{L_STATUS}</td> 219 <td>{L_STATUS}</td>
207 <td>{STATUS}</td> 220 <td>
221 # IF C_STATUS #
222 {L_ALERT_SOLVED}<a href="{U_IDMODO_REL}" class="{MODO_CSSCLASS}" # IF C_MODO_GROUP_COLOR # style="color: {MODO_GROUP_COLOR};"# ENDIF #>{LOGIN_MODO}</a>
223 # ELSE #
224 {L_ALERT_NOTSOLVED}
225 # ENDIF #
226 </td>
208 </tr> 227 </tr>
209 <tr> 228 <tr>
210 <td>{L_LOGIN}</td> 229 <td>{L_LOGIN}</td>
211 <td>{LOGIN}</td> 230 <td>
231 <a href="{USER_ID}" class="{USER_CSSCLASS}"# IF C_USER_GROUP_COLOR # style="color: {USER_GROUP_COLOR};"# ENDIF #>{LOGIN_USER}</a>
232 </td>
212 </tr> 233 </tr>
213 <tr> 234 <tr>
214 <td>{L_TIME}</td> 235 <td>{L_TIME}</td>
215 <td>{TIME}</td> 236 <td>{TIME_FULL}</td>
216 </tr> 237 </tr>
217 </tbody> 238 </tbody>
218 </table> 239 </table>
219 240
220 <form action="{U_CHANGE_STATUS}" method="post"> 241 <form action="{U_CHANGE_STATUS}" method="post">
221 <fieldset class="fieldset-submit"> 242 <fieldset class="fieldset-submit">
222 <legend></legend> 243 <legend></legend>
223 <button type="submit" name="valid" value="true" class="submit">{L_CHANGE_STATUS}</button> 244 <button type="submit" name="valid" value="true" class="submit">{L_CHANGE_STATUS}</button>
224 <input type="hidden" name="token" value="{TOKEN}"> 245 <input type="hidden" name="token" value="{TOKEN}">
225 </fieldset> 246 </fieldset>
226 </form> 247 </form>
227 # ENDIF # 248 # ENDIF #
228 249
229 # IF C_FORUM_ALERT_NOT_AUTH # 250 # IF C_FORUM_ALERT_NOT_AUTH #
230 <table> 251 <table>
231 <thead> 252 <thead>
232 <tr> 253 <tr>
233 <th colspan="2"> 254 <th colspan="2">
234 {L_MODERATION_FORUM} : {L_ALERT_MANAGEMENT} 255 {L_MODERATION_FORUM} : {L_ALERT_MANAGEMENT}
235 </th> 256 </th>
236 </tr> 257 </tr>
237 </thead> 258 </thead>
238 <tbody> 259 <tbody>
239 <tr> 260 <tr>
240 <td colspan="2"> 261 <td colspan="2">
241 {L_NO_ALERT} 262 {L_NO_ALERT}
242 </td> 263 </td>
243 </tr> 264 </tr>
244 </tbody> 265 </tbody>
245 </table> 266 </table>
246 # ENDIF # 267 # ENDIF #
247 268
248 269
249 270
250 # IF C_FORUM_USER_LIST # 271 # IF C_FORUM_USER_LIST #
251 <script> 272 <script>
252 <!-- 273 <!--
253 function XMLHttpRequest_search() 274 function XMLHttpRequest_search()
254 { 275 {
255 var login = document.getElementById('login').value; 276 var login = document.getElementById('login').value;
256 if( login != '' ) 277 if( login != '' )
257 { 278 {
258 if( document.getElementById('search_img') ) 279 if( document.getElementById('search_img') )
259 document.getElementById('search_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; 280 document.getElementById('search_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
260 data = 'login=' + login; 281 data = 'login=' + login;
261 var xhr_object = xmlhttprequest_init('xmlhttprequest.php?token={TOKEN}&{U_XMLHTTPREQUEST}=1'); 282 var xhr_object = xmlhttprequest_init('xmlhttprequest.php?token={TOKEN}&{U_XMLHTTPREQUEST}=1');
262 xhr_object.onreadystatechange = function() 283 xhr_object.onreadystatechange = function()
263 { 284 {
264 if( xhr_object.readyState == 4 && xhr_object.status == 200 ) 285 if( xhr_object.readyState == 4 && xhr_object.status == 200 )
265 { 286 {
266 document.getElementById('xmlhttprequest-result-search').innerHTML = xhr_object.responseText; 287 document.getElementById('xmlhttprequest-result-search').innerHTML = xhr_object.responseText;
267 hide_div('xmlhttprequest-result-search'); 288 hide_div('xmlhttprequest-result-search');
268 if( document.getElementById('search_img') ) 289 if( document.getElementById('search_img') )
269 document.getElementById('search_img').innerHTML = ''; 290 document.getElementById('search_img').innerHTML = '';
270 } 291 }
271 else if( xhr_object.readyState == 4 ) 292 else if( xhr_object.readyState == 4 )
272 { 293 {
273 if( document.getElementById('search_img') ) 294 if( document.getElementById('search_img') )
274 document.getElementById('search_img').innerHTML = ''; 295 document.getElementById('search_img').innerHTML = '';
275 } 296 }
276 } 297 }
277 xmlhttprequest_sender(xhr_object, data); 298 xmlhttprequest_sender(xhr_object, data);
278 } 299 }
279 else 300 else
280 alert("{L_REQUIRE_LOGIN}"); 301 alert("{L_REQUIRE_LOGIN}");
281 } 302 }
282 303
283 function hide_div(divID) 304 function hide_div(divID)
284 { 305 {
285 if( document.getElementById(divID) ) 306 if( document.getElementById(divID) )
286 document.getElementById(divID).style.display = 'block'; 307 document.getElementById(divID).style.display = 'block';
287 } 308 }
288 --> 309 -->
289 </script> 310 </script>
290 311
291 <form action="moderation_forum{U_ACTION}" method="post"> 312 <form action="moderation_forum{U_ACTION}" method="post">
292 <table> 313 <table>
293 <tr> 314 <tr>
294 <td> 315 <td>
295 <span> 316 <span>
296 {L_SEARCH_USER}: <input type="text" maxlength="25" id="login" name="login"> 317 {L_SEARCH_USER}: <input type="text" maxlength="25" id="login" name="login">
297 <span id="search_img"></span> 318 <span id="search_img"></span>
298 </span> 319 </span>
299 <span> 320 <span>
300 <button type="submit" id="search_member" name="search_member" class="submit">{L_SEARCH}</button> 321 <button type="submit" id="search_member" name="search_member" class="submit">{L_SEARCH}</button>
301 <script> 322 <script>
302 <!-- 323 <!--
303 document.getElementById('search_member').style.display = 'none'; 324 document.getElementById('search_member').style.display = 'none';
304 document.write('<button onclick="XMLHttpRequest_search();" type="button">{L_SEARCH}</button>'); 325 document.write('<button onclick="XMLHttpRequest_search();" type="button">{L_SEARCH}</button>');
305 --> 326 -->
306 </script> 327 </script>
307 <div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div> 328 <div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div>
308 </span> 329 </span>
309 </td> 330 </td>
310 </tr> 331 </tr>
311 </table> 332 </table>
312 333
313 <table id="table2"> 334 <table id="table2">
314 <thead> 335 <thead>
315 <tr> 336 <tr>
316 <th class="td25P">{L_LOGIN}</th> 337 <th class="td25P">{L_LOGIN}</th>
317 <th class="td25P">{L_INFO}</th> 338 <th class="td25P">{L_INFO}</th>
318 <th class="td25P">{L_ACTION_USER}</th> 339 <th class="td25P">{L_ACTION_USER}</th>
319 <th class="td25P">{L_PM}</th> 340 <th class="td25P">{L_PM}</th>
320 </tr> 341 </tr>
321 </thead> 342 </thead>
322 <tbody> 343 <tbody>
323 # START user_list # 344 # START user_list #
324 <tr> 345 <tr>
325 <td class="td25P"> 346 <td class="td25P">
326 <a href="{user_list.U_PROFILE}" class="{user_list.LEVEL_CLASS}" # IF user_list.C_GROUP_COLOR # style="color:{user_list.GROUP_COLOR}" # ENDIF # title="{user_list.LOGIN}">{user_list.LOGIN}</a> 347 <a href="{user_list.U_PROFILE}" class="{user_list.LEVEL_CLASS}" # IF user_list.C_GROUP_COLOR # style="color: {user_list.GROUP_COLOR};"# ENDIF # title="{user_list.LOGIN}">{user_list.LOGIN}</a>
327 </td> 348 </td>
328 <td class="td25P"> 349 <td class="td25P">
329 {user_list.INFO} 350 {user_list.INFO_FULL}
330 </td> 351 </td>
331 <td class="td25P"> 352 <td class="td25P">
332 {user_list.U_ACTION_USER} 353 <a href="{user_list.U_ACTION_USER}"><i class="fa fa-lock"></i></a>
333 </td> 354 </td>
334 <td class="td25P"> 355 <td class="td25P">
335 <a href="{user_list.U_PM}" class="basic-button smaller" title="MP">MP</a> 356 <a href="{user_list.U_PM}" class="basic-button smaller" title="MP">MP</a>
336 </td> 357 </td>
337 </tr> 358 </tr>
338 # END user_list # 359 # END user_list #
339 360
340 # IF C_FORUM_NO_USER # 361 # IF C_FORUM_NO_USER #
341 <tr> 362 <tr>
342 <td colspan="4"> 363 <td colspan="4">
343 {L_NO_USER} 364 {L_NO_USER}
344 </td> 365 </td>
345 </tr> 366 </tr>
346 # ENDIF # 367 # ENDIF #
347 </tbody> 368 </tbody>
348 </table> 369 </table>
349 <input type="hidden" name="token" value="{TOKEN}"> 370 <input type="hidden" name="token" value="{TOKEN}">
350 </form> 371 </form>
351 # ENDIF # 372 # ENDIF #
352 373
353 374
354 # IF C_FORUM_USER_INFO # 375 # IF C_FORUM_USER_INFO #
355 <script> 376 <script>
356 <!-- 377 <!--
357 function change_textarea_level(replace_value, regex) 378 function change_textarea_level(replace_value, regex)
358 { 379 {
359 var contents = document.getElementById('action_contents').value; 380 var contents = document.getElementById('action_contents').value;
360 {REPLACE_VALUE} 381 {REPLACE_VALUE}
361 document.getElementById('action_contents').value = contents; 382 document.getElementById('action_contents').value = contents;
362 383
363 # IF C_TINYMCE_EDITOR # setTinyMceContent(contents); # ENDIF # 384 # IF C_TINYMCE_EDITOR # setTinyMceContent(contents); # ENDIF #
364 } 385 }
365 --> 386 -->
366 </script> 387 </script>
367 <form action="moderation_forum{U_ACTION_INFO}" method="post"> 388 <form action="moderation_forum{U_ACTION_INFO}" method="post">
368 <table id="table2"> 389 <table id="table2">
369 <thead> 390 <thead>
370 <tr> 391 <tr>
371 <th> 392 <th>
372 ${LangLoader::get_message('description', 'main')} 393 ${LangLoader::get_message('description', 'main')}
373 </th> 394 </th>
374 <th> 395 <th>
375 ${LangLoader::get_message('display_name', 'user-common')} 396 ${LangLoader::get_message('display_name', 'user-common')}
376 </th> 397 </th>
377 </tr> 398 </tr>
378 </thead> 399 </thead>
379 <tbody> 400 <tbody>
380 <tr> 401 <tr>
381 <td class="td33P"> 402 <td class="td33P">
382 {L_LOGIN} 403 {L_LOGIN}
383 </td> 404 </td>
384 <td> 405 <td>
385 {LOGIN} 406 <a href="{USER_ID}" class="{USER_CSSCLASS}"# IF C_USER_GROUP_COLOR # style="color: {USER_GROUP_COLOR};"# ENDIF #>{LOGIN_USER}</a>
386 </td> 407 </td>
387 </tr> 408 </tr>
388 <tr> 409 <tr>
389 <td class="td33P"> 410 <td class="td33P">
390 {L_PM} 411 {L_PM}
391 </td> 412 </td>
392 <td> 413 <td>
393 <a href="{U_PM}" class="basic-button smaller" title="MP">MP</a> 414 <a href="{U_PM}" class="basic-button smaller" title="MP">MP</a>
394 </td> 415 </td>
395 </tr> 416 </tr>
396 <tr> 417 <tr>
397 <td class="td33P"> 418 <td class="td33P">
398 <div class="question">{L_ALTERNATIVE_PM}</div> 419 <div class="message-helper question">{L_ALTERNATIVE_PM}</div>
399 </td> 420 </td>
400 <td> 421 <td>
401 {KERNEL_EDITOR} 422 {KERNEL_EDITOR}
402 <textarea class="forum-textarea" name="action_contents" id="action_contents">{ALTERNATIVE_PM}</textarea> 423 <textarea class="forum-textarea" name="action_contents" id="action_contents">{ALTERNATIVE_PM}</textarea>
403 </td> 424 </td>
404 </tr> 425 </tr>
405 <tr> 426 <tr>
406 <td class="td33P"> 427 <td class="td33P">
407 <label for="new_info">{L_INFO_EXPLAIN}</label> 428 <label for="new_info">{L_INFO_EXPLAIN}</label>
408 </td> 429 </td>
409 <td> 430 <td>
410 <span class="forum-display-block" id="action_info">{INFO}</span> 431 <span class="forum-display-block" id="action_info">{INFO}</span>
411 <label><select name="new_info" id="new_info" onchange="change_textarea_level(this.options[this.selectedIndex].value, {REGEX})"> 432 <label><select name="new_info" id="new_info" onchange="change_textarea_level(this.options[this.selectedIndex].value, {REGEX})">
412 {SELECT} 433 {SELECT}
413 </select></label> 434 </select></label>
414 <button type="submit" name="valid_user" value="true" class="submit">{L_CHANGE_INFO}</button> 435 <button type="submit" name="valid_user" value="true" class="submit">{L_CHANGE_INFO}</button>
415 <input type="hidden" name="token" value="{TOKEN}"> 436 <input type="hidden" name="token" value="{TOKEN}">
416 </td> 437 </td>
417 </tr> 438 </tr>
418 </tbody> 439 </tbody>
419 </table> 440 </table>
420 </form> 441 </form>
421 # ENDIF # 442 # ENDIF #
422 443
423 </div> 444 </div>
424 <footer> 445 <footer>
425 &bull; <a href="index.php" title="{FORUM_NAME}">{FORUM_NAME}</a> &raquo; <a href="moderation_forum.php" title="{L_MODERATION_FORUM}">{L_MODERATION_FORUM}</a> {U_MODERATION_FORUM_ACTION} 446 <a href="index.php" title="{FORUM_NAME}">{FORUM_NAME}</a> <i class="fa fa-angle-double-right"></i> <a href="moderation_forum.php" title="{L_MODERATION_FORUM}">{L_MODERATION_FORUM}</a># IF NOT C_HOME # <i class="fa fa-angle-double-right"></i> <a href="{U_MODERATION_FORUM_ACTION}">{L_ALERT}</a># ENDIF #
426 </footer> 447 </footer>
427 </article> 448 </article>
428 449
429 450
430 # INCLUDE forum_bottom # 451 # INCLUDE forum_bottom #
Editor
Original Text
Changed Text
Recommended videos