--- loncom/interface/mydesk.tab 2009/10/01 20:20:55 1.113 +++ loncom/interface/mydesk.tab 2009/10/04 17:47:21 1.114 @@ -1,3 +1,57 @@ +# 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 +# prim:link:icon:alt:text:condition +prim:go('/adm/about.html'):/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public +prim:go('/adm/communicate'):::Message:nonewmsg +prim:go('/adm/communicate'):::Message (new):newmsg +prim:go('/adm/roles'):::Roles:roles +prim:go('/adm/roles'):::Courses:courses +prim:go('/adm/roles'):::Log In:onlypublic +prim::::Help: +prim:go('/adm/logout'):::Logout: + +# 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: +# - showreturn: link is displayed if return link is wanted +# - mdcgroup: mdc from below and course is of type Group +# - mdcnogrp: mdc from below and course is a regular course +# - showgroups: user is member of a group +# - always: show this link even if user hasn't selected a role +# - remotenav: remote navmap is activated +# - noremotenav: remote navmap is _not_ activated +# prim:link:icon:alt:text:condition +scnd:go('/adm/menu'):::Main Menu:always +scnd:go('/adm/flip?postdata=return%3a'):::Return to Last Location:showreturn +scnd:go('/adm/navmaps?postdata=[url]&postsymb=[symb]'):::Course Contents:noremotenav +scnd:gonav('/adm/navmaps?postdata=[url]&postsymb=[symb]'):::Course Contents:remotenav +scnd:go('/adm/coursedocs'):::Edit Course:mdcnogrp +scnd:go('/adm/coursedocs'):::Group Documents:mdcgroup +scnd:go('/adm/coursegroups'):::Groups:showgroups +scnd:go(''):::Roles: + + # Categories # cat:column,row:title cat:0,0:none:No category, inline menu