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;
|
$j = 0;
|
||||||
foreach($body as $tr) {
|
foreach($body as $tr) {
|
||||||
// Id de ligne pour les tableaux drag and drop
|
// Id de ligne pour les tableaux drag and drop
|
||||||
$html .= '<tr id="' . $rowsId[$j] . '">';
|
$html .= '<tr id="' . $rowsId[$j++] . '">';
|
||||||
$j++;
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach($tr as $td) {
|
foreach($tr as $td) {
|
||||||
$html .= '<td class="col' . $cols[$i++] . '">' . $td . '</td>';
|
$html .= '<td class="col' . $cols[$i++] . '">' . $td . '</td>';
|
||||||
|
@ -24,8 +24,8 @@ class gallery extends common {
|
|||||||
];
|
];
|
||||||
|
|
||||||
public static $sort = [
|
public static $sort = [
|
||||||
'SORT_ASC' => 'Alphabétique naturel',
|
'SORT_ASC' => 'Alphabétique ',
|
||||||
'SORT_DSC' => 'Alphabétique naturel inverse',
|
'SORT_DSC' => 'Alphabétique inversé',
|
||||||
'none' => 'Aucun tri',
|
'none' => 'Aucun tri',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -45,6 +45,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php if($module::$pictures): ?>
|
<?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 endif; ?>
|
||||||
<?php echo template::formClose(); ?>
|
<?php echo template::formClose(); ?>
|
Loading…
Reference in New Issue
Block a user