From 653bcc596cca5dc501ce20ca32c86d94c1bf26a8 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 6 Feb 2006 03:06:16 +0000 Subject: [PATCH] Added a link to the listtemplate images to the full record --- mod/data/field/picture/field.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/data/field/picture/field.class.php b/mod/data/field/picture/field.class.php index 8dc21e59959..406bcd4f833 100755 --- a/mod/data/field/picture/field.class.php +++ b/mod/data/field/picture/field.class.php @@ -134,11 +134,12 @@ class data_field_picture extends data_field_file {// extends if ($template == 'listtemplate') { $width = $field->param4 ? ' width="'.$field->param4.'" ':' '; $height = $field->param5 ? ' height="'.$field->param5.'" ':' '; + $str = ''.$alt.''; } else { $width = $field->param1 ? ' width="'.$field->param1.'" ':' '; $height = $field->param2 ? ' height="'.$field->param2.'" ':' '; + $str = ''.$alt.''; } - $str = ''.$alt.''; return $str; } return false;