forked from leftypol/leftypol
Show full filename on mouseover.
This commit is contained in:
parent
d62f0ee046
commit
339853e5de
6 changed files with 32 additions and 9 deletions
|
@ -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']) . '…' .
|
||||
'</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']) . '…' .
|
||||
'</span>'
|
||||
:
|
||||
$this->filename
|
||||
);
|
||||
}
|
||||
|
||||
$built .= ')</span></p>' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue