--- loncom/interface/mydesk.tab	2002/12/06 15:10:19	1.36
+++ loncom/interface/mydesk.tab	2016/10/22 20:13:14	1.149.2.21
@@ -1,59 +1,295 @@
+# 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
+# position: where link is to be displayed
+#   possible positions: 
+#   - empty (will be displayed on right side -- default location).
+#   - left
+# prim:link:icon:alt:text:condition:position
+prim::::Personal::left
+prim:/adm/about.html:/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public:
+prim:/adm/communicate:::Messages:nonewmsg:
+prim:/adm/communicate:::New Messages:newmsg:
+prim:/adm/roles:::Roles:roles:
+prim:/adm/roles:::Courses:courses:
+prim:/adm/helpdesk:::Help:onlypublic:
+prim:/adm/roles:::Log In:onlypublic:
+prim::::Help::
+prim:/adm/logout:::Logout::
+
+# primary sub-menu links
+# Apache::lonmenu::primary_menu() generates a sub-menus from these elements
+# primsub: item belongs to primary sub-menu
+# parent: name of primary menu item, for which this is a sub-menu
+# link: references the url
+# text: link text
+# condition: when to show link, primary_menu() will act based on this
+#   possible conditions:
+#   - empty: link displayed if user is authenticated
+#   - portfolio: link displayed if portfolio access
+#   - blogs: link displayed if blog access
+#   - wishlist: link displayed if user has privileges to use Stored Links
+#   - reqcrs: link displayed if user can request Course or Community creation
+# primsub:parent:link:text:condition
+primsub:Personal:/adm/[domain]/[user]/aboutme:Information:
+primsub:Personal:/adm/preferences:Preferences:
+primsub:Personal:/adm/portfolio:Portfolio:portfolio
+primsub:Personal:/adm/wishlist:Stored Links:wishlist
+primsub:Personal:/adm/announcements:Calendar:
+primsub:Personal:/adm/[domain]/[user]/_rss.html:RSS Feeds:blog
+
+# 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:
+#   - showsyllabus: course context: not mdc and syllabus exists
+#                   (and not included in course content).
+#   - showfeeds: course context: not mdc and course feeds exist
+#   - showresv: course context and user cannot manage grades, and slots exist
+#   - always: show this link even if user hasn't selected a role
+#   - mdcCourse: user can modify content in a Course
+#   - mdcCommunity: user can modify content in a Community 
+#   - mdc: user can modify content in Course/Community 
+#   - vgr: user can view grades
+#   - cst: user can grant/revoke student/member roles
+#   - params: Set and/or view assessment parameters
+#   - ncst: user can not grant/revoke student roles
+#   - nvcg: user can only groups in which he/she is a member
+#   - nvgr: user cannot view other people's grades
+#   - whn: user can access what's new
+#   - author: authors (au, ca, aa)
+# scnd:link:icon:alt:text:condition
+scnd:/adm/menu:::Main Menu:always
+scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Contents:
+scnd:/adm/quickgrades:::Grades:nvgr
+scnd:/adm/coursedocs?command=contents:::Course Editor:mdcCourse
+scnd:/adm/coursedocs?command=contents:::Community Editor:mdcCommunity
+scnd:/adm/whatsnew:::What's New:whn
+scnd::::Grades:vgr
+scnd::::People:cst
+scnd::::Settings:params
+scnd:/adm/viewclasslist:::People:ncst
+scnd:/adm/coursegroups:::Groups:nvcg
+scnd:/adm/slotrequest?command=manageresv:::Reservations:showresv
+scnd::::Public:mdc
+scnd:/public/[cdom]/[cnum]/syllabus:::Syllabus:showsyllabus
+scnd:/adm/[cdom]/[cnum]/_rss.html:::Feeds:showfeeds
+scnd:/adm/roles:::Roles:
+scnd:/priv/[udom]/[uname]/:::Authoring Space:author
+scnd:/res/[udom]/[uname]/?launch=1:::Browse:author
+scnd:/adm/createuser:::People:cca
+
+# secondary sub-menu links
+# Apache::lonmenu::secondary_menu() generates a sub-menus from these elements
+# scndsub: item belongs to secondary sub-menu
+# parent: name of secondary menu item, for which this is a sub-menu
+# link: references the url
+# text: link text
+# condition: when to show link, secondary_menu() will act based on this
+#   possible conditions:
+#   - empty: link displayed if user is authenticated
+#   - mdc: user can modify content in Course/Community
+#   - vgr: link displayed if user can view grades
+#   - opa: link displayed if user can set assessment parameters
+#   - mgr: link displayed if user can manage grades
+#   - cst: link displayed if user can grant/revoke student/member roles
+#   - vcg: link displayed if user can view groups to which he/she does not belong   
+# scndsub:parent:link:text:condition
+scndsub:Grades:/adm/statistics?reportSelected=student_assessment:Assessment Chart:vgr
+scndsub:Grades:/adm/statistics:Statistics and Reports:vgr
+scndsub:Settings:/adm/courseprefs:Course Settings:opa
+scndsub:Settings:/adm/parmset:Content Settings:opa
+scndsub:Settings:/adm/slotrequest?command=showslots:Slots:mgr
+scndsub:People:/adm/createuser:Users:cst
+scndsub:People:/adm/coursegroups:Groups:vcg
+scndsub:Public:/public/[cdom]/[cnum]/syllabus:Syllabus:mdc
+scndsub:Public:/adm/[cdom]/[cnum]/_rss.html:Feeds:mdc
+
+# Categories for main menu
+# 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-> javascript 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<n<15 is remote and main menu
+
+1:1:shc:any:courses.png:choose[_1]:course[_1]:go('/adm/roles');:Choose the course to work on:rcr
+1:1:shc:rst:courses.png:switch[_1]:course[_2]:go('/adm/roles');:Switch to another course:rcr
+1:1:nsc:any:roles.png:switch[_2]:role[_1]:go('/adm/roles');:Switch to another user role:rol
+1:1:nsc:rcm:roles.png:choose[_2]:role[_2]:go('/adm/roles');:Choose the user role:rol
 1:2:clear
-1:2:course:any:docs.gif:course:docs:go('/adm/coursedocs');:View documents included in this course
-1:2:psrm:$crs:docs.gif:edit crs:docs:go('/adm/coursedocs');:Edit and view documents included in this course
+1:2:pmdc:$crs:docs.png:course[_7]:editor[_1]:go('/adm/coursedocs?command=home');:Edit course contents:crc
+1:2:pmdc:$cmty:docs.png:communi-[_1]:ty edit[_1]:go('/adm/coursedocs?command=home');:Edit community contents:cmc
 2:1:clear
 2:2:clear
-2:2:course:any:nav.gif:navigate:contents:gopost('/adm/navmaps',currentURL);:Navigate the table of contents for this course
+2:2:course:any:nav.png:course[_3]:contents[_1]:gopost('/adm/navmaps','');:Table of course contents:crc
+2:2:community:any:nav.png:commun[_1]:contents[_2]:gopost('/adm/navmaps','');:Table of community contents:cmc
 2:3:clear
 3:1:clear
 4:1:clear
-4:1:course:any:grds.gif:my:grades:go('/adm/quickgrades');:Show Problem Completeness
-4:1:pvgr:$crs:sprs.gif:course:grades:go('/adm/classcalc');:Calculate course grades
+4:1:course:any:grds.png:my[_1]:grades[_1]:go('/adm/quickgrades');:View current problem status and grading information:grd
+4:1:community:any:grds.png:my[_1]:grades[_1]:go('/adm/quickgrades');:View current problem status and grading information:grd
+4:1:pvgr:$crs:sprs.png:course[_4]:grades[_2]:go('/adm/classcalc');:View calculated grades (Spreadsheet):grd
+4:1:pvgr:$cmty:sprs.png:communi-[_2]:ty grade[_1]:go('/adm/classcalc');:View calculated grades (Spreadsheet):grd
 4:2:clear
-4:2:pvgr:$crs:chrt.gif:course:chart:gopost('/adm/statistics','Student Assessment');:View the course assessment progress chart
+4:2:pvgr:$crs:chrt.png:course[_5]:chart[_1]:gopost('/adm/statistics?reportSelected=student_assessment','Student Assessment');:View the course assessment progress chart:grd
+4:2:pvgr:$cmty:chrt.png:communi-[_3]:ty chart[_1]:gopost('/adm/statistics?reportSelected=student_assessment','Student Assessment');:View the community assessment progress chart:grd
 4:3:clear
-4:3:pvgr:$crs:stat.gif:course:stats:gopost('/adm/statistics','Problem Statistics');:View course assessment statistics
+4:3:pvgr:$crs:stat.png:course[_6]:stats[_1]:gopost('/adm/statistics','Problem Statistics');:View course assessment statistics:grd
+4:3:pvgr:$cmty:stat.png:communi-[_4]:ty stats[_1]:gopost('/adm/statistics','Problem Statistics');:View community assessment statistics:grd
 5:1:clear
-5:1:pcst:$crs:enrl.gif:course:enroll:go('/adm/dropadd');:Drop/Add students in this course
-5:2:clear
-5:2:pcst:$crs:cprv.gif:user:roles:go('/adm/createuser');:Create a user or modify the roles and privileges of a user
-5:2:pcca:$requested_domain:cprv.gif:user:roles:go('/adm/createuser');:Create a user or modify the roles and privileges of a user
-5:2:pmau:$requested_domain:cprv.gif:user:roles:go('/adm/createuser');:Create a user or modify the roles and privileges of a user
+5:1:any:any:ccat.png:course[_13]:catalog[_1]:go('/adm/coursecatalog');:Display catalog of courses and communities:oth
+5:2:courseenv_student_classlist_view:any:clst.png:course[_12]:roster[_1]:go('/adm/viewclasslist');:View course roster:umn
+5:2:communityenv_student_classlist_view:any:clst.png:communi-[_5]:ty list[_1]:go('/adm/viewclasslist');:View community membership:umn
+5:2:pvcl:$crs:clst.png:course[_12]:roster[_1]:go('/adm/createuser?action=listusers');:View class lists:umn
+5:2:pvcl:$cmty:clst.png:course[_12]:roster[_1]:go('/adm/createuser?action=listusers');:View membership lists:umn
+5:2:pcst:$crs:cprv.png:user[_1]:privs[_1]:go('/adm/createuser');:Manage course users:umn
+5:2:pcst:$cmty:cprv.png:user[_1]:privs[_1]:go('/adm/createuser');:Manage community users:umn
+5:2:pcca:$requested_domain:cprv.png:user[_1]:privs[_1]:go('/adm/createuser');:Manage co-authors:umn
+5:2:pvac:$requested_domain:cprv.png:user[_1]:privs[_1]:go('/adm/createuser');:View information about users:umn
+5:2:pcdc:/:cprv.png:user[_1]:privs[_1]:go('/adm/createuser');:Create users or modify the roles and privileges of users:umn
+5:2:pmau:$requested_domain:cprv.png:user[_1]:privs[_1]:go('/adm/createuser');:Create users or modify the roles and privileges of users:umn
 5:3:clear
-5:3:pccc:$requested_domain:ccrs.gif:create:course:go('/adm/createcourse');:Create a new course
-5:3:popa:$crs:parm.gif:course:parms:go('/adm/parmset');:Set deadlines and other assessment parameters, as well as modify course environment 
+5:3:pccc:$requested_domain:ccrs.png:course[_8]:creation[_1]:go('/adm/createcourse');:Course and community creation:ccm
+5:3:pdcc:$requested_domain:ccrs.png:course[_8]:creation[_1]:go('/adm/createcourse');:Course and community creation:ccm
+5:3:pvpa:$crs:parm.png:course[_9]:parms[_1]:go('/adm/parmset');:View parameter settings (due dates, etc) for resources and the course:cmn
+5:3:popa:$crs:parm.png:course[_9]:parms[_1]:go('/adm/parmset');:Modify parameter settings (due dates, etc) for resources and the course:cmn
+5:3:popa:$cmty:parm.png:communi-[_6]:ty parms[_1]:go('/adm/parmset');:Modify parameter settings (due dates, etc) for resources and the community:cmm
 6:1:clear
-6:1:author:any:cstr.gif:con-:struct:cstrgo(currentURL,'/priv/$uname/');:Enter my resource construction space
-6:1:author:rca:cstr.gif:co con-:struct:cstrgo(currentURL,'/priv/$uname/');:Enter construction space as a co-author
+6:1:author:rau:cstr.png:author[_1]:space[_1]:go('/priv/$udom/$uname/');:Enter my Authoring Space:set
+6:1:author:rca:cstr.png:coauthor[_1]:space[_2]:go('/priv/$cadom/$caname/');:Enter Authoring Space as a co-author:set
+6:1:author:raa:cstr.png:coauthor[_1]:space[_2]:go('/priv/$cadom/$caname/');:Enter Authoring Space as an assistant co-author:set
+6:1:pmau:$requested_domain:conf.png:domain[_1]:config[_1]:go('/adm/domainprefs');:Set domain configuration:dom
 6:2:clear
-6:2:author:any:res.gif:resource:space:go('/res/$udom/$uname/?launch=1');:Browse published resources
-6:2:author:rca:res.gif:co res:space:go('/res/$udom/$uname/?launch=1');:Browse published resources
+6:2:pbro:/res/:res.png:resource[_1]:space[_3]:go('/res/?launch=1');:Browse own authored or co-authored resources:cnt
+6:2:pbre:$requested_domain:res.png:resource[_1]:space[_3]:go('/res/$udom/?launch=1');:Browse published resources:cnt
+6:2:author:rau:res.png:resource[_1]:space[_3]:go('/res/$udom/$uname/?launch=1');:Browse published resources:cnt
+6:2:author:rca:res.png:co res[_1]:space[_4]:go('/res/$udom/$uname/?launch=1');:Browse published resources:cnt
 6:3:clear
+6:3:prar:$requested_domain:mcrs.png:view[_2]:course[_17]:go('/adm/modifycourse');:View a course or community:ccm
+6:3:pccc:$requested_domain:mcrs.png:modify[_1]:course[_15]:go('/adm/modifycourse');:View or modify a course or community:ccm
+7:1:clear
+7:1:pmau:$requested_domain:srvr.png:server[_1]:status[_1]:go('/adm/domainstatus');:Status of domain servers:dom
+7:1:pwhn:$crs:new.png:what is[_1]:new[_1]:go('/adm/whatsnew');:What's New?:cmn
+7:1:pwhn:$cmty:new.png:what is[_1]:new[_1]:go('/adm/whatsnew');:What's New?:cmm
 7:2:clear
-7:2:adv:rcm:egrd.gif:enter:grades:go('/adm/grades');:Enter grades from check-out assessment resources
+7:2:adv:rcm:egrd.png:enter[_1]:grades[_3]:go('/adm/grades');:Enter grades from check-out assessment resources:oth
+7:2:pusc:$requested_domain:sctr.png:send bub[_1]:blesheet[_1]:gocmd('/adm/grades','scantronupload');:Send bubblesheet data to a course:oth
+7:3:clear
+7:3:pmky:$requested_domain:keys.png:manage[_1]:acc keys[_1]:go('/adm/managekeys');:Manage Access Keys:dom
+8:1:clear
+8:1:tools:reqcrsshc:rcrs.png:request[_1]:course[_16]:go('/adm/requestcourse');:Course/Community requests:rcr
+8:1:tools:reqcrsnsc:rcrs.png:request[_1]:course[_16]:go('/adm/requestcourse');:Course/Community requests:rol
+9:2:adv:any:slnk.png:view[_1]:linkstor[_1]:go('/adm/wishlist'):Stored Links:set
 10:1:clear
-10:1:any:any:anno.gif:calendar:announce:go('/adm/announcements');:Course announcements and my calendar
-10:2:any:any:com.gif:commu-:nication:go('/adm/communicate');:Send and receive messages
+10:1:any:any:anno.png:calendar[_1]:announce[_1]:go('/adm/announcements');:Announcements and my calendar:com
+10:1:course:any:anno.png:calendar[_1]:announce[_1]:go('/adm/announcements');:Course announcements and my calendar:com
+10:1:community:any:anno.png:calendar[_1]:announce[_1]:go('/adm/announcements');:Community announcements and my calendar:com
+10:2:any:any:com.png:commu-[_1]:nication[_1]:go('/adm/communicate');:Send and display messages:com
 10:3:clear
-10:3:course:any:bchat.gif:course:chat:go('/res/adm/pages/chatroom.html');:Enter the chatroom for the course
+10:3:ppsa:$requested_domain:mail.png:bulk[_1]:e-mail[_1]:go('/adm/notify');:Send and display broadcast e-mail:com
+10:3:course_plc:any:bchat.png:course[_10]:chatroom[_1]:chat_win();:Enter the chat room for the course:com
+10:3:community_plc:any:bchat.png:communi-[_7]:ty chat[_1]:chat_win();:Enter the chat room for the community:com
 11:1:clear
-11:1:pbre:$requested_domain:src.gif:search:library:go('/adm/searchcat');:Search the database of published resources
-11:2:any:any:pref.gif:prefer-:ences:go('/adm/preferences');:Set my user preferences
-11:3:any:any:logout.gif:exit::go('/adm/logout');:Exit LON-CAPA
+11:1:course:any:grps.png:course[_14]:groups[_1]:go('/adm/coursegroups');:Enter my groups in the course:set
+11:1:community:any:grps.png:communi-[_8]:ty group[_1]:go('/adm/coursegroups');:Enter my groups in the community:set
+11:1:course_vcg:any:grps.png:course[_14]:groups[_1]:go('/adm/coursegroups');:Enter any group in the course:cmn
+11:1:course_mdg:any:grps.png:course[_14]:groups[_1]:go('/adm/coursegroups');:Edit any group in the course:cmn
+11:1:community_vcg:any:grps.png:communi-[_8]:ty group[_1]:go('/adm/coursegroups');:Enter any group in the community:cmm
+11:1:community_mdg:any:grps.png:communi-[_8]:ty group[_1]:go('/adm/coursegroups');:Edit any group in the community:cmm
+11:2:tools:portfolio:port.png:port-[_1]:folio[_1]:go('/adm/portfolio');:Enter my portfolio space:set
+11:3:tools:blog:blog.png:edit[_1]:blogs[_1]:go('/adm/$udom/$uname/_rss.html');:Edit blogs, RSS feeds, and podcasts:set
+12:1:clear
+12:1:any:any:src.png:search[_3]:prtfolio[_1]:go('/adm/searchcat');:Search the database of accessible portfolio files:cnt
+12:1:pbre:$requested_domain:src.png:search[_2]:library[_1]:go('/adm/searchcat');:Search the database of published resources and accessible portfolio files:cnt
+12:2:any:any:pref.png:prefer-[_1]:ences[_1]:go('/adm/preferences');:Set my user preferences:set
+12:3:clear
+12:3:course:any:rsrv.png:reserv-[_1]:ations[_1]:gocmd('/adm/slotrequest','manageresv');:Manage reservations:cmn
+12:3:community:any:rsrv.png:reserv-[_1]:ations[_1]:gocmd('/adm/slotrequest','manageresv');:Manage reservations:cmm
+12:3:pmgr:$crs:rsrv.png:reserv-[_1]:ations[_1]:gocmd('/adm/slotrequest','showslots');:Manage slots:cmn
+12:3:pmgr:$cmty:rsrv.png:reserv-[_1]:ations[_1]:gocmd('/adm/slotrequest','showslots');:Manage slots:cmm
+13:1:clear
+13:1:popa:$crs:crsconf.png:course[_17]:config[_2]:go('/adm/courseprefs');:Modify course configuration:cmn
+13:1:popa:$cmty:crsconf.png:communi-[_9]:ty config[_1]:go('/adm/courseprefs');:Modify community configuration:cmm
+13:2:any:any:logout.png:logout[_1]: [_1]:go('/adm/logout');:Logout:oth