Commit 4ccb873a authored by frjo's avatar frjo
Browse files

Issue #2361041 by rOprOprOp: Fixed Custom Colorbox gallery Token Replacement.

parent f79b458b
......@@ -162,10 +162,10 @@ If you would like to have the characters %5B and %5D please use the html entity
$tokens = $this->get_render_tokens($this->options['alter']);
$popup = filter_xss_admin($this->options['popup']);
$caption = filter_xss_admin($this->options['caption']);
$gallery = drupal_html_class($this->options['custom_gid']);
$popup = strtr($popup, $tokens);
$caption = strtr($caption, $tokens);
$gallery = strtr($gallery, $tokens);
$gallery = strtr($this->options['custom_gid'] , $tokens);
$gallery = drupal_html_class($gallery);
$width = $this->options['width'] ? $this->options['width'] : '';
$height = $this->options['height'] ? $this->options['height'] : '';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment