Index: block_admin.php =================================================================== RCS file: /cvsroot/moodle/moodle/blocks/admin/block_admin.php,v retrieving revision 1.100.2.7 diff -u -r1.100.2.7 block_admin.php --- block_admin.php 3 Mar 2008 11:41:01 -0000 1.100.2.7 +++ block_admin.php 2 May 2008 03:06:53 -0000 @@ -213,31 +213,9 @@ } } - - /// Should the following two be in this block? - - - /// View own activity report -// if ($course->showreports) { -// $this->content->items[]=''.get_string('activityreport').''; -// $this->content->icons[]=''; -// } - - - /// Edit your own profile - -// $fullname = fullname($USER, has_capability('moodle/site:viewfullnames', $context)); -// $editmyprofile = ''.get_string('editmyprofile').''; -// if (empty($USER->description)) { -// //Accessibility: replace non-standard with CSS ( makes title visible in IE). -// $text = get_string('profile').' '.get_string('missingdescription'); -// $this->content->items[]= $editmyprofile.' *'.$text.''; -// } else { -// $this->content->items[]= $editmyprofile; -// } -// $this->content->icons[]=''; - - + /// Link to the user own profile + $this->content->items[]=''.get_string('profile').''; + $this->content->icons[]=''; return $this->content; }