--- loncom/interface/mydesk.tab 2012/05/14 13:23:15 1.149.2.1 +++ loncom/interface/mydesk.tab 2013/05/25 23:10:29 1.160 @@ -14,20 +14,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:/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/preferences:::Preferences: -prim:/adm/portfolio:::Portfolio: -prim:/adm/[domain]/[user]/_rss.html:::Feeds: -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: +# 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 @@ -40,6 +63,9 @@ prim:/adm/logout:::Logout: # 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 # - 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 @@ -49,20 +75,24 @@ prim:/adm/logout:::Logout: # - mgr: Manage grades # - nmgr: cannot manage grade # - 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:nmgr scnd:/adm/slotrequest?command=showslots:::Slots:mgr -scnd:/adm/quickgrades:::Grades:nvgr 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]/:::Construction Space:author scnd:/res/[udom]/[uname]/?launch=1:::Browse:author +scnd:/adm/createuser:::People:cca # Categories for main menu @@ -140,17 +170,20 @@ cat:2,6:oth:Other 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:pmdc:$crs:docs.png:course[_7]:editor[_1]:go('/adm/coursedocs');:Edit course contents:crc -1:2:pmdc:$cmty:docs.png:communi-[_1]:ty edit[_1]:go('/adm/coursedocs');:Edit community contents:cmc +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.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 +3:1:pmgr:$crs:sprs.png:course[_4]:grades[_2]:go('/adm/grades');:Grading:grd +3:1:pmgr:$cmty:sprs.png:communi-[_2]:ty grade[_1]:go('/adm/grades');:Grading:grd +3:3:clear +3:3:course:any:grds.png:my[_1]:grades[_1]:go('/adm/quickgrades');:View current problem status and grading information:grd +3:3:community:any:grds.png:my[_1]:grades[_1]:go('/adm/quickgrades');:View current problem status and grading information:grd 4:1:clear -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 @@ -200,14 +233,14 @@ cat:2,6:oth:Other 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:any:any:vbkm.png:view[_1]:bookmark[_1]:edit_bookmarks():Use or edit my bookmark collection:set +9:3:adv:any:wishlist.png:view[_1]:linkstor[_1]:go('/adm/wishlist'):Stored Links:set 10:1:clear 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 anouncements 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:ppsa:$requested_domain:mail-reply-all.png:bulk[_1]:e-mail[_1]:go('/adm/notify');:Send and display broadcast e-mail:com +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