aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/include/check_integrity.class.php7
-rw-r--r--template/yoga/admin/check_integrity.tpl6
2 files changed, 7 insertions, 6 deletions
diff --git a/admin/include/check_integrity.class.php b/admin/include/check_integrity.class.php
index 298edb6e3..52c7f2642 100644
--- a/admin/include/check_integrity.class.php
+++ b/admin/include/check_integrity.class.php
@@ -193,8 +193,8 @@ class check_integrity
{
$can_select = false;
$c13y_display = array(
- 'ID' => $c13y['id'],
- 'ANOMALY' => $c13y['anomaly'],
+ 'id' => $c13y['id'],
+ 'anomaly' => $c13y['anomaly'],
'show_ignore_msg' => false,
'show_correction_success_fct' => false,
'correction_error_fct' => '',
@@ -266,7 +266,8 @@ class check_integrity
$template->assign('c13y_show_submit_automatic_correction', $submit_automatic_correction);
$template->assign('c13y_show_submit_ignore', $submit_ignore);
- $template->assign_var_from_handle('ADMIN_CONTENT', 'check_integrity');
+ $template->concat_var('ADMIN_CONTENT', $template->parse('check_integrity', true));
+
}
}
diff --git a/template/yoga/admin/check_integrity.tpl b/template/yoga/admin/check_integrity.tpl
index 1e8c65db3..1783e69e2 100644
--- a/template/yoga/admin/check_integrity.tpl
+++ b/template/yoga/admin/check_integrity.tpl
@@ -16,12 +16,12 @@
<tr class="{if $smarty.foreach.c13y_loop.index is odd}row1{else}row2{/if}">
<td>
{if $c13y.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>
+ <input type="checkbox" name="c13y_selection[]" value="{$c13y.id}" id="c13y_selection-{$c13y.id}" /><label for="c13y_selection-{$c13y.id}"></label>
{/if}
</td>
- <td><label for="c13y_selection-{$c13y.ID}">{$c13y.ANOMALY}</label></td>
+ <td><label for="c13y_selection-{$c13y.id}">{$c13y.anomaly}</label></td>
<td>
- <label for="c13y_selection-{$c13y.ID}">
+ <label for="c13y_selection-{$c13y.id}">
{if $c13y.show_ignore_msg}
{'c13y_ignore_msg1'|@translate}
<br />