function views_handler_comment_upload_filename_download in Comment Upload 5
File
- ./
comment_upload_views.inc, line 135
Code
function views_handler_comment_upload_filename_download($fieldinfo, $fielddata, $value, $data) {
$link_text = $fielddata['options'] ? $fielddata['options'] : $value;
return $value ? l($link_text, check_url(file_create_url($data->comment_upload_files_filepath))) : '';
}