1 | <dl> |
---|
2 | <dt>{'Check integrity'|@translate}</dt> |
---|
3 | <dd> |
---|
4 | <ul> |
---|
5 | <form method="post" name="c13y" id="c13y" action=""> |
---|
6 | <fieldset> |
---|
7 | <table class="table2"> |
---|
8 | <tr class="throw"> |
---|
9 | <th></th> |
---|
10 | <th>{'Anomaly'|@translate}</th> |
---|
11 | <th>{'Correction'|@translate}</th> |
---|
12 | </tr> |
---|
13 | {if isset($c13y_list)} |
---|
14 | {foreach from=$c13y_list item=c13y name=c13y_loop} |
---|
15 | <tr class="{if $smarty.foreach.c13y_loop.index is odd}row1{else}row2{/if}"> |
---|
16 | <td> |
---|
17 | {if $c13y.can_select} |
---|
18 | <input type="checkbox" name="c13y_selection[]" value="{$c13y.id}" id="c13y_selection-{$c13y.id}"><label for="c13y_selection-{$c13y.id}"></label> |
---|
19 | {/if} |
---|
20 | </td> |
---|
21 | <td><label for="c13y_selection-{$c13y.id}">{$c13y.anomaly}</label></td> |
---|
22 | <td> |
---|
23 | <label for="c13y_selection-{$c13y.id}"> |
---|
24 | {if $c13y.show_ignore_msg} |
---|
25 | {'The anomaly will be ignored until next application version'|@translate} |
---|
26 | <br> |
---|
27 | {'Correction the anomaly will cancel the fact that it\'s ignored'|@translate} |
---|
28 | {/if} |
---|
29 | {if $c13y.show_correction_fct} |
---|
30 | {'Automatic correction'|@translate} |
---|
31 | {/if} |
---|
32 | {if $c13y.show_correction_bad_fct} |
---|
33 | {'Impossible automatic correction'|@translate} |
---|
34 | {/if} |
---|
35 | {if $c13y.show_correction_success_fct} |
---|
36 | {'Correction applied with success'|@translate} |
---|
37 | {/if} |
---|
38 | {if !empty($c13y.correction_error_fct)} |
---|
39 | {'Correction applied with error'|@translate} |
---|
40 | <br> |
---|
41 | {$c13y.c13y.correction_error_fct} |
---|
42 | {/if} |
---|
43 | {if !empty($c13y.correction_msg)} |
---|
44 | {if $c13y.show_correction_success_fct or !empty($c13y.correction_error_fct) or $c13y.show_correction_fct or $c13y.show_correction_bad_fct } |
---|
45 | <br> |
---|
46 | {/if} |
---|
47 | {$c13y.correction_msg|@nl2br} |
---|
48 | {/if} |
---|
49 | </label> |
---|
50 | </td> |
---|
51 | </tr> |
---|
52 | {/foreach} |
---|
53 | {/if} |
---|
54 | </table> |
---|
55 | |
---|
56 | <p> |
---|
57 | {if $c13y_show_submit_ignore} |
---|
58 | <a href="#" onclick="SelectAll(document.getElementById('c13y')); return false;">{'Check all'|@translate}</a> |
---|
59 | / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); return false;">{'Uncheck all'|@translate}</a> |
---|
60 | {/if} |
---|
61 | {if isset($c13y_do_check)} |
---|
62 | / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); |
---|
63 | {foreach from=$c13y_do_check item=ID} |
---|
64 | document.getElementById('c13y_selection-{$ID}').checked = true; |
---|
65 | {/foreach} |
---|
66 | return false;">{'Check automatic corrections'|@translate}</a> |
---|
67 | {/if} |
---|
68 | </p> |
---|
69 | |
---|
70 | <p> |
---|
71 | {if $c13y_show_submit_automatic_correction} |
---|
72 | <input class="submit" type="submit" value="{'Apply selected corrections'|@translate}" name="Apply selected corrections" {$TAG_INPUT_ENABLED}> |
---|
73 | {/if} |
---|
74 | {if $c13y_show_submit_ignore} |
---|
75 | <input class="submit" type="submit" value="{'Ignore selected anomalies'|@translate}" name="Ignore selected anomalies" {$TAG_INPUT_ENABLED}> |
---|
76 | {/if} |
---|
77 | <input class="submit" type="submit" value="{'Refresh'|@translate}" name="Refresh"> |
---|
78 | </p> |
---|
79 | |
---|
80 | </fieldset> |
---|
81 | </form> |
---|
82 | </ul> |
---|
83 | </dd> |
---|