From: vincent@cubedesigners.com Date: Wed, 23 Feb 2011 18:26:35 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b09e7017f35a0363708d3491a5c172f880adbd6b;p=cubeextranet.git --- diff --git a/inc/ws/Metier/class.ws.icone.php b/inc/ws/Metier/class.ws.icone.php index bb4d87533..843c9cab0 100644 --- a/inc/ws/Metier/class.ws.icone.php +++ b/inc/ws/Metier/class.ws.icone.php @@ -20,10 +20,13 @@ class wsIcone extends cubeMetier { $w = 5; $mod = 0; - $liste = self::$files; + $liste = self::$display; - foreach($liste as $display) { + foreach($liste as $file) { $image = $root . 'nav-' . $file . '.png'; + if (!file_exists($image)) { + continue; + } $dim = getimagesize($image); $mod = max(filemtime($image), $mod); $h = max($h, $dim[1]); @@ -40,8 +43,11 @@ class wsIcone extends cubeMetier { imagesavealpha($im, true); imagealphablending($im, true); $x = 5; - foreach($liste as $display) { + foreach($liste as $file) { $image = $root . 'nav-' . $file . '.png'; + if (!file_exists($image)) { + continue; + } $s = imagecreatefrompng($image); $w = imagesx($s); $h = imagesy($s); diff --git a/swf/_src/wsComposerComponents.fla b/swf/_src/wsComposerComponents.fla index a09c2473a..3907469d0 100644 Binary files a/swf/_src/wsComposerComponents.fla and b/swf/_src/wsComposerComponents.fla differ diff --git a/swf/_src/wsComposerComponents.swc b/swf/_src/wsComposerComponents.swc index 8287d3ccd..2992cf91d 100644 Binary files a/swf/_src/wsComposerComponents.swc and b/swf/_src/wsComposerComponents.swc differ