Project

General

Profile

Revision 6135231a

Added by Assos Assos over 5 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/lightbox2/lightbox2.insert.inc
58 58
  $vars['linkurl'] = insert_create_url($linkpath);
59 59

  
60 60
  $vars['download_link'] = '';
61
  $download_link_text = check_plain(variable_get('lightbox2_download_link_text', 'Download Original'));
61
  $download_link_text = check_plain(t(variable_get('lightbox2_download_link_text', 'Download Original')));
62 62
  if (!empty($download_link_text) && user_access('download original image')) {
63 63
    $vars['download_link'] = '<br /><br />' . l($download_link_text, $vars['linkurl'], array('attributes' => array('target' => '_blank', 'id' => 'lightbox2-download-link-text')));
64 64
  }

Also available in: Unified diff