diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-03-26 19:24:20 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-03-26 19:24:20 +0100 |
commit | 9ce7ecebaf118546bf3a3cbad7ce448d490ade15 (patch) | |
tree | 7187365d3d7eed3670d403e30f22dae2e150b7d4 /app/class/Medialist.php | |
parent | 5019671cf2bba2202c0024f3bd309fe674251226 (diff) | |
download | wcms-9ce7ecebaf118546bf3a3cbad7ce448d490ade15.tar.gz wcms-9ce7ecebaf118546bf3a3cbad7ce448d490ade15.zip |
media add user and permissions data
Diffstat (limited to 'app/class/Medialist.php')
-rw-r--r-- | app/class/Medialist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Medialist.php b/app/class/Medialist.php index ca42f4b..3395b58 100644 --- a/app/class/Medialist.php +++ b/app/class/Medialist.php @@ -74,7 +74,7 @@ class Medialist extends Item $div .= '<audio id="' . $media->id() . '" controls src="' . $media->getincludepath() . '" </audio>'; } elseif ($media->type() == 'video') { $div .= '<video controls><source src="' . $media->getincludepath() . '" type="video/' . $media->extension() . '"></video>'; - } elseif ($media->type() == 'other') { + } else { $div .= '<a href="' . $media->getincludepath() . '" target="_blank" class="media" >' . $media->id() . '.' . $media->extension() . '</a>'; } $div .= '</div>' . PHP_EOL; |