Changeset 490
- Timestamp:
- 08/10/06 18:23:13 (2 years ago)
- Files:
-
- devel/mod/community/lib.php (modified) (3 diffs)
- devel/mod/file/lib.php (modified) (2 diffs)
- devel/mod/friend/lib.php (modified) (1 diff)
- devel/mod/template/lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/community/lib.php
r468 r490 23 23 $PAGE->menu_sub[] = array( 'name' => 'community:pic', 24 24 'html' => a_hrefg("{$CFG->wwwroot}_icons/?context=profile&profile_id=$page_owner" , 25 "Community site picture"));25 gettext("Community site picture"))); 26 26 27 27 $PAGE->menu_sub[] = array( 'name' => 'community:edit', 28 28 'html' => a_hrefg("{$CFG->wwwroot}_userdetails/?context=profile&profile_id=$page_owner" , 29 "Edit community details"));29 gettext("Edit community details"))); 30 30 31 31 } … … 35 35 $PAGE->menu_sub[] = array( 'name' => 'community:requests', 36 36 'html' => a_hrefg("{$CFG->wwwroot}_communities/requests.php?profile_id=$page_owner", 37 "View membership requests"));37 gettext("View membership requests"))); 38 38 } 39 39 40 40 /*$PAGE->menu_sub[] = array( 'name' => 'community:members', 41 41 'html' => a_hrefg("{$CFG->wwwroot}_communities/members.php?owner=$page_owner" , 42 "Community Members"));*/42 gettext("Community Members")));*/ 43 43 44 44 … … 49 49 $PAGE->menu_sub[] = array( 'name' => 'community', 50 50 'html' => a_hrefg("{$CFG->wwwroot}_communities/?owner=$page_owner" , 51 "Communities"));51 gettext("Communities"))); 52 52 53 53 $PAGE->menu_sub[] = array( 'name' => 'community:owned', 54 54 'html' => a_hrefg("{$CFG->wwwroot}_communities/owned.php?owner=$page_owner" , 55 "Owned Communities"));55 gettext("Owned Communities"))); 56 56 57 57 } devel/mod/file/lib.php
r468 r490 26 26 $PAGE->menu_sub[] = array( 'name' => 'file:add', 27 27 'html' => a_hrefg( "#addFile", 28 "Add a file or a folder"));28 gettext("Add a file or a folder"))); 29 29 } 30 30 if ($page_owner != -1) { … … 32 32 $PAGE->menu_sub[] = array( 'name' => 'file:rss', 33 33 'html' => a_hrefg( $CFG->wwwroot.$_SESSION['username']."/files/rss/", 34 "RSS feed for files"));34 gettext("RSS feed for files"))); 35 35 } 36 36 if ($page_owner == $_SESSION['userid'] && $page_owner != -1) { 37 37 $PAGE->menu_sub[] = array( 'name' => 'file:help', 38 38 'html' => a_hrefg( $CFG->wwwroot."help/files_help.php", 39 "Page help"));39 gettext("Page help"))); 40 40 } 41 41 } devel/mod/friend/lib.php
r481 r490 28 28 $PAGE->menu_sub[] = array( 'name' => 'friend', 29 29 'html' => a_hrefg("{$CFG->wwwroot}{$friends_username}/friends/" , 30 "Friends"));30 gettext("Friends"))); 31 31 32 32 $PAGE->menu_sub[] = array( 'name' => 'friend:of', 33 33 'html' => a_hrefg( "{$CFG->wwwroot}_friends/friendsof.php?owner=$page_owner", 34 "Friend of"));34 gettext("Friend of"))); 35 35 36 36 $PAGE->menu_sub[] = array( 'name' => 'friend:requests', 37 37 'html' => a_hrefg( "{$CFG->wwwroot}_friends/requests.php?owner=$page_owner", 38 "Friendship requests"));38 gettext("Friendship requests"))); 39 39 40 40 $PAGE->menu_sub[] = array( 'name' => 'friend:foaf', 41 41 'html' => a_hrefg( "{$CFG->wwwroot}{$friends_username}/foaf/", 42 "FOAF"));42 gettext("FOAF"))); 43 43 44 44 if (isloggedin()) { 45 45 $PAGE->menu_sub[] = array( 'name' => 'friend:accesscontrols', 46 46 'html' => a_hrefg( "{$CFG->wwwroot}_groups/", 47 "Access controls"));47 gettext("Access controls"))); 48 48 49 49 if ($CFG->publicinvite == true) { 50 50 $PAGE->menu_sub[] = array( 'name' => 'friend:invite', 51 51 'html' => a_hrefg( "{$CFG->wwwroot}_invite/", 52 "Invite a friend"));52 gettext("Invite a friend"))); 53 53 } 54 54 55 55 $PAGE->menu_sub[] = array( 'name' => 'friend:help', 56 56 'html' => a_hrefg( "{$CFG->wwwroot}help/network_help.php", 57 "Page help"));57 gettext("Page help"))); 58 58 59 59 devel/mod/template/lib.php
r468 r490 13 13 $PAGE->menu_sub[] = array( 'name' => 'template:change', 14 14 'html' => a_hrefg( "{$CFG->wwwroot}_templates/", 15 "Change theme"));15 gettext("Change theme"))); 16 16 } 17 17 }
