diff --git a/e107_plugins/gallery/e_shortcode.php b/e107_plugins/gallery/e_shortcode.php index 09a13c424..ca15fc166 100644 --- a/e107_plugins/gallery/e_shortcode.php +++ b/e107_plugins/gallery/e_shortcode.php @@ -32,7 +32,7 @@ class gallery_shortcodes extends e_shortcode function sc_gallery_caption($parm='') { $tp = e107::getParser(); - $text = "attFull)."' rel='lightbox.Gallery2' >"; + $text = "attFull)."' rel='prettyPhoto[slide]' >"; // Erase rel"lightbox.Gallery2" - Write "prettyPhoto[slide]" $text .= $this->var['media_caption']; $text .= ""; return $text; @@ -235,7 +235,7 @@ class gallery_shortcodes extends e_shortcode { $this->setVars($row) ->addVars($cat); - + $inner .= ($count == 1) ? "\n\n\n\n\n" : "";