--- loncom/interface/mydesk.tab 2002/08/20 13:02:41 1.28 +++ loncom/interface/mydesk.tab 2021/06/07 03:32:02 1.182 @@ -1,57 +1,328 @@ +# $Id: mydesk.tab,v 1.182 2021/06/07 03:32:02 raeburn Exp $ +# 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 (unless excluded by LTI) +# - public: display link if user is public or authenticated (unless excluded by LTI) +# - onlypublic: only show this link to public users +# - newmsg: only display if there are new messages (unless excluded by LTI) +# - nonewmsg: only display if there aren't any new messages (unless excluded by LTI) +# - roles: show Roles instead of Courses (unless LTI) +# - courses: show Courses instead of Roles (unless LTI) +# - notlti: not LTI launch +# - ltiexc: link shown unless LTI config excludes display +# position: where link is to be displayed +# possible positions: +# - empty (will be displayed on right side -- default location). +# - left +# name: short name for item (used in visibility check for menu collection in effect) +# prim:link:icon:alt:text:condition:position:name +prim::::Personal::left:pers +prim:/adm/about.html:/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public::logo +prim:/adm/menu:::Home:notlti::menu +prim:/adm/communicate:::Messages:nonewmsg::comm +prim:/adm/communicate:::New Messages:newmsg::comm +prim:/adm/roles:::Roles:roles::roles +prim:/adm/roles:::Courses:courses::roles +prim:/adm/helpdesk:::Help:onlypublic: +prim:/adm/roles:::Log In:onlypublic: +prim::::Help:::help +prim:/adm/logout:::Logout:ltiexc::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 +# - blog: 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 +# name: short name for item (used in visibility check for menu collection in effect) +# primsub:parent:link:text:condition:name +primsub:Personal:/adm/[domain]/[user]/aboutme:Information::about +primsub:Personal:/adm/preferences:Preferences::prefs +primsub:Personal:/adm/portfolio:Portfolio:portfolio:port +primsub:Personal:/adm/wishlist:Stored Links:wishlist:wish +primsub:Personal:/adm/announcements:Calendar::anno +primsub:Personal:/adm/[domain]/[user]/_rss.html:Feeds:blog:rss + +# 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: +# - showgroups: user is member of a group +# - showsyllabus: course context and user has mdc or cev priv, or syllabus exists +# (and not included in course content). +# - showfeeds: course context and user has mdc or cev priv, or course feeds exist +# - showresv: course context and user cannot view or manage grades, and slots exist +# - always: show this link even if user hasn't selected a role +# - whn: access what's new +# - vgr: user can view grades +# - viewusers: user can grant/revoke student/member roles or can view classlists +# - params: Set and/or view assessment parameters +# - noviewusers: user can neither grant/revoke student roles nor view classlists +# - nvgr: cannot view other people's grades +# - mgr: Manage grades +# - author: authors (au, ca, aa) +# - cca: Grant/revoke role of co-author (author only) +# - lti: LTI launch -- LTI-specific rules apply +# - notlti: not LTI launch +# - notltimapres: not LTI launch for specific map or resource +# name: short name for item (used in visibility check for menu collection in effect) +# scnd:link:icon:alt:text:condition:name +scnd::::Personal:lti +scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Contents:notltimapres:cont +scnd:/adm/whatsnew:::What's New:whn +scnd:/adm/quickgrades:::Grades:nvgr:grades +scnd:[javascript]chat_win();:::Chat:plc:chat +scnd::::Grades:vgr +scnd::::People:viewusers +scnd::::Settings:params +scnd:/adm/viewclasslist:::People:noviewusers:people +scnd:/adm/coursegroups:::Groups:showgroups:groups +scnd:/adm/slotrequest?command=manageresv:::Reservations:showresv:resv +scnd::::Public:crsedit +scnd:/public/[cdom]/[cnum]/syllabus:::Syllabus:showsyllabus:syll +scnd:/adm/[cdom]/[cnum]/_rss.html:::Feeds:showfeeds:feeds +scnd:/adm/roles:::Roles:notlti:roles +scnd:/adm/communicate:::Messages:lti +scnd::::Help:lti +scnd:/adm/logout:::Logout:lti +scnd:/priv/[udom]/[uname]/:::Authoring Space:author +scnd:/res/[udom]/[uname]/?launch=1:::Browse:author +scnd:/adm/createuser:::People:cca +scnd::::Settings:author +scnd:[javascript]open_aboutLC();:/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:lti + +# 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 +# - crsedit: link displayed if user can access Course/Community Editor +# - vgr: link displayed if user can view grades +# - params: link displayed if user can set or view assessment parameters +# - mgr: link displayed if user can manage grades +# - viewusers: link displayed if user can either grant/revoke student/member roles or view classlists +# - vcg: link displayed if user can view groups to which he/she does not belong +# - lti: LTI launch -- LTI-specific rules apply +# - lti(portfolio,wishlist,blog): LTI launch -- LTI-specific rules apply in +# addition to access rule for tool itself (portfolio, wishlist or blog) +# scndsub:parent:link:text:condition +scndsub:Personal:/adm/[domain]/[user]/aboutme:Information:lti +scndsub:Personal:/adm/preferences:Preferences:lti +scndsub:Personal:/adm/portfolio:Portfolio:ltiportfolio +scndsub:Personal:/adm/wishlist:Stored Links:ltiwishlist +scndsub:Personal:/adm/announcements:Calendar:lti +scndsub:Personal:/adm/[domain]/[user]/_rss.html:Feeds:ltiblog +scndsub:Grades:/adm/statistics?reportSelected=student_assessment:Assessment Chart:vgr +scndsub:Grades:/adm/statistics:Statistics and Reports:vgr +scndsub:Grades:/adm/classcalc:Spreadsheet:vgr +scndsub:Grades:/adm/grades:Content Grading:vgr +scndsub:Settings:/adm/courseprefs:Course Settings:params +scndsub:Settings:/adm/parmset:Content Settings:params +scndsub:Settings:/adm/slotrequest?command=showslots:Slots:vgr +scndsub:Settings:/adm/preferences?action=authorsettings[returnurl]:Editing Options:author +scndsub:Settings:/adm/preferences?action=changedomcoord[returnurl]:Domain Access:cca +scndsub:People:/adm/createuser:Users:viewusers +scndsub:People:/adm/coursegroups:Groups:vcg +scndsub:Public:/public/[cdom]/[cnum]/syllabus:Syllabus:crsedit +scndsub:Public:/adm/[cdom]/[cnum]/_rss.html:Feeds:crsedit + +# 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 execute 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 Course -1:1:smp:rst:courses.gif:switch:course:go('/adm/roles');:Switch Course -1:1:adv:any:roles.gif:switch:role:go('/adm/roles');:Switch Role -1:1:adv:rcm:roles.gif:choose:role:go('/adm/roles');:Choose Role -1:2:any:any:com.gif:commu-:nication:go('/adm/communicate');:Communicate/Messages +# 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