--- loncom/interface/mydesk.tab 2003/05/16 17:54:21 1.43 +++ loncom/interface/mydesk.tab 2010/12/02 06:04:45 1.125.4.2 @@ -1,62 +1,233 @@ +# primary menu links +# Apache::lonmenu::primary_menu() generates a menu from these elements +# prim: item belongs to primary menu +# link: references the url +# icon: icon to show in case of a graphical item +# alt: alt-text only if icon is not empty +# text: link text +# condition: when to show link, primary_menu will act upon this +# possible conditions: +# - empty: link is displayed if user is authenticated +# - public: display link if user is public or authenticated +# - onlypublic: only show this link to public users +# - newmsg: only display if there are new messages +# - nonewmsg: only display if there aren't any new messages +# - roles: show Roles instead of Courses +# - courses: show Courses instead of Roles +# prim:link:icon:alt:text:condition +prim:gotop('/adm/about.html'):/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public +prim:gotop('/adm/menu'):::Home:home +prim:gotop('/adm/roles?destinationurl=/adm/gci_info'):::Home:gci +prim:gotop('/adm/menu'):::Home:gcitest +prim:gotop('/adm/communicate'):::Messages:nonewmsg +prim:gotop('/adm/communicate'):::New Messages:newmsg +prim:gotop('/adm/preferences'):::Preferences: +prim:gotop('/adm/roles'):::Roles:roles +prim:gotop('/adm/roles'):::Courses:courses +prim:gotop('/adm/helpdesk'):::Help:onlypublic +prim:gotop('/adm/roles'):::Log In:onlypublic +prim::::Help: +prim:gotop('/adm/logout'):::Logout: + +# secondary menu links +# Apache::lonmenu::secondary_menu() generates a menu from these elements +# scnd: item belongs to secondary menu +# link: references the url +# icon: icon to show in case of a graphical item +# alt: alt-text only if icon is not empty +# text: link text +# condition: when to show link, secondary_menu will act upon this +# possible conditions: +# - empty: +# - showreturn: link is displayed if return link is wanted +# - 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 +# - remotenavCommunity: remote navmap is activated +# and course is of type Community +# - noremotenavCommunity: remote navmap is _not_ activated +# and course is of type Community +# prim:link:icon:alt:text:condition +scnd:/adm/menu:::Main Menu:showmenu +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]:::Community Contents:noremotenavCommunity +scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Community Contents:remotenavCommunity +scnd:/adm/coursedocs:::Course Editor:mdcCourse +scnd:/adm/coursedocs:::Community Editor:mdcCommunity +scnd:/adm/coursegroups:::Groups:showgroups +scnd:/adm/roles:::Roles:showroles +scnd:/adm/flip?postdata=return%3a:::Return to Last Location:showreturn + + +# Categories +# cat:column,row:title +cat:0,0:none:No category, inline menu +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/Communities +cat:1,4:cnt:Content Library +cat:2,6:oth:Other + # -# row:col:pro:prt:img:top:bot:act +# row:col:pro:prt:img:top:bot:act:txt:cat +# row-> row of remote to appear on +# col-> col of remote to appear on +# pro-> when to show the button +# prt-> parameter to pro +# img-> img for the button +# top-> txt for the top row of the remote +# bot-> txt for the bottom row of the remote +# act-> javascrtip to excute when clicked +# 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 = 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 -# author allowed if an author -# -1:1:smp:any:courses.gif:choose:course:go('/adm/roles');:Choose the course to work on -1:1:smp:rst:courses.gif:switch:course:go('/adm/roles');:Switch to another course -1:1:adv:any:roles.gif:switch:role:go('/adm/roles');:Switch to another user role -1:1:adv:rcm:roles.gif:choose:role:go('/adm/roles');:Choose the user role +# 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 + +0:1:any:any::::go('/adm/communicate');:Messages:none +0:2:shc:any::::go('/adm/roles');:Courses:none +0:2:shc:rst::::go('/adm/roles');:Courses:none +0:2:nsc:any::::go('/adm/roles');:Roles:none +0:2:nsc:rcm::::go('/adm/roles');:Roles:none +0:3:any:any::::helpMenu('display');:Help:none +0:4:any:any::::go('/adm/logout');:Logout:none + +# 15 is primary inline menu + +15:1:any:any::::go('/adm/menu');:Main Menu:none + +# 16 is secondary inline menu + + +# 0