Project

General

Profile

« Previous | Next » 

Revision 1058

Added by Ruud over 15 years ago

admin / media / browse.php reported an error in E_STRICT mode.

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
13-July-2009 Ruud Eisinga
15
#	admin / media / browse reported an error in E_STRICT mode.
14 16
13-July 2009 Dietrich Roland Pehlke
15 17
#	News-Modul: add the unlink-routine for the ".news" folder inside uninstall.php
16 18
	so the groupe-images are also unlink.
trunk/wb/admin/media/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