Changeset 721
- Timestamp:
- 11/27/06 14:57:17 (2 years ago)
- Files:
-
- devel/mod/community/lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/community/lib.php
r659 r721 14 14 15 15 if (defined("context") && context == "profile") { 16 17 $PAGE->menu_sub[] = array( 'name' => 'profile:edit',18 'html' => '<a href="'.$CFG->wwwroot.'profile/edit.php?profile_id='.$page_owner.'">'19 . __gettext("Edit this profile") . '</a>');20 16 21 17 if (run("permissions:check", "profile")) { 22 18 19 $PAGE->menu_sub[] = array( 'name' => 'profile:edit', 20 'html' => '<a href="'.$CFG->wwwroot.'profile/edit.php?profile_id='.$page_owner.'">' 21 . __gettext("Edit this profile") . '</a>'); 22 23 23 $PAGE->menu_sub[] = array( 'name' => 'community:pic', 24 24 'html' => a_href("{$CFG->wwwroot}_icons/?context=profile&profile_id=$page_owner" ,
