--- loncom/interface/mydesk.tab 2009/10/26 21:01:36 1.116 +++ loncom/interface/mydesk.tab 2010/03/16 19:55:49 1.129 @@ -15,14 +15,16 @@ # - roles: show Roles instead of Courses # - courses: show Courses instead of Roles # prim:link:icon:alt:text:condition -prim:go('/adm/about.html'):/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public -prim:go('/adm/communicate'):::Message:nonewmsg -prim:go('/adm/communicate'):::Message (new):newmsg -prim:go('/adm/roles'):::Roles:roles -prim:go('/adm/roles'):::Courses:courses -prim:go('/adm/roles'):::Log In:onlypublic +prim:gotop('/adm/about.html'):/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public +prim:gotop('/adm/communicate'):::Messages:nonewmsg +prim:gotop('/adm/communicate'):::New Messages:newmsg +prim:gotop('/adm/preferences'):::Preferences: +prim:gotop('/adm/portfolio'):::Portfolio: +prim:gotop('/adm/roles'):::Roles:roles +prim:gotop('/adm/roles'):::Courses:courses +prim:gotop('/adm/roles'):::Log In:onlypublic prim::::Help: -prim:go('/adm/logout'):::Logout: +prim:gotop('/adm/logout'):::Logout: # secondary menu links # Apache::lonmenu::secondary_menu() generates a menu from these elements @@ -35,17 +37,17 @@ prim:go('/adm/logout'):::Logout: # possible conditions: # - empty: # - showreturn: link is displayed if return link is wanted -# - mdcCommunity: mdc from below and course is of type Community -# - mdcCourse: mdc from below and course is a regular course +# - mdcCommunity: user can modify course contents and course is of type Community +# - mdcCourse: user can modify course contents and course is a regular course # - showgroups: user is member of a group # - always: show this link even if user hasn't selected a role -# - remotenav: remote navmap is activated -# - noremotenav: remote navmap is _not_ activated +# - Community: course is of type Community +# - Course: course is of type Course # prim:link:icon:alt:text:condition scnd:/adm/menu:::Main Menu:always scnd:/adm/flip?postdata=return%3a:::Return to Last Location:showreturn -scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Course Contents:noremotenav -scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Course Contents:remotenav +scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Course Contents:Course +scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Community Contents:Community scnd:/adm/coursedocs:::Course Editor:mdcCourse scnd:/adm/coursedocs:::Community Editor:mdcCommunity scnd:/adm/coursegroups:::Groups:showgroups @@ -59,11 +61,14 @@ cat:1,2:com:Communication cat:1,3:set:My Space cat:2,1:umn:User Management cat:2,2:cmn:Course Management +cat:2,2:cmm:Community Management +cat:2,2:ccm:Course/Community Management cat:2,3:dom:Domain Management cat:2,4:grd:Grading and Statistics cat:2,5:crc:Course Content +cat:2,5:cmc:Community Content cat:1,1:rol:My Roles -cat:1,1:rcr:My Courses +cat:1,1:rcr:My Courses/Communities cat:1,4:cnt:Content Library cat:2,6:oth:Other @@ -80,22 +85,25 @@ cat:2,6:oth:Other # txt-> text to display in the extended remote or inline remote # cat-> category that this belongs into (or "none" if in top menus) # -# pro = clear clear the button -# pro = any any permission level is allowed this button -# pro = smp allowed if $ENV{'user.adv'} is undefined -# pro = adv allowed if $ENV{'user.adv'} is defined -# pro = shc allowed if should use 'course' rather than 'role' -# pro = nsc allowed if should not use 'course' rather than 'role' -# pro = author prt = rca and user is a co-author -# pro = author prt = any -# pro = p??? allowed if the user has the permissions given in ??? -# course allowed if in course -# course_p??? allowed if in course and have permissions -# courseenv_???? allowed if in course and course environment key exists -# author allowed if an author -# tools allowed if user has access to particular user tool (= prt) -# editpriv allowed if user has edit privileges for the current resource -# retlink there is a valid location to return to +# pro = clear clear the button +# pro = any any permission level is allowed this button +# pro = smp allowed if $ENV{'user.adv'} is undefined +# pro = adv allowed if $ENV{'user.adv'} is defined +# pro = shc allowed if should use 'course' rather than 'role' +# pro = nsc allowed if should not use 'course' rather than 'role' +# pro = author prt = rca and user is a co-author +# pro = author prt = any +# pro = p??? allowed if the user has the permissions given in ??? +# course allowed if in course +# community allowed if in community +# course_p??? allowed if in course and have permissions +# community_p?? allowed if in community and have permissions +# courseenv_?? allowed if in course and course environment key exists +# communityenv_?? allowed if in community and course environment key exists +# author allowed if an author +# tools allowed if user has access to particular user tool (= prt) +# editpriv allowed if user has edit privileges for current resource +# retlink there is a valid location to return to # 0 is very top menu line @@ -116,78 +124,104 @@ cat:2,6:oth:Other # 0