forked from ZwiiCMS-Team/ZwiiCMS
Libellés + optimisation
This commit is contained in:
parent
e11fc3d101
commit
6330400c63
@ -638,8 +638,7 @@ class template {
|
||||
$j = 0;
|
||||
foreach($body as $tr) {
|
||||
// Id de ligne pour les tableaux drag and drop
|
||||
$html .= '<tr id="' . $rowsId[$j] . '">';
|
||||
$j++;
|
||||
$html .= '<tr id="' . $rowsId[$j++] . '">';
|
||||
$i = 0;
|
||||
foreach($tr as $td) {
|
||||
$html .= '<td class="col' . $cols[$i++] . '">' . $td . '</td>';
|
||||
|
@ -24,8 +24,8 @@ class gallery extends common {
|
||||
];
|
||||
|
||||
public static $sort = [
|
||||
'SORT_ASC' => 'Alphabétique naturel',
|
||||
'SORT_DSC' => 'Alphabétique naturel inverse',
|
||||
'SORT_ASC' => 'Alphabétique ',
|
||||
'SORT_DSC' => 'Alphabétique inversé',
|
||||
'none' => 'Aucun tri',
|
||||
];
|
||||
|
||||
|
@ -45,6 +45,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<?php if($module::$pictures): ?>
|
||||
<?php echo template::table([4, 1, 7], $module::$pictures, ['Image', 'Album','Légende']); ?>
|
||||
<?php echo template::table([4, 1, 7], $module::$pictures, ['Image', 'Couverture','Légende']); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo template::formClose(); ?>
|
Loading…
Reference in New Issue
Block a user