diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-03-22 16:55:06 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-03-26 17:42:01 +0100 |
commit | 633076d7c9275b33b722d9a7989e63839f8c38d2 (patch) | |
tree | b1ca9757d512da3669d6419b653cdc7a1d5c5bd0 /app/view/templates | |
parent | cfd04f2ecedf57f01cbb3c47a3ee0578d07ccec4 (diff) | |
download | wcms-633076d7c9275b33b722d9a7989e63839f8c38d2.tar.gz wcms-633076d7c9275b33b722d9a7989e63839f8c38d2.zip |
media date display
Diffstat (limited to 'app/view/templates')
-rw-r--r-- | app/view/templates/media.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 59d0836..054022a 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -81,6 +81,7 @@ $this->layout('layout', ['title' => 'media', 'stylesheets' => [$css . 'home.css' <th>ext</th> <th><a href="<?= $mediaopt->getsortbyadress('type') ?>">type</a></th> <th><a href="<?= $mediaopt->getsortbyadress('size') ?>">size</a></th> + <th><a href="<?= $mediaopt->getsortbyadress('date') ?>">date</a></th> <th>width</th> <th>height</th> <th>lengh</th> @@ -96,6 +97,7 @@ $this->layout('layout', ['title' => 'media', 'stylesheets' => [$css . 'home.css' <td><?= $media->extension() ?></td> <td class="nowrap"><a href="<?= $media->getfullpath() ?>" target="_blank"><?= $media->type() == 'image' ? '<span class="thumbnail">' . $media->getsymbol() . '<img src="' . $media->getfullpath() . '"></span>' : $media->getsymbol() ?></a></td> <td class="nowrap"><?= $media->size('hr') ?></td> + <td class="nowrap"><?= $media->date('hrdi') ?></td> <td><?= $media->width() ?></td> <td><?= $media->height() ?></td> <td><?= $media->length() ?></td> |