-22 Removals
+25 Additions

Created by:phpboost

1 <section id="module-user-moderation-panel"> 1 <section id="module-user-moderation-panel">
2 <header> 2 <header>
3 <h1>{L_MODERATION_PANEL}</h1> 3 <h1>{L_MODERATION_PANEL}</h1>
4 </header> 4 </header>
5 <div class="content"> 5 <div class="content">
6 # IF C_MODO_PANEL_USER # 6 # IF C_MODO_PANEL_USER #
7 <table id="table"> 7 <table id="table">
8 <tbody> 8 <tbody>
9 <tr> 9 <tr>
10 <td class="no-separator"> 10 <td class="no-separator">
11 <a href="{U_WARNING}" title="{L_USERS_WARNING}" class="fa fa-warning fa-2x"></a> 11 <a class="infos-options" href="{U_WARNING}" aria-label="{L_USERS_WARNING}">
12 <br /> 12 <i class="fa fa-warning fa-2x" aria-hidden="true"></i>
13 </a>
13 <a href="{U_WARNING}" title="{L_USERS_WARNING}">{L_USERS_WARNING}</a> 14 <a href="{U_WARNING}" title="{L_USERS_WARNING}">{L_USERS_WARNING}</a>
14 </td> 15 </td>
15 <td class="no-separator"> 16 <td class="no-separator">
16 <a href="{U_PUNISH}" title="{L_USERS_PUNISHMENT}" class="fa fa-error fa-2x"></a> 17 <a class="infos-options" href="{U_PUNISH}" aria-label="{L_USERS_PUNISHMENT}">
17 <br /> 18 <i class="fa fa-error fa-2x" aria-hidden="true" title="{L_USERS_PUNISHMENT}"></i>
19 </a>
18 <a href="{U_PUNISH}" title="{L_USERS_PUNISHMENT}">{L_USERS_PUNISHMENT}</a> 20 <a href="{U_PUNISH}" title="{L_USERS_PUNISHMENT}">{L_USERS_PUNISHMENT}</a>
19 </td> 21 </td>
20 <td class="no-separator"> 22 <td class="no-separator">
21 <a href="{U_BAN}" title="{L_USERS_BAN}" class="fa fa-forbidden fa-2x"></a> 23 <a class="infos-options" href="{U_BAN}" aria-label="{L_USERS_BAN}">
22 <br /> 24 <i class="fa fa-forbidden fa-2x" aria-hidden="true" title="{L_USERS_BAN}"></i>
25 </a>
23 <a href="{U_BAN}" title="{L_USERS_BAN}">{L_USERS_BAN}</a> 26 <a href="{U_BAN}" title="{L_USERS_BAN}">{L_USERS_BAN}</a>
24 </td> 27 </td>
25 </tr> 28 </tr>
26 </tbody> 29 </tbody>
27 </table> 30 </table>
28 31
29 # IF C_MODO_PANEL_USER_LIST # 32 # IF C_MODO_PANEL_USER_LIST #
30 <script> 33 <script>
31 <!-- 34 <!--
32 function XMLHttpRequest_search() 35 function XMLHttpRequest_search()
33 { 36 {
34 var login = jQuery('#login').val(); 37 var login = jQuery('#login').val();
35 if( login != "" ) 38 if( login != "" )
36 { 39 {
37 jQuery.ajax({ 40 jQuery.ajax({
38 url: '{PATH_TO_ROOT}/kernel/framework/ajax/member_xmlhttprequest.php?token={TOKEN}&{U_XMLHTTPREQUEST}=1', 41 url: '{PATH_TO_ROOT}/kernel/framework/ajax/member_xmlhttprequest.php?token={TOKEN}&{U_XMLHTTPREQUEST}=1',
39 type: "post", 42 type: "post",
40 dataType: "html", 43 dataType: "html",
41 data: {'login': login}, 44 data: {'login': login},
42 success: function(returnData){ 45 success: function(returnData){
43 jQuery('#xmlhttprequest-result-search').html(returnData); 46 jQuery('#xmlhttprequest-result-search').html(returnData);
44 jQuery('#xmlhttprequest-result-search').fadeIn(); 47 jQuery('#xmlhttprequest-result-search').fadeIn();
45 } 48 }
46 }); 49 });
47 } 50 }
48 else 51 else
49 alert("{L_REQUIRE_LOGIN}"); 52 alert("{L_REQUIRE_LOGIN}");
50 } 53 }
51 --> 54 -->
52 </script> 55 </script>
53 56
54 <form action="{U_ACTION}" method="post" class="fieldset-content"> 57 <form action="{U_ACTION}" method="post" class="fieldset-content">
55 <fieldset> 58 <fieldset>
56 <legend>{L_SEARCH_USER}</legend> 59 <legend>{L_SEARCH_USER}</legend>
57 <div class="form-element"> 60 <div class="form-element">
58 <label for="login">{L_SEARCH_USER} <span class="field-description">{L_JOKER}</span></label> 61 <label for="login">{L_SEARCH_USER} <span class="field-description">{L_JOKER}</span></label>
59 <div class="form-field"> 62 <div class="form-field">
60 <input type="text" maxlength="25" id="login" value="" name="login"> 63 <input type="text" maxlength="25" id="login" value="" name="login">
61 <input type="hidden" name="token" value="{TOKEN}"> 64 <input type="hidden" name="token" value="{TOKEN}">
62 <button onclick="XMLHttpRequest_search(this.form);" type="button">{L_SEARCH}</button> 65 <button onclick="XMLHttpRequest_search(this.form);" type="button">{L_SEARCH}</button>
63 <div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div> 66 <div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div>
64 </div> 67 </div>
65 </div> 68 </div>
66 </fieldset> 69 </fieldset>
67 </form> 70 </form>
68 71
69 <table id="table2"> 72 <table id="table2">
70 <thead> 73 <thead>
71 <tr> 74 <tr>
72 <th>{L_LOGIN}</th> 75 <th>{L_LOGIN}</th>
73 <th>{L_INFO}</th> 76 <th>{L_INFO}</th>
74 <th>{L_ACTION_USER}</th> 77 <th>{L_ACTION_USER}</th>
75 <th>{L_PM}</th> 78 <th>{L_PM}</th>
76 </tr> 79 </tr>
77 </thead> 80 </thead>
78 <tbody> 81 <tbody>
79 # START member_list # 82 # START member_list #
80 <tr> 83 <tr>
81 <td> 84 <td>
82 <a href="{member_list.U_PROFILE}" class="{member_list.USER_LEVEL_CLASS}" # IF member_list.C_USER_GROUP_COLOR # style="color:{member_list.USER_GROUP_COLOR}" # ENDIF #>{member_list.LOGIN}</a> 85 <a href="{member_list.U_PROFILE}" class="{member_list.USER_LEVEL_CLASS}" # IF member_list.C_USER_GROUP_COLOR # style="color:{member_list.USER_GROUP_COLOR}" # ENDIF #>{member_list.LOGIN}</a>
83 </td> 86 </td>
84 <td> 87 <td>
85 {member_list.INFO} 88 {member_list.INFO}
86 </td> 89 </td>
87 <td> 90 <td>
88 {member_list.U_ACTION_USER} 91 {member_list.U_ACTION_USER}
89 </td> 92 </td>
90 <td> 93 <td>
91 <a href="{member_list.U_PM}" class="basic-button smaller">MP</a> 94 <a href="{member_list.U_PM}" class="basic-button smaller">MP</a>
92 </td> 95 </td>
93 </tr> 96 </tr>
94 # END member_list # 97 # END member_list #
95 98
96 # IF C_EMPTY_LIST # 99 # IF C_EMPTY_LIST #
97 <tr> 100 <tr>
98 <td colspan="4"> 101 <td colspan="4">
99 {L_NO_USER} 102 {L_NO_USER}
100 </td> 103 </td>
101 </tr> 104 </tr>
102 # ENDIF # 105 # ENDIF #
103 </tbody> 106 </tbody>
104 </table> 107 </table>
105 # ENDIF # 108 # ENDIF #
106 109
107 110
108 111
109 # IF C_MODO_PANEL_USER_INFO # 112 # IF C_MODO_PANEL_USER_INFO #
110 <script> 113 <script>
111 <!-- 114 <!--
112 function change_textarea_level(replace_value, regex) 115 function change_textarea_level(replace_value, regex)
113 { 116 {
114 var contents = document.getElementById('action_contents').value; 117 var contents = document.getElementById('action_contents').value;
115 {REPLACE_VALUE} 118 {REPLACE_VALUE}
116 document.getElementById('action_contents').value = contents; 119 document.getElementById('action_contents').value = contents;
117 120
118 # IF C_TINYMCE_EDITOR # setTinyMceContent(contents); # ENDIF # 121 # IF C_TINYMCE_EDITOR # setTinyMceContent(contents); # ENDIF #
119 } 122 }
120 --> 123 -->
121 </script> 124 </script>
122 125
123 <form action="{U_ACTION_INFO}" method="post"> 126 <form action="{U_ACTION_INFO}" method="post">
124 <fieldset> 127 <fieldset>
125 <legend>{L_ACTION_INFO}</legend> 128 <legend>{L_ACTION_INFO}</legend>
126 129
127 <div class="form-element"> 130 <div class="form-element">
128 <label>{L_LOGIN}</label> 131 <label>{L_LOGIN}</label>
129 <div class="form-field"> 132 <div class="form-field">
130 <a href="{U_PROFILE}" class="{USER_LEVEL_CLASS}" # IF C_USER_GROUP_COLOR # style="color:{USER_GROUP_COLOR}" # ENDIF #>{LOGIN}</a> 133 <a href="{U_PROFILE}" class="{USER_LEVEL_CLASS}" # IF C_USER_GROUP_COLOR # style="color:{USER_GROUP_COLOR}" # ENDIF #>{LOGIN}</a>
131 </div> 134 </div>
132 </div> 135 </div>
133 <div class="form-element"> 136 <div class="form-element">
134 <label>{L_PM}</label> 137 <label>{L_PM}</label>
135 <div class="form-field"> 138 <div class="form-field">
136 <a href="{U_PM}" class="basic-button smaller">MP</a> 139 <a href="{U_PM}" class="basic-button smaller">MP</a>
137 </div> 140 </div>
138 </div> 141 </div>
139 <div class="form-element-textarea"> 142 <div class="form-element-textarea">
140 <label for="action_contents">{L_ALTERNATIVE_PM}</label> 143 <label for="action_contents">{L_ALTERNATIVE_PM}</label>
141 {KERNEL_EDITOR} 144 {KERNEL_EDITOR}
142 <textarea name="action_contents" id="action_contents" rows="12">{ALTERNATIVE_PM}</textarea> 145 <textarea name="action_contents" id="action_contents" rows="12">{ALTERNATIVE_PM}</textarea>
143 </div> 146 </div>
144 <div class="form-element"> 147 <div class="form-element">
145 <label>{L_INFO_EXPLAIN}</label> 148 <label>{L_INFO_EXPLAIN}</label>
146 <div class="form-field"> 149 <div class="form-field">
147 <span id="action_info">{INFO}</span> 150 <span id="action_info">{INFO}</span>
148 <select name="new_info" onchange="change_textarea_level(this.options[this.selectedIndex].value, {REGEX})"> 151 <select name="new_info" onchange="change_textarea_level(this.options[this.selectedIndex].value, {REGEX})">
149 {SELECT} 152 {SELECT}
150 </select> 153 </select>
151 </div> 154 </div>
152 </div> 155 </div>
153 </fieldset> 156 </fieldset>
154 157
155 <fieldset class="fieldset-submit"> 158 <fieldset class="fieldset-submit">
156 <legend></legend> 159 <legend></legend>
157 <input type="hidden" name="token" value="{TOKEN}"> 160 <input type="hidden" name="token" value="{TOKEN}">
158 <button type="submit" name="valid_user" value="true" class="submit">{L_CHANGE_INFO}</button> 161 <button type="submit" name="valid_user" value="true" class="submit">{L_CHANGE_INFO}</button>
159 </fieldset> 162 </fieldset>
160 </form> 163 </form>
161 # ENDIF # 164 # ENDIF #
162 165
163 # IF C_MODO_PANEL_USER_BAN # 166 # IF C_MODO_PANEL_USER_BAN #
164 <form action="{U_ACTION_INFO}" method="post"> 167 <form action="{U_ACTION_INFO}" method="post">
165 <fieldset> 168 <fieldset>
166 <legend>{L_ACTION_INFO}</legend> 169 <legend>{L_ACTION_INFO}</legend>
167 170
168 <div class="form-element"> 171 <div class="form-element">
169 <label>{L_LOGIN}</label> 172 <label>{L_LOGIN}</label>
170 <div class="form-field"> 173 <div class="form-field">
171 <a href="{U_PROFILE}" class="{USER_LEVEL_CLASS}" # IF C_USER_GROUP_COLOR # style="color:{USER_GROUP_COLOR}" # ENDIF #>{LOGIN}</a> 174 <a href="{U_PROFILE}" class="{USER_LEVEL_CLASS}" # IF C_USER_GROUP_COLOR # style="color:{USER_GROUP_COLOR}" # ENDIF #>{LOGIN}</a>
172 </div> 175 </div>
173 </div> 176 </div>
174 <div class="form-element"> 177 <div class="form-element">
175 <label>{L_PM}</label> 178 <label>{L_PM}</label>
176 <div class="form-field"> 179 <div class="form-field">
177 <a href="{U_PM}" class="basic-button smaller">MP</a> 180 <a href="{U_PM}" class="basic-button smaller">MP</a>
178 </div> 181 </div>
179 </div> 182 </div>
180 <div class="form-element"> 183 <div class="form-element">
181 <label>{L_DELAY_BAN}</label> 184 <label>{L_DELAY_BAN}</label>
182 <div class="form-field"> 185 <div class="form-field">
183 <select name="user_ban"> 186 <select name="user_ban">
184 # START select_ban # 187 # START select_ban #
185 {select_ban.TIME} 188 {select_ban.TIME}
186 # END select_ban # 189 # END select_ban #
187 </select> 190 </select>
188 </div> 191 </div>
189 </div> 192 </div>
190 </fieldset> 193 </fieldset>
191 194
192 <fieldset class="fieldset-submit"> 195 <fieldset class="fieldset-submit">
193 <legend></legend> 196 <legend></legend>
194 <input type="hidden" name="token" value="{TOKEN}"> 197 <input type="hidden" name="token" value="{TOKEN}">
195 <button type="submit" name="valid_user" value="true" class="submit">{L_BAN}</button> 198 <button type="submit" name="valid_user" value="true" class="submit">{L_BAN}</button>
196 </fieldset> 199 </fieldset>
197 </form> 200 </form>
198 # ENDIF # 201 # ENDIF #
199 # ENDIF # 202 # ENDIF #
200 </div> 203 </div>
201 <footer></footer> 204 <footer></footer>
202 </section>205 </section>
Editor
Original Text
Changed Text
Recommended videos