Projet

Général

Profil

Révision 62f5c69e

Ajouté par Assos Assos il y a presque 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/colorbox/views/colorbox_handler_field_colorbox.inc
162 162
    $tokens = $this->get_render_tokens($this->options['alter']);
163 163
    $popup = filter_xss_admin($this->options['popup']);
164 164
    $caption = filter_xss_admin($this->options['caption']);
165
    $gallery = drupal_html_class($this->options['custom_gid']);
165
    $gallery = filter_xss_admin($this->options['custom_gid']);
166 166
    $popup = strtr($popup, $tokens);
167 167
    $caption = strtr($caption, $tokens);
168
    $gallery = strtr($gallery, $tokens);
168
    $gallery = drupal_html_class(strtr($gallery, $tokens));
169

  
170
    // Return nothing if popup is empty.
171
    if (empty($popup)) {
172
      return;
173
    }
169 174

  
170 175
    $width = $this->options['width'] ? $this->options['width'] : '';
171 176
    $height = $this->options['height'] ? $this->options['height'] : '';

Formats disponibles : Unified diff