Create a ticket please. COil
----- Message d'origine ---- De : Ferran Martínez <[EMAIL PROTECTED]> À : symfony-devs@googlegroups.com Envoyé le : Vendredi, 8 Juin 2007, 10h00mn 40s Objet : [symfony-devs] Error in sfLightBoxPlugin Hi, I found a little mistake inside the light_slideshow function of the sfLightBoxPlugin, The $options array doesn't exist. It must be the $link_options array, otherwise if you put two slideshows in the same template, it displays both as the same one. function light_slideshow($images, $link_options = array()) { _addLbRessources(); $link_options = _parse_attributes($link_options); // Lightbox specific $link_options['rel'] = 'lightbox['. ((isset($options['slidename']) ? $options['slidename'] : 'slide')) .']'; $link_options['rel'] = 'lightbox['. ((isset( $link_options['slidename']) ? $link_options ['slidename'] : 'slide')) .']'; unset($link_options['slidename']); $value = ''; if ($images) { $title = $link_options['title']; foreach ($images as $image) { $image['options']['rel'] = $link_options['rel']; $link_options['title'] = isset($image['options']['title']) && $image['options']['title'] ? $image['options']['title'] : $title; $value .= light_image($image['thumbnail'], $image['image'], $link_options, $image['options']); } } return $value; } I don't know where to post this ticket, so If anyone could tell me where, I'll be glad to post it :P thanks! ferran _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---