From 5019671cf2bba2202c0024f3bd309fe674251226 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 26 Mar 2020 18:07:28 +0100 Subject: sort media by date and ext fix #67 --- app/view/templates/home.php | 6 +++--- app/view/templates/media.php | 8 +++----- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/home.php b/app/view/templates/home.php index d1b3421..6c3ad62 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -163,13 +163,13 @@ linktolink($item->linkto('array')) ?> - + datemodif('dmy') ?> datemodif('ptime') ?>> - + datecreation('dmy') ?> datecreation('ptime') ?>> - + date('dmy') ?> date('ptime') ?>> securelink($item->secure('int') , $item->secure('string')) ?> diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 054022a..50fc0d6 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -48,9 +48,7 @@ $this->layout('layout', ['title' => 'media', 'stylesheets' => [$css . 'home.css'
Sort
order() == 1 ? 'checked' : '' ?>> @@ -78,7 +76,7 @@ $this->layout('layout', ['title' => 'media', 'stylesheets' => [$css . 'home.css' x id - ext + ext type size date @@ -97,7 +95,7 @@ $this->layout('layout', ['title' => 'media', 'stylesheets' => [$css . 'home.css' extension() ?> type() == 'image' ? '' . $media->getsymbol() . '' : $media->getsymbol() ?> size('hr') ?> - date('hrdi') ?> + date('hrdi') ?> width() ?> height() ?> length() ?> -- cgit v1.2.3