Projet

Général

Profil

Révision 18596a08

Ajouté par Assos Assos il y a presque 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media_youtube/includes/media_youtube.formatters.inc
147 147
    '#default_value' => $settings['loop'],
148 148
  );
149 149

  
150
  // Note: make sure the positive/negitive language lines up with option
150
  // Note: make sure the positive/negative language lines up with option
151 151
  // processing in media_youtube.theme.inc.
152 152
  $element['showinfo'] = array(
153 153
    '#title' => t('Display video title and uploader'),
......
173 173
    '#title' => t('Specify an http protocol'),
174 174
    '#type' => 'checkbox',
175 175
    '#default_value' => $settings['protocol_specify'],
176
    '#description' => t('An explicit protocol may be neccesary for videos embedded in RSS feeds and emails. If no protocol is specified, iframes will be protocol relative.'),
176
    '#description' => t('An explicit protocol may be necessary for videos embedded in RSS feeds and emails. If no protocol is specified, iframes will be protocol relative.'),
177 177
  );
178 178
  $element['protocol'] = array(
179 179
    '#title' => t('Iframe protocol'),
......
246 246
    if (empty($image_style) || !isset($valid_image_styles[$image_style])) {
247 247
      $element = array(
248 248
        '#theme' => 'image',
249
        '#path' => str_replace('http:', '', $wrapper->getOriginalThumbnailPath()),
249
        '#path' => str_replace('http:', '', $wrapper->getLocalThumbnailPath()),
250 250
        '#alt' => isset($file->override['attributes']['alt']) ? $file->override['attributes']['alt'] : $file->filename,
251 251
      );
252 252
    }

Formats disponibles : Unified diff