1 | {* $Id: check_integrity.tpl 2531 2008-09-14 12:25:34Z vdigital $ *} |
---|
2 | <dl> |
---|
3 | <dt>{'c13y_title'|@translate}</dt> |
---|
4 | <dd> |
---|
5 | <ul> |
---|
6 | <form method="post" name="c13y" id="c13y" action=""> |
---|
7 | <fieldset> |
---|
8 | <table class="table2"> |
---|
9 | <tr class="throw"> |
---|
10 | <th></th> |
---|
11 | <th>{'c13y_Anomaly'|@translate}</th> |
---|
12 | <th>{'c13y_Correction'|@translate}</th> |
---|
13 | </tr> |
---|
14 | {if isset($c13y_list)} |
---|
15 | {foreach from=$c13y_list item=c13y name=c13y_loop} |
---|
16 | <tr class="{if $smarty.foreach.c13y_loop.index is odd}row1{else}row2{/if}"> |
---|
17 | <td> |
---|
18 | {if $c13y.can_select} |
---|
19 | <input type="checkbox" name="c13y_selection[]" value="{$c13y.id}" id="c13y_selection-{$c13y.id}" /><label for="c13y_selection-{$c13y.id}"></label> |
---|
20 | {/if} |
---|
21 | </td> |
---|
22 | <td><label for="c13y_selection-{$c13y.id}">{$c13y.anomaly}</label></td> |
---|
23 | <td> |
---|
24 | <label for="c13y_selection-{$c13y.id}"> |
---|
25 | {if $c13y.show_ignore_msg} |
---|
26 | {'c13y_ignore_msg1'|@translate} |
---|
27 | <br /> |
---|
28 | {'c13y_ignore_msg2'|@translate} |
---|
29 | {/if} |
---|
30 | {if $c13y.show_correction_fct} |
---|
31 | {'c13y_Automatic_correction'|@translate} |
---|
32 | {/if} |
---|
33 | {if $c13y.show_correction_bad_fct} |
---|
34 | {'c13y_Impossible_automatic_correction'|@translate} |
---|
35 | {/if} |
---|
36 | {if $c13y.show_correction_success_fct} |
---|
37 | {'c13y_Correction_applied_success'|@translate} |
---|
38 | {/if} |
---|
39 | {if !empty($c13y.correction_error_fct)} |
---|
40 | {'c13y_Correction_applied_error'|@translate} |
---|
41 | <br /> |
---|
42 | {$c13y.c13y.correction_error_fct} |
---|
43 | {/if} |
---|
44 | {if !empty($c13y.correction_msg)} |
---|
45 | {if $c13y.show_correction_success_fct or !empty($c13y.correction_error_fct) or $c13y.show_correction_fct or $c13y.show_correction_bad_fct } |
---|
46 | <br /> |
---|
47 | {/if} |
---|
48 | {$c13y.correction_msg|@nl2br} |
---|
49 | {/if} |
---|
50 | </label> |
---|
51 | </td> |
---|
52 | </tr> |
---|
53 | {/foreach} |
---|
54 | {/if} |
---|
55 | </table> |
---|
56 | |
---|
57 | <p> |
---|
58 | {if $c13y_show_submit_ignore} |
---|
59 | <a href="#" onclick="SelectAll(document.getElementById('c13y')); return false;">{'Check all'|@translate}</a> |
---|
60 | / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); return false;">{'Uncheck all'|@translate}</a> |
---|
61 | {/if} |
---|
62 | {if isset($c13y_do_check)} |
---|
63 | / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); |
---|
64 | {foreach from=$c13y_do_check item=ID} |
---|
65 | document.getElementById('c13y_selection-{$ID}').checked = true; |
---|
66 | {/foreach} |
---|
67 | return false;">{'c13y_check_auto'|@translate}</a> |
---|
68 | {/if} |
---|
69 | </p> |
---|
70 | |
---|
71 | <p> |
---|
72 | {if $c13y_show_submit_automatic_correction} |
---|
73 | <input class="submit" type="submit" value="{'c13y_submit_correction'|@translate}" name="c13y_submit_correction" {$TAG_INPUT_ENABLED} /> |
---|
74 | {/if} |
---|
75 | {if $c13y_show_submit_ignore} |
---|
76 | <input class="submit" type="submit" value="{'c13y_submit_ignore'|@translate}" name="c13y_submit_ignore" {$TAG_INPUT_ENABLED} /> |
---|
77 | {/if} |
---|
78 | <input class="submit" type="submit" value="{'c13y_submit_refresh'|@translate}" name="c13y_submit_refresh" /> |
---|
79 | </p> |
---|
80 | |
---|
81 | </fieldset> |
---|
82 | </form> |
---|
83 | </ul> |
---|
84 | </dd> |
---|