projects
/
bizou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New plugin to show filenames
[bizou.git]
/
plugins
/
_disabled
/
filenames
/
after_thumb.php
1
<?php
2
$filename = $GLOBALS["file"]["name"];
3
# comment this to have the file extensions
4
$filename = substr($filename, 0, strrpos($filename, '.'));
5
?>
6
<div class="imagefilename"><a href="<?= $GLOBALS["file"]["link"] ?>"><?= $filename ?></a></div>