-10 Removals
+10 Additions
# IF C_DISPLAY # # IF C_DISPLAY #
<form action="moderation_media.php" method="post"> <form action="moderation_media.php" method="post">
<fieldset class="fieldset-submit"> <fieldset class="fieldset-submit">
<legend>{L_FILTER}</legend> <legend>{L_FILTER}</legend>
<div id="form" class="center fieldset-content"> <div id="form" class="center fieldset-content">
{L_DISPLAY_FILE}&nbsp; {L_DISPLAY_FILE}&nbsp;
<select name="state" id="state" class="nav" onchange="change_order()"> <select name="state" id="state" class="nav" onchange="change_order()">
<option value="all"{SELECTED_ALL}>{L_ALL}</option> <option value="all"{SELECTED_ALL}>{L_ALL}</option>
<option value="visible"{SELECTED_VISIBLE}>{L_FVISIBLE}</option> <option value="visible"{SELECTED_VISIBLE}>{L_FVISIBLE}</option>
<option value="unvisible"{SELECTED_UNVISIBLE}>{L_FUNVISIBLE}</option> <option value="unvisible"{SELECTED_UNVISIBLE}>{L_FUNVISIBLE}</option>
<option value="unaprobed"{SELECTED_UNAPROBED}>{L_FUNAPROBED}</option> <option value="unaprobed"{SELECTED_UNAPROBED}>{L_FUNAPROBED}</option>
</select> </select>
&nbsp;{L_INCLUDE_SUB_CATS}&nbsp; &nbsp;{L_INCLUDE_SUB_CATS}&nbsp;
<input type="checkbox" name="sub_cats" value="1"{SUB_CATS}> <input type="checkbox" name="sub_cats" value="1"{SUB_CATS}>
</div> </div>
<div class="spacer">&nbsp;</div> <div class="spacer">&nbsp;</div>
<div class="fieldset-inset"> <div class="fieldset-inset">
<input type="hidden" name="token" value="{TOKEN}"> <input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="filter" value="true" class="submit">{L_SUBMIT}</button> <button type="submit" name="filter" value="true" class="submit">{L_SUBMIT}</button>
<button type="reset" value="true">{L_RESET}</button> <button type="reset" value="true">{L_RESET}</button>
</div> </div>
</fieldset> </fieldset>
</form> </form>
<script> <script>
<!-- <!--
function check_all (type) function check_all (type)
{ {
var item = new Array({JS_ARRAY}); var item = new Array({JS_ARRAY});
if (type == "delete") if (type == "delete")
{ {
if (confirm ('{L_CONFIRM_DELETE_ALL}')) if (confirm ('{L_CONFIRM_DELETE_ALL}'))
{ {
for (var i=0; i < item.length; i++) for (var i=0; i < item.length; i++)
document.getElementById(type + item[i]).checked = 'checked'; document.getElementById(type + item[i]).checked = 'checked';
} }
} }
else else
{ {
for (var i=0; i < item.length; i++) for (var i=0; i < item.length; i++)
document.getElementById(type + item[i]).checked = 'checked'; document.getElementById(type + item[i]).checked = 'checked';
} }
} }
function pointer (id) function pointer (id)
{ {
document.getElementById(id).style.cursor = 'pointer'; document.getElementById(id).style.cursor = 'pointer';
} }
--> -->
</script> </script>
<form action="moderation_media.php" method="post" class="fieldset-content"> <form action="moderation_media.php" method="post" class="fieldset-content">
<fieldset> <fieldset>
<legend>{L_MODO_PANEL}</legend> <legend><h1>{L_MODO_PANEL}</h1></legend>
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th> <th>
{L_NAME} {L_NAME}
</th> </th>
<th> <th>
${LangLoader::get_message('category', 'categories-common')} ${LangLoader::get_message('category', 'categories-common')}
</th> </th>
<th onclick="check_all('visible');" onmouseover="pointer('visible');" id="visible"> <th onclick="check_all('visible');" onmouseover="pointer('visible');" id="visible">
{L_VISIBLE} {L_VISIBLE}
</th> </th>
<th onclick="check_all('unvisible');" onmouseover="pointer('unvisible');" id="unvisible"> <th onclick="check_all('unvisible');" onmouseover="pointer('unvisible');" id="unvisible">
{L_UNVISIBLE} {L_UNVISIBLE}
</th> </th>
<th> <th>
{L_UNAPROBED} {L_UNAPROBED}
</th> </th>
<th onclick="check_all('delete');" onmouseover="pointer('delete');" id="delete"> <th onclick="check_all('delete');" onmouseover="pointer('delete');" id="delete">
${LangLoader::get_message('delete', 'common')} ${LangLoader::get_message('delete', 'common')}
</th> </th>
</tr> </tr>
</thead> </thead>
# IF C_PAGINATION #
<tfoot>
<tr>
<td colspan="6">
# INCLUDE PAGINATION #
</td>
</tr>
</tfoot>
# ENDIF #
<tbody> <tbody>
# IF C_NO_MODERATION # # IF C_NO_MODERATION #
<tr> <tr>
<td colspan="6">{L_NO_MODERATION}</td> <td colspan="6">{L_NO_MODERATION}</td>
</tr> </tr>
# ELSE # # ELSE #
# START files # # START files #
<tr> <tr>
<td class="{files.COLOR}"> <td class="{files.COLOR}">
<a href="{files.U_FILE}">{files.NAME}</a> <a href="{files.U_FILE}">{files.NAME}</a>
<a href="{files.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}" class="fa fa-edit"></a> <a href="{files.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}" class="fa fa-edit"></a>
</td> </td>
<td class="{files.COLOR}"> <td class="{files.COLOR}">
<a href="{files.U_CAT}">{files.CAT}</a> <a href="{files.U_CAT}">{files.CAT}</a>
</td> </td>
<td class="{files.COLOR}"> <td class="{files.COLOR}">
<input type="radio" id="visible{files.ID}" name="action[{files.ID}]" value="visible"{files.SHOW}> <input type="radio" id="visible{files.ID}" name="action[{files.ID}]" value="visible"{files.SHOW}>
</td> </td>
<td class="{files.COLOR}"> <td class="{files.COLOR}">
<input type="radio" id="unvisible{files.ID}" name="action[{files.ID}]" value="unvisible"{files.HIDE}> <input type="radio" id="unvisible{files.ID}" name="action[{files.ID}]" value="unvisible"{files.HIDE}>
</td> </td>
<td class="{files.COLOR}"> <td class="{files.COLOR}">
<input type="radio" name="action[{files.ID}]" value="unaprobed"{files.UNAPROBED} # IF NOT files.UNAPROBED #disabled="disabled" # ENDIF #/> <input type="radio" name="action[{files.ID}]" value="unaprobed"{files.UNAPROBED} # IF NOT files.UNAPROBED #disabled="disabled" # ENDIF #/>
</td> </td>
<td class="{files.COLOR}"> <td class="{files.COLOR}">
<input type="radio" id="delete{files.ID}" name="action[{files.ID}]" value="delete" data-confirmation="delete-element"> <input type="radio" id="delete{files.ID}" name="action[{files.ID}]" value="delete" data-confirmation="delete-element">
</td> </td>
</tr> </tr>
# END files # # END files #
# ENDIF # # ENDIF #
</tbody> </tbody>
# IF C_PAGINATION #
<tfoot>
<tr>
<td colspan="6">
# INCLUDE PAGINATION #
</td>
</tr>
</tfoot>
# ENDIF #
</table> </table>
<table id="table2"> <table id="table2">
<thead> <thead>
<tr> <tr>
<th colspan="3">{L_LEGEND}</th> <th colspan="3">{L_LEGEND}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td class="bkgd-color-unaprobed"> <td class="bkgd-color-unaprobed">
{L_FILE_UNAPROBED} {L_FILE_UNAPROBED}
</td> </td>
<td class="bkgd-color-unvisible"> <td class="bkgd-color-unvisible">
{L_FILE_UNVISIBLE} {L_FILE_UNVISIBLE}
</td> </td>
<td class="bkgd-color-visible"> <td class="bkgd-color-visible">
{L_FILE_VISIBLE} {L_FILE_VISIBLE}
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</fieldset> </fieldset>
<fieldset class="fieldset-submit"> <fieldset class="fieldset-submit">
<legend>{L_SUBMIT}</legend> <legend>{L_SUBMIT}</legend>
<input type="hidden" name="token" value="{TOKEN}"> <input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="submit" value="true" class="submit">{L_SUBMIT}</button> <button type="submit" name="submit" value="true" class="submit">{L_SUBMIT}</button>
<button type="reset" value="true">{L_RESET}</button> <button type="reset" value="true">{L_RESET}</button>
</fieldset> </fieldset>
</form> </form>
# ENDIF # # ENDIF #
Editor
Original Text
Changed Text