source: branches/2.1/admin/themes/default/template/check_integrity.tpl @ 6364

Last change on this file since 6364 was 6364, checked in by plg, 14 years ago

remove all svn:mergeinfo properties

  • Property svn:eol-style set to LF
File size: 3.6 KB
RevLine 
[2531]1<dl>
[5021]2  <dt>{'Check integrity'|@translate}</dt>
[2531]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>
[5021]10            <th>{'Anomaly'|@translate}</th>
11            <th>{'Correction'|@translate}</th>
[2531]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}
[3185]18                    <input type="checkbox" name="c13y_selection[]" value="{$c13y.id}" id="c13y_selection-{$c13y.id}"><label for="c13y_selection-{$c13y.id}"></label>
[2531]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}
[5021]25                      {'The anomaly will be ignored until next application version'|@translate}
[3185]26                      <br>
[5021]27                      {'Correction the anomaly will cancel the fact that it\'s ignored'|@translate}
[2531]28                    {/if}
29                    {if $c13y.show_correction_fct}
[5021]30                      {'Automatic correction'|@translate}
[2531]31                    {/if}
32                    {if $c13y.show_correction_bad_fct}
[5021]33                      {'Impossible automatic correction'|@translate}
[2531]34                    {/if}
35                    {if $c13y.show_correction_success_fct}
[5021]36                      {'Correction applied with success'|@translate}
[2531]37                    {/if}
38                    {if !empty($c13y.correction_error_fct)}
[5021]39                      {'Correction applied with error'|@translate}
[3185]40                      <br>
[2531]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 }
[3185]45                        <br>
[2531]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}
[5021]66            return false;">{'Check automatic corrections'|@translate}</a>
[2531]67          {/if}
68        </p>
69
70        <p>
71          {if $c13y_show_submit_automatic_correction}
[5021]72            <input class="submit" type="submit" value="{'Apply selected corrections'|@translate}" name="Apply selected corrections" {$TAG_INPUT_ENABLED}>
[2531]73          {/if}
74          {if $c13y_show_submit_ignore}
[5021]75            <input class="submit" type="submit" value="{'Ignore selected anomalies'|@translate}" name="Ignore selected anomalies" {$TAG_INPUT_ENABLED}>
[2531]76          {/if}
[5021]77          <input class="submit" type="submit" value="{'Refresh'|@translate}" name="Refresh">
[2531]78          </p>
79
80      </fieldset>
81      </form>
82    </ul>
83  </dd>
Note: See TracBrowser for help on using the repository browser.