--- loncom/interface/mydesk.tab 2010/05/17 20:21:12 1.126.2.1 +++ loncom/interface/mydesk.tab 2018/05/01 12:40:06 1.180 @@ -1,3 +1,4 @@ +# $Id: mydesk.tab,v 1.180 2018/05/01 12:40:06 raeburn Exp $ # primary menu links # Apache::lonmenu::primary_menu() generates a menu from these elements # prim: item belongs to primary menu @@ -14,15 +15,43 @@ # - 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/communicate'):::Messages:nonewmsg -prim:gotop('/adm/communicate'):::New Messages:newmsg -prim:gotop('/adm/roles'):::Roles:roles -prim:gotop('/adm/roles'):::Courses:courses -prim:gotop('/adm/roles'):::Log In:onlypublic -prim::::Help: -prim:gotop('/adm/logout'):::Logout: +# 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 @@ -34,31 +63,73 @@ prim:gotop('/adm/logout'):::Logout: # 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 +# - 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 -# - 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 +# - 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) +# - notltimapres: course context and not LTI launch for specific map or resource # 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]:::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/navmaps?postdata=[url]&postsymb=[symb]:::Contents:notltimapres +scnd:/adm/whatsnew:::What's New:whn +scnd:/adm/quickgrades:::Grades:nvgr +scnd:[javascript]chat_win();:::Chat:plc +scnd::::Grades:vgr +scnd::::People:viewusers +scnd::::Settings:params +scnd:/adm/viewclasslist:::People:noviewusers scnd:/adm/coursegroups:::Groups:showgroups +scnd:/adm/slotrequest?command=manageresv:::Reservations:showresv +scnd::::Public:crsedit +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 +scnd::::Settings:author + +# 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 +# scndsub:parent:link:text:condition +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 +# Categories for main menu # cat:column,row:title cat:0,0:none:No category, inline menu cat:1,2:com:Communication @@ -85,7 +156,7 @@ cat:2,6:oth:Other # 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 +# 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) # @@ -128,104 +199,109 @@ cat:2,6:oth:Other # 0