# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/lang/en_utf8/moodle.php
--- moodle/lang/en_utf8/moodle.php Base (1.141.2.83)
+++ moodle/lang/en_utf8/moodle.php Locally Modified (Based On 1.141.2.83)
@@ -1625,6 +1625,7 @@
 $string['usernamenotfound'] = 'The username was not found in the database';
 $string['usernotconfirmed'] = 'Could not confirm $a';
 $string['userpic'] = 'User picture';
+$string['userpiclarge'] = 'User picture (large)';
 $string['userprofilefor'] = 'User profile for $a';
 $string['users'] = 'Users';
 $string['usersnew'] = 'New users';
Index: moodle/mod/data/lib.php
--- moodle/mod/data/lib.php Base (1.137.2.57)
+++ moodle/mod/data/lib.php Locally Modified (Based On 1.137.2.57)
@@ -972,6 +972,11 @@
         $replacement[] = '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$record->userid.
                                '&amp;course='.$data->course.'">'.fullname($record).'</a>';
         
+        $patterns[]='##userpicture##';
+        $replacement[] = print_user_picture($record->userid, $cm->course, get_field('user','picture','id',$record->userid), false, true);
+        $patterns[]='##userpicturelarge##';
+        $replacement[] = print_user_picture($record->userid, $cm->course, get_field('user','picture','id',$record->userid), true, true);
+        
         $patterns[] = '##timeadded##';
         $replacement[] = userdate($record->timecreated); 
 
Index: moodle/mod/data/templates.php
--- moodle/mod/data/templates.php Base (1.68.2.5)
+++ moodle/mod/data/templates.php Locally Modified (Based On 1.68.2.5)
@@ -236,6 +236,8 @@
             echo '<option value="##timeadded##">'.get_string('timeadded', 'data'). ' - ##timeadded##</option>';
             echo '<option value="##timemodified##">'.get_string('timemodified', 'data'). ' - ##timemodified##</option>';
             echo '<option value="##user##">' .get_string('user'). ' - ##user##</option>';
+            echo '<option value="##userpicture##">' .get_string('userpic'). ' - ##userpicture##</option>';
+            echo '<option value="##userpicturelarge##">' .get_string('userpiclarge'). ' - ##userpicturelarge##</option>';
             if ($mode != 'singletemplate') {
                 // more points to single template - not useable there
                 echo '<option value="##comments##">' .get_string('comments', 'data'). ' - ##comments##</option>';
Index: moodle/theme/standard/styles_layout.css
--- moodle/theme/standard/styles_layout.css Base (1.516.2.82)
+++ moodle/theme/standard/styles_layout.css Locally Modified (Based On 1.516.2.82)
@@ -3263,8 +3263,8 @@
 .userpicture,
 .picture user,
 .picture teacher {
-  width:35px;
-  height:35px;
+  /* width:35px;
+  height:35px; */
   vertical-align:top;
 }
 .modform {
