mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 02:03:18 +02:00
Fix some c13y/smarty bugs
git-svn-id: http://piwigo.org/svn/trunk@2269 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user