--- loncom/interface/mydesk.tab 2012/05/05 01:46:09 1.148 +++ 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,10 +170,8 @@ 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:course:any:subdocs.png:supplem-[_1]:entaldoc[_1]:go('/adm/supplemental');:View supplemental course documents:crc -1:2:community:any:docs.png:supplem-[_1]:entaldoc[_1]:go('/adm/supplemental');:View supplemental community documents:cmc -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 @@ -205,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:3:pbre:$requested_domain:wishlist.png:view[_1]:wishlist[_1]:go('/adm/wishlist'):Wishlist: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 @@ -226,8 +254,6 @@ cat:2,6:oth:Other 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:course:any:src.png:search[_1]:course[_11]:go('/adm/searchcat');:Search the contents of this course or accessible portfolio files:cnt -12:1:community:any:src.png:search[_2]:commun[_1]:go('/adm/searchcat');:Search the contents of this community or 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