diff options
author | rub <rub@piwigo.org> | 2008-02-13 20:13:12 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-02-13 20:13:12 +0000 |
commit | ea960a5563416318ec4bfc9da81af3d2e0f7ed85 (patch) | |
tree | 786a888a6b3385d4b1711f9d5eb66c20a3386ab1 /template/yoga/admin/check_integrity.tpl | |
parent | 42b184eed3c3e33fc2476c986a8eb06a766bb4b8 (diff) |
Resolved issue 0000792: Admin "intro" : Integrity control bypass
Some sentences must be re-write ;-)
git-svn-id: http://piwigo.org/svn/trunk@2208 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/admin/check_integrity.tpl | 78 |
1 files changed, 54 insertions, 24 deletions
diff --git a/template/yoga/admin/check_integrity.tpl b/template/yoga/admin/check_integrity.tpl index 5523d0364..ebaedf91e 100644 --- a/template/yoga/admin/check_integrity.tpl +++ b/template/yoga/admin/check_integrity.tpl @@ -3,46 +3,76 @@ <dt>{lang:c13y_title}</dt> <dd> <ul> - <form method="post" name="preferences" action="{F_c13y_ACTION}"> + <form method="post" name="c13y" id="c13y" action="{F_c13y_ACTION}"> <fieldset> <table class="table2"> <tr class="throw"> + <th></th> <th>{lang:c13y_Anomaly}</th> <th>{lang:c13y_Correction}</th> </tr> <!-- BEGIN c13y --> <tr class="{c13y.CLASS}"> + <td> + <!-- BEGIN can_select --> + <input type="checkbox" name="c13y_selection[]" value="{c13y.ID}" {c13y.CHECKED} id="c13y_selection-{c13y.ID}" /><label for="c13y_selection-{c13y.ID}"></label> + <!-- END can_select --> + </td> <td><label for="c13y_selection-{c13y.ID}">{c13y.ANOMALY}</label></td> <td> - <!-- BEGIN correction_fct --> - <input type="checkbox" name="c13y_selection[]" value="{c13y.ID}" {c13y.CHECKED} id="c13y_selection-{c13y.ID}" /><label for="c13y_selection-{c13y.ID}"> {lang:c13y_Automatic_correction}</label> - <!-- END correction_fct --> - <!-- BEGIN correction_bad_fct --> - {lang:c13y_Impossible_automatic_correction} - <!-- END correction_bad_fct --> - <!-- BEGIN correction_success_fct --> - {lang:c13y_Correction_applied_success} - <!-- END correction_success_fct --> - <!-- BEGIN correction_error_fct --> - {lang:c13y_Correction_applied_error} - <BR /> - {c13y.correction_error_fct.WIKI_FOROM_LINKS} - <!-- END correction_error_fct --> - <!-- BEGIN br --> - <br /> - <!-- END br --> - <!-- BEGIN correction_msg --> - {c13y.correction_msg.DATA} - <!-- END correction_msg --> + <label for="c13y_selection-{c13y.ID}"> + <!-- BEGIN ignore_msg --> + {lang:c13y_ignore_msg1} + <br /> + {lang:c13y_ignore_msg2} + <!-- END ignore_msg --> + <!-- BEGIN correction_fct --> + {lang:c13y_Automatic_correction} + <!-- END correction_fct --> + <!-- BEGIN correction_bad_fct --> + {lang:c13y_Impossible_automatic_correction} + <!-- END correction_bad_fct --> + <!-- BEGIN correction_success_fct --> + {lang:c13y_Correction_applied_success} + <!-- END correction_success_fct --> + <!-- BEGIN correction_error_fct --> + {lang:c13y_Correction_applied_error} + <BR /> + {c13y.correction_error_fct.WIKI_FOROM_LINKS} + <!-- END correction_error_fct --> + <!-- BEGIN br --> + <br /> + <!-- END br --> + <!-- BEGIN correction_msg --> + {c13y.correction_msg.DATA} + <!-- END correction_msg --> + </label> </td> </tr> <!-- END c13y --> </table> - <!-- BEGIN c13y_submit --> + + <!-- BEGIN c13y_link_check_uncheck --> + <a href="#" onclick="SelectAll(document.getElementById('c13y')); return false;">{lang:c13y_check_all}</a> + / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); return false;">{lang:c13y_uncheck_all}</a> + <!-- END c13y_link_check_uncheck --> + <!-- BEGIN c13y_link_check_automatic_correction --> + / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); + <!-- BEGIN c13y_do_check --> + document.getElementById('c13y_selection-{c13y_link_check_automatic_correction.c13y_do_check.ID}').checked = true; + <!-- END c13y_do_check --> + return false;">{lang:c13y_check_auto}</a> + <!-- END c13y_link_check_automatic_correction --> <p> - <input class="submit" type="submit" value="{lang:c13y_Apply_selected_corrections}" name="c13y_submit" {TAG_INPUT_ENABLED} /> + <!-- BEGIN c13y_submit_automatic_correction --> + <input class="submit" type="submit" value="{lang:c13y_submit_correction}" name="c13y_submit_correction" {TAG_INPUT_ENABLED} /> + <!-- END c13y_submit_automatic_correction --> + <!-- BEGIN c13y_submit_ignore --> + <input class="submit" type="submit" value="{lang:c13y_submit_ignore}" name="c13y_submit_ignore" {TAG_INPUT_ENABLED} /> + <!-- END c13y_submit_ignore --> + <input class="submit" type="submit" value="{lang:c13y_submit_refresh}" name="c13y_submit_refresh" {TAG_INPUT_ENABLED} /> </p> - <!-- END c13y_submit --> + </fieldset> </form> </ul> |