| 874 |
} |
} |
| 875 |
$node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); |
$node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); |
| 876 |
if (!empty($node_link_text)) { |
if (!empty($node_link_text)) { |
| 877 |
$node_link .= '<br /><br />'. l($node_link_text, 'node/'. $item['nid'], $attributes); |
$node_link .= '<br /><br />'. l($node_link_text, 'node/'. $item['nid'], array('attributes' => $attributes)); |
| 878 |
} |
} |
| 879 |
} |
} |
| 880 |
|
|
| 901 |
$image = theme('imagecache', $view_preset, $item['filepath'], $item['alt'], $item['title'], $attributes); |
$image = theme('imagecache', $view_preset, $item['filepath'], $item['alt'], $item['title'], $attributes); |
| 902 |
} |
} |
| 903 |
if ($item['lightbox_preset'] == 'node') { |
if ($item['lightbox_preset'] == 'node') { |
| 904 |
$output = l($image, 'node/'. $node->nid .'/lightbox2', $link_attributes, NULL, NULL, FALSE, TRUE); |
$output = l($image, 'node/'. $node->nid .'/lightbox2', array('attributes' => $link_attributes, 'html' => TRUE)); |
| 905 |
} |
} |
| 906 |
else if ($item['lightbox_preset'] == 'original') { |
else if ($item['lightbox_preset'] == 'original') { |
| 907 |
$output = l($image, file_create_url($item['filepath']), array('attributes' => $link_attributes, 'html' => TRUE)); |
$output = l($image, file_create_url($item['filepath']), array('attributes' => $link_attributes, 'html' => TRUE)); |
| 941 |
} |
} |
| 942 |
$rel = 'lightframe[|width:'. $width .'px; height:'. $height .'px; overflow:visible;]'; |
$rel = 'lightframe[|width:'. $width .'px; height:'. $height .'px; overflow:visible;]'; |
| 943 |
|
|
| 944 |
$output = l($thumbnail, $destination, array('title' => $title, 'rel' => $rel, 'class' => $field['type_name'], 'html' => TRUE)); |
$output = l($thumbnail, $destination, array('attributes' => array('title' => $title, 'rel' => $rel, 'class' => $field['type_name']), 'html' => TRUE)); |
| 945 |
return $output; |
return $output; |
| 946 |
} |
} |
| 947 |
|
|
| 1038 |
} |
} |
| 1039 |
$node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); |
$node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); |
| 1040 |
if (!empty($node_link_text) && !empty($link)) { |
if (!empty($node_link_text) && !empty($link)) { |
| 1041 |
$node_link = '<br /><br />'. l($node_link_text, $link, $attributes); |
$node_link = '<br /><br />'. l($node_link_text, $link, array('attributes' => $attributes)); |
| 1042 |
} |
} |
| 1043 |
|
|
| 1044 |
$title = module_invoke('emfield', 'include_invoke', 'image_ncck', $item['provider'], 'image_title', $code, $item['data']); |
$title = module_invoke('emfield', 'include_invoke', 'image_ncck', $item['provider'], 'image_title', $code, $item['data']); |
| 1286 |
} |
} |
| 1287 |
$node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); |
$node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); |
| 1288 |
if (!empty($node_link_text)) { |
if (!empty($node_link_text)) { |
| 1289 |
$node_link .= '<br /><br />'. l($node_link_text, $link, $attributes); |
$node_link .= '<br /><br />'. l($node_link_text, $link, array('attributes' => $attributes)); |
| 1290 |
} |
} |
| 1291 |
} |
} |
| 1292 |
|
|
| 1300 |
} |
} |
| 1301 |
|
|
| 1302 |
$url = file_create_url($path); |
$url = file_create_url($path); |
| 1303 |
return '<div class="filefield-item">'. $icon . l($description, $url, $link_attributes) .'</div>'; |
return '<div class="filefield-item">'. $icon . l($description, $url, array('attributes' => $link_attributes)) .'</div>'; |
| 1304 |
} |
} |
| 1305 |
return ''; |
return ''; |
| 1306 |
} |
} |