summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorKlap-in <klapinklapin@gmail.com>2013-01-26 21:03:14 +0100
committerKlap-in <klapinklapin@gmail.com>2013-01-26 21:03:14 +0100
commit3a2c510523e4ea91ab270c3075349f319e4bc95e (patch)
tree7fe2d24e5f4450cf78e9291e8a2899665274c636 /inc/parser
parent5fd9b829e7d9947de0eeead685e0a0cf707eff88 (diff)
parent1a40fc9935bd06a440a844e081e4bfce5fce2932 (diff)
downloadrpg-3a2c510523e4ea91ab270c3075349f319e4bc95e.tar.gz
rpg-3a2c510523e4ea91ab270c3075349f319e4bc95e.tar.bz2
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 68b92ca43..71f3aa4bf 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -803,6 +803,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$class = preg_replace('/[^_\-a-z0-9]+/i','_',$ext);
$link['class'] .= ' mediafile mf_'.$class;
$link['url'] = ml($src,array('id'=>$ID,'cache'=>$cache),true);
+ $link['title'] .= ' (' . filesize_h(filesize(mediaFN($src))).')';
}
if($hash) $link['url'] .= '#'.$hash;