--- loncom/interface/mydesk.tab 2010/01/18 23:42:31 1.108.6.3 +++ loncom/interface/mydesk.tab 2014/02/28 19:20:06 1.165 @@ -1,5 +1,103 @@ -# Categories +# 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/menu:::Home:: +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: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: +# - showgroups: user is member of a group +# - showsyllabus: course context and user has mdc priv, or syllabus exists +# (and not included in course content). +# - showfeeds: course context and user has mdc priv, or 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 +# - whn: access what's new +# - cst: Grant/revoke role of Student:Grant/revoke role of Member +# - ncst: Not grant/revoke roles +# - opa: Set assessment parameters +# - nvgr: cannot view other people's grades +# - mgr: Manage grades +# - author: authors (au, ca, aa) +# - cca: Grant/revoke role of co-author (author only) +# prim:link:icon:alt:text:condition +scnd:/adm/whatsnew:::What's New:whn +scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Contents: +scnd:/adm/quickgrades:::Grades:nvgr +scnd:/adm/createuser:::People:cst +scnd:/adm/viewclasslist:::People:ncst +scnd:/adm/coursegroups:::Groups:showgroups +scnd:/adm/slotrequest?command=manageresv:::Reservations:showresv +scnd:/adm/slotrequest?command=showslots:::Slots:mgr +scnd:/adm/grades:::Grades:vgr +scnd:/adm/parmset:::Settings:opa +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 + + +# 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 @@ -26,121 +124,144 @@ cat:2,6:oth:Other # 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 +# 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 -# 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) -# -1:1:shc:any:courses.gif:choose[_1]:course[_1]:go('/adm/roles');:Choose the course to work on:rcr -1:1:shc:rst:courses.gif:switch[_1]:course[_2]:go('/adm/roles');:Switch to another course:rcr -1:1:nsc:any:roles.gif:switch[_2]:role[_1]:go('/adm/roles');:Switch to another user role:rol -1:1:nsc:rcm:roles.gif:choose[_2]:role[_2]:go('/adm/roles');:Choose the user role:rol +# 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