diff options
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/file/fragments/asciinema-player.php | 2 | ||||
-rw-r--r-- | application/views/file/fragments/audio-player.php | 2 | ||||
-rw-r--r-- | application/views/file/fragments/video-player.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/application/views/file/fragments/asciinema-player.php b/application/views/file/fragments/asciinema-player.php index 5eb8041f7..53a500831 100644 --- a/application/views/file/fragments/asciinema-player.php +++ b/application/views/file/fragments/asciinema-player.php @@ -1,7 +1,7 @@ <div class="container-wide"> <div class='panel panel-default'> <div class='panel-heading'> - <?php echo anchor(site_url($filedata['id']), htmlspecialchars($filedata["filename"])); ?> + <?php echo anchor(site_url($filedata['id'])."/", htmlspecialchars($filedata["filename"])); ?> </div> <div id="player-container-<?php echo $filedata['id']; ?>" class="asciinema_player" data-url="<?php echo site_url($filedata['id']); ?>"></div> </div> diff --git a/application/views/file/fragments/audio-player.php b/application/views/file/fragments/audio-player.php index 517506039..154153489 100644 --- a/application/views/file/fragments/audio-player.php +++ b/application/views/file/fragments/audio-player.php @@ -3,6 +3,6 @@ <audio controls="controls"> <source src="<?php echo site_url($filedata["id"]); ?>"> </audio> - <?php echo anchor(site_url($filedata['id']), htmlspecialchars($filedata["filename"])); ?> + <?php echo anchor(site_url($filedata['id'])."/", htmlspecialchars($filedata["filename"])); ?> </p> </div> diff --git a/application/views/file/fragments/video-player.php b/application/views/file/fragments/video-player.php index 096bb2d59..6342c1692 100644 --- a/application/views/file/fragments/video-player.php +++ b/application/views/file/fragments/video-player.php @@ -1,7 +1,7 @@ <div class="container-wide"> <div class='panel panel-default'> <div class='panel-heading'> - <?php echo anchor(site_url($filedata['id']), htmlspecialchars($filedata["filename"])); ?> + <?php echo anchor(site_url($filedata['id'])."/", htmlspecialchars($filedata["filename"])); ?> </div> <div> <video controls="controls"> |