Revision 1058
Added by Ruud over 15 years ago
browse.php | ||
---|---|---|
260 | 260 |
$template->pparse('output', 'page'); |
261 | 261 |
|
262 | 262 |
function ShowTip($name,$detail='') { |
263 |
$ext = strtolower(end(explode(".", $name))); |
|
263 |
$parts = explode(".", $name); |
|
264 |
$ext = strtolower(end($parts)); |
|
264 | 265 |
if (strpos('.gif.jpg.jpeg.png.bmp.',$ext) ) |
265 | 266 |
return 'onmouseover="overlib(\'<img src=\\\''.$name.'\\\' maxwidth=\\\'200\\\' maxheight=\\\'200\\\'>\',VAUTO, WIDTH)" onmouseout="nd()" ' ; |
266 | 267 |
else |
Also available in: Unified diff
admin / media / browse.php reported an error in E_STRICT mode.