bizou/plugins/_disabled/filenames/after_thumb.php

7 lines
246 B
PHP
Raw Normal View History

2013-08-17 22:17:39 +02:00
<?php
$filename = $GLOBALS["file"]["name"];
# comment this to have the file extensions
$filename = substr($filename, 0, strrpos($filename, '.'));
?>
<div class="imagefilename"><a href="<?= $GLOBALS["file"]["link"] ?>"><?= $filename ?></a></div>