diff options
Diffstat (limited to 'app/view/templates/media.php')
-rw-r--r-- | app/view/templates/media.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 0f60368..ecd61b8 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -141,21 +141,7 @@ foreach ($medialist as $media) { <td><?= $media->width() ?></td> <td><?= $media->height() ?></td> <td><?= $media->length() ?></td> - <td class="code"><code> - <?php - if($media->type() == 'image') { - ?> -  ?>) - <?php - } elseif ($media->type() == 'other') { - ?> - [<?= $media->id() ?>](<?= $media->getincludepath() ?>) - <?php - } else { - echo $media->getincludepath(); - } - ?> - </code></td> + <td class="code"><code><?= $media->getcode() ?></code></td> </tr> <?php |