field_image) > 0){
if (in_array($entity->type,array('action'))){
print theme_image( array('path' => image_style_url(($entity->field_show_title_in_list['und'][0]['value'] == 1) ? '475x314' : 'news_list_standard', $entity->field_image['und'][0]['uri']), 'attributes' => array() ));
} else {
print theme_image( array('path' => image_style_url(($entity->field_show_title_in_list['und'][0]['value'] == 1) ? 'news_list_standard' : 'news_list_high', $entity->field_image['und'][0]['uri']), 'attributes' => array() ));
}
}
?>
body) > 0 && isset($entity->body['und'][0]['safe_value'])){
$summary = ($entity->body['und'][0]['summary'] != '') ? $entity->body['und'][0]['summary'] : substr(strip_tags($entity->body['und'][0]['safe_value']), 0, 80) . '...';
}
$url = '';
$classes = '';
$query = array();
if(count($entity->field_alt_link) > 0) {
$url = $entity->field_alt_link['und'][0]['display_url'];
} elseif (count($entity->field_video) > 0) {
$url = str_replace('/watch?v=', '/v/', $entity->field_video['und'][0]['input']);
$query['fs'] = 1;
$query['width'] = 640;
$query['height'] = 480;
$query['iframe'] = true;
$query['rel'] = 0;
$classes = 'colorbox-load';
} else {
$url = 'node/' . $entity->nid;
}
$link = l(t('Read more'), $url, array('attributes' => array('class' => $classes), 'query' => $query));
?>
VERLICHTING BY EVE
field_alt_link) > 0) {
$url = $entity->field_alt_link['und'][0]['display_url'];
} elseif (count($entity->field_video) > 0) {
$url = str_replace(array('/watch?v=', '/v/'), '/embed/', $entity->field_video['und'][0]['input']);
$url = str_replace('youtu.be/', 'youtube.com/embed/', $url);
$query['fs'] = 1;
$query['width'] = 640;
$query['height'] = 480;
$query['iframe'] = true;
$query['rel'] = 0;
$query['html5'] = 1;
$classes = 'colorbox-load';
} else {
$url = 'node/' . $entity->nid;
}
print l(t('Read more'), $url, array('attributes' => array('class' => $classes), 'query' => $query));
?>