Changeset 466
- Timestamp:
- 07/22/06 13:40:37 (2 years ago)
- Files:
-
- devel/mod/profile/lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/profile/lib.php
r459 r466 20 20 } 21 21 22 if (profile_permissions_check("profile") && context === "profile" && run("users:type:get", $page_owner) == "person") { 23 24 $PAGE->menu_sub[] = array( 'name' => 'profile:edit', 25 'html' => '<a href="'.$CFG->wwwroot.'profile/edit.php?profile_id='.$pgowner.'">' 26 . gettext("Edit this profile") . '</a>'); 22 if (profile_permissions_check("profile") && context === "profile") { 27 23 28 24 if (run("users:type:get", $pgowner) == "person") { 25 $PAGE->menu_sub[] = array( 'name' => 'profile:edit', 26 'html' => '<a href="'.$CFG->wwwroot.'profile/edit.php?profile_id='.$pgowner.'">' 27 . gettext("Edit this profile") . '</a>'); 28 29 29 $PAGE->menu_sub[] = array( 'name' => 'profile:picedit', 30 30 'html' => '<a href="'.$CFG->wwwroot.'_icons/?context=profile&profile_id='.$pgowner.'">'
