-10 Removals
+10 Additions

Created by:phpboost

1 # IF C_DISPLAY # 1 # IF C_DISPLAY #
2 <form action="moderation_media.php" method="post"> 2 <form action="moderation_media.php" method="post">
3 <fieldset class="fieldset-submit"> 3 <fieldset class="fieldset-submit">
4 <legend>{L_FILTER}</legend> 4 <legend>{L_FILTER}</legend>
5 <div id="form" class="center fieldset-content"> 5 <div id="form" class="center fieldset-content">
6 {L_DISPLAY_FILE}&nbsp; 6 {L_DISPLAY_FILE}&nbsp;
7 <select name="state" id="state" class="nav" onchange="change_order()"> 7 <select name="state" id="state" class="nav" onchange="change_order()">
8 <option value="all"{SELECTED_ALL}>{L_ALL}</option> 8 <option value="all"{SELECTED_ALL}>{L_ALL}</option>
9 <option value="visible"{SELECTED_VISIBLE}>{L_FVISIBLE}</option> 9 <option value="visible"{SELECTED_VISIBLE}>{L_FVISIBLE}</option>
10 <option value="unvisible"{SELECTED_UNVISIBLE}>{L_FUNVISIBLE}</option> 10 <option value="unvisible"{SELECTED_UNVISIBLE}>{L_FUNVISIBLE}</option>
11 <option value="unaprobed"{SELECTED_UNAPROBED}>{L_FUNAPROBED}</option> 11 <option value="unaprobed"{SELECTED_UNAPROBED}>{L_FUNAPROBED}</option>
12 </select> 12 </select>
13 &nbsp;{L_INCLUDE_SUB_CATS}&nbsp; 13 &nbsp;{L_INCLUDE_SUB_CATS}&nbsp;
14 <input type="checkbox" name="sub_cats" value="1"{SUB_CATS}> 14 <input type="checkbox" name="sub_cats" value="1"{SUB_CATS}>
15 </div> 15 </div>
16 <div class="spacer">&nbsp;</div> 16 <div class="spacer">&nbsp;</div>
17 <div class="fieldset-inset"> 17 <div class="fieldset-inset">
18 <input type="hidden" name="token" value="{TOKEN}"> 18 <input type="hidden" name="token" value="{TOKEN}">
19 <button type="submit" name="filter" value="true" class="submit">{L_SUBMIT}</button> 19 <button type="submit" name="filter" value="true" class="submit">{L_SUBMIT}</button>
20 <button type="reset" value="true">{L_RESET}</button> 20 <button type="reset" value="true">{L_RESET}</button>
21 </div> 21 </div>
22 </fieldset> 22 </fieldset>
23 </form> 23 </form>
24 24
25 <script> 25 <script>
26 <!-- 26 <!--
27 function check_all (type) 27 function check_all (type)
28 { 28 {
29 var item = new Array({JS_ARRAY}); 29 var item = new Array({JS_ARRAY});
30 30
31 if (type == "delete") 31 if (type == "delete")
32 { 32 {
33 if (confirm ('{L_CONFIRM_DELETE_ALL}')) 33 if (confirm ('{L_CONFIRM_DELETE_ALL}'))
34 { 34 {
35 for (var i=0; i < item.length; i++) 35 for (var i=0; i < item.length; i++)
36 document.getElementById(type + item[i]).checked = 'checked'; 36 document.getElementById(type + item[i]).checked = 'checked';
37 } 37 }
38 } 38 }
39 else 39 else
40 { 40 {
41 for (var i=0; i < item.length; i++) 41 for (var i=0; i < item.length; i++)
42 document.getElementById(type + item[i]).checked = 'checked'; 42 document.getElementById(type + item[i]).checked = 'checked';
43 } 43 }
44 } 44 }
45 45
46 function pointer (id) 46 function pointer (id)
47 { 47 {
48 document.getElementById(id).style.cursor = 'pointer'; 48 document.getElementById(id).style.cursor = 'pointer';
49 } 49 }
50 --> 50 -->
51 </script> 51 </script>
52 <form action="moderation_media.php" method="post" class="fieldset-content"> 52 <form action="moderation_media.php" method="post" class="fieldset-content">
53 <fieldset> 53 <fieldset>
54 <legend>{L_MODO_PANEL}</legend> 54 <legend><h1>{L_MODO_PANEL}</h1></legend>
55 <table id="table"> 55 <table id="table">
56 <thead> 56 <thead>
57 <tr> 57 <tr>
58 <th> 58 <th>
59 {L_NAME} 59 {L_NAME}
60 </th> 60 </th>
61 <th> 61 <th>
62 ${LangLoader::get_message('category', 'categories-common')} 62 ${LangLoader::get_message('category', 'categories-common')}
63 </th> 63 </th>
64 <th onclick="check_all('visible');" onmouseover="pointer('visible');" id="visible"> 64 <th onclick="check_all('visible');" onmouseover="pointer('visible');" id="visible">
65 {L_VISIBLE} 65 {L_VISIBLE}
66 </th> 66 </th>
67 <th onclick="check_all('unvisible');" onmouseover="pointer('unvisible');" id="unvisible"> 67 <th onclick="check_all('unvisible');" onmouseover="pointer('unvisible');" id="unvisible">
68 {L_UNVISIBLE} 68 {L_UNVISIBLE}
69 </th> 69 </th>
70 <th> 70 <th>
71 {L_UNAPROBED} 71 {L_UNAPROBED}
72 </th> 72 </th>
73 <th onclick="check_all('delete');" onmouseover="pointer('delete');" id="delete"> 73 <th onclick="check_all('delete');" onmouseover="pointer('delete');" id="delete">
74 ${LangLoader::get_message('delete', 'common')} 74 ${LangLoader::get_message('delete', 'common')}
75 </th> 75 </th>
76 </tr> 76 </tr>
77 </thead> 77 </thead>
78 # IF C_PAGINATION #
79 <tfoot>
80 <tr>
81 <td colspan="6">
82 # INCLUDE PAGINATION #
83 </td>
84 </tr>
85 </tfoot>
86 # ENDIF #
87 <tbody> 78 <tbody>
88 # IF C_NO_MODERATION # 79 # IF C_NO_MODERATION #
89 <tr> 80 <tr>
90 <td colspan="6">{L_NO_MODERATION}</td> 81 <td colspan="6">{L_NO_MODERATION}</td>
91 </tr> 82 </tr>
92 # ELSE # 83 # ELSE #
93 # START files # 84 # START files #
94 <tr> 85 <tr>
95 <td class="{files.COLOR}"> 86 <td class="{files.COLOR}">
96 <a href="{files.U_FILE}">{files.NAME}</a> 87 <a href="{files.U_FILE}">{files.NAME}</a>
97 <a href="{files.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}" class="fa fa-edit"></a> 88 <a href="{files.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}" class="fa fa-edit"></a>
98 </td> 89 </td>
99 <td class="{files.COLOR}"> 90 <td class="{files.COLOR}">
100 <a href="{files.U_CAT}">{files.CAT}</a> 91 <a href="{files.U_CAT}">{files.CAT}</a>
101 </td> 92 </td>
102 <td class="{files.COLOR}"> 93 <td class="{files.COLOR}">
103 <input type="radio" id="visible{files.ID}" name="action[{files.ID}]" value="visible"{files.SHOW}> 94 <input type="radio" id="visible{files.ID}" name="action[{files.ID}]" value="visible"{files.SHOW}>
104 </td> 95 </td>
105 <td class="{files.COLOR}"> 96 <td class="{files.COLOR}">
106 <input type="radio" id="unvisible{files.ID}" name="action[{files.ID}]" value="unvisible"{files.HIDE}> 97 <input type="radio" id="unvisible{files.ID}" name="action[{files.ID}]" value="unvisible"{files.HIDE}>
107 </td> 98 </td>
108 <td class="{files.COLOR}"> 99 <td class="{files.COLOR}">
109 <input type="radio" name="action[{files.ID}]" value="unaprobed"{files.UNAPROBED} # IF NOT files.UNAPROBED #disabled="disabled" # ENDIF #/> 100 <input type="radio" name="action[{files.ID}]" value="unaprobed"{files.UNAPROBED} # IF NOT files.UNAPROBED #disabled="disabled" # ENDIF #/>
110 </td> 101 </td>
111 <td class="{files.COLOR}"> 102 <td class="{files.COLOR}">
112 <input type="radio" id="delete{files.ID}" name="action[{files.ID}]" value="delete" data-confirmation="delete-element"> 103 <input type="radio" id="delete{files.ID}" name="action[{files.ID}]" value="delete" data-confirmation="delete-element">
113 </td> 104 </td>
114 </tr> 105 </tr>
115 # END files # 106 # END files #
116 # ENDIF # 107 # ENDIF #
117 </tbody> 108 </tbody>
109 # IF C_PAGINATION #
110 <tfoot>
111 <tr>
112 <td colspan="6">
113 # INCLUDE PAGINATION #
114 </td>
115 </tr>
116 </tfoot>
117 # ENDIF #
118 </table> 118 </table>
119 <table id="table2"> 119 <table id="table2">
120 <thead> 120 <thead>
121 <tr> 121 <tr>
122 <th colspan="3">{L_LEGEND}</th> 122 <th colspan="3">{L_LEGEND}</th>
123 </tr> 123 </tr>
124 </thead> 124 </thead>
125 <tbody> 125 <tbody>
126 <tr> 126 <tr>
127 <td class="bkgd-color-unaprobed"> 127 <td class="bkgd-color-unaprobed">
128 {L_FILE_UNAPROBED} 128 {L_FILE_UNAPROBED}
129 </td> 129 </td>
130 <td class="bkgd-color-unvisible"> 130 <td class="bkgd-color-unvisible">
131 {L_FILE_UNVISIBLE} 131 {L_FILE_UNVISIBLE}
132 </td> 132 </td>
133 <td class="bkgd-color-visible"> 133 <td class="bkgd-color-visible">
134 {L_FILE_VISIBLE} 134 {L_FILE_VISIBLE}
135 </td> 135 </td>
136 </tr> 136 </tr>
137 </tbody> 137 </tbody>
138 </table> 138 </table>
139 </fieldset> 139 </fieldset>
140 <fieldset class="fieldset-submit"> 140 <fieldset class="fieldset-submit">
141 <legend>{L_SUBMIT}</legend> 141 <legend>{L_SUBMIT}</legend>
142 <input type="hidden" name="token" value="{TOKEN}"> 142 <input type="hidden" name="token" value="{TOKEN}">
143 <button type="submit" name="submit" value="true" class="submit">{L_SUBMIT}</button> 143 <button type="submit" name="submit" value="true" class="submit">{L_SUBMIT}</button>
144 <button type="reset" value="true">{L_RESET}</button> 144 <button type="reset" value="true">{L_RESET}</button>
145 </fieldset> 145 </fieldset>
146 </form> 146 </form>
147 # ENDIF # 147 # ENDIF #
Editor
Original Text
Changed Text
Recommended videos