forked from ZwiiCMS-Team/ZwiiCMS
Format de date
This commit is contained in:
parent
49180ab4ed
commit
5e7c9597cd
@ -163,7 +163,7 @@ class folder extends common
|
|||||||
if ($showDetails) {
|
if ($showDetails) {
|
||||||
$fileSize = filesize($fileFullPath);
|
$fileSize = filesize($fileFullPath);
|
||||||
$fileSizeFormatted = $this->formatSizeUnits($fileSize);
|
$fileSizeFormatted = $this->formatSizeUnits($fileSize);
|
||||||
$fileInfo = "<span class='file-info'> " . date("Y-m-d H:i:s", filemtime($fileFullPath)) . ", $fileSizeFormatted</span>";
|
$fileInfo = "<span class='file-info'> " . date("d-m-Y H:i", filemtime($fileFullPath)) . " - $fileSizeFormatted</span>";
|
||||||
}
|
}
|
||||||
$items .= "<li class='file'><a href='$fileFullPath' data-lity>$file</a>$fileInfo</li>";
|
$items .= "<li class='file'><a href='$fileFullPath' data-lity>$file</a>$fileInfo</li>";
|
||||||
}
|
}
|
||||||
|
@ -52,6 +52,7 @@
|
|||||||
/* Style pour les sous-éléments des dossiers */
|
/* Style pour les sous-éléments des dossiers */
|
||||||
.sub-items {
|
.sub-items {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
margin-left: -40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style pour les informations de fichier */
|
/* Style pour les informations de fichier */
|
||||||
|
Loading…
Reference in New Issue
Block a user