1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-06 04:06:08 +02:00

Image caption - Link start slideshow

This commit is contained in:
Roland Graf 2014-02-08 20:07:02 +01:00
parent af9138885d
commit 0f6c16bdc8

View File

@ -32,7 +32,7 @@ class gallery_shortcodes extends e_shortcode
function sc_gallery_caption($parm='')
{
$tp = e107::getParser();
$text = "<a class='gallery-caption' title='".$tp->toAttribute($this->var['media_caption'])."' href='".$tp->thumbUrl($this->var['media_url'], $this->attFull)."' rel='lightbox.Gallery2' >";
$text = "<a class='gallery-caption' title='".$tp->toAttribute($this->var['media_caption'])."' href='".$tp->thumbUrl($this->var['media_url'], $this->attFull)."' rel='prettyPhoto[slide]' >"; // Erase rel"lightbox.Gallery2" - Write "prettyPhoto[slide]"
$text .= $this->var['media_caption'];
$text .= "</a>";
return $text;