Show full filename on mouseover.

This commit is contained in:
Savetheinternet 2011-10-01 22:12:31 +10:00
parent d62f0ee046
commit 339853e5de
6 changed files with 32 additions and 9 deletions

View file

@ -352,7 +352,14 @@
}
if($config['show_filename']) {
// Filename
$built .= ', ' . $this->filename;
$built .= ', ' .
(strlen($this->filename) > $config['max_filename_display'] ?
'<span title="' . $this->filename . '">' .
substr($this->filename, 0, $config['max_filename_display']) . '&hellip;' .
'</span>'
:
$this->filename
);
}
$built .= ')</span></p>' .
@ -511,7 +518,14 @@
}
if($config['show_filename']) {
// Filename
$built .= ', ' . $this->filename;
$built .= ', ' .
(strlen($this->filename) > $config['max_filename_display'] ?
'<span title="' . $this->filename . '">' .
substr($this->filename, 0, $config['max_filename_display']) . '&hellip;' .
'</span>'
:
$this->filename
);
}
$built .= ')</span></p>' .