File:  [LON-CAPA] / loncom / interface / mydesk.tab
Revision 1.115: download - view: text, annotated - select for diffs
Fri Oct 16 23:35:08 2009 UTC (14 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
lonmenu.pm
- Bug 6091. - do not use javascript in links in inline menu.
- Coding style: & before subroutine calls.
                unless(), ref()

mydesk.tab
- Bug 6091. - do not use javascript in links in inline menu.
- Group -> Community
- Catalog is for Courses and Communities.

    1: # primary menu links
    2: # Apache::lonmenu::primary_menu() generates a menu from these elements
    3: # prim: item belongs to primary menu
    4: # link: references the url
    5: # icon: icon to show in case of a graphical item
    6: # alt:  alt-text only if icon is not empty
    7: # text: link text
    8: # condition: when to show link, primary_menu will act upon this
    9: #   possible conditions:
   10: #   - empty: link is displayed if user is authenticated
   11: #   - public: display link if user is public or authenticated 
   12: #   - onlypublic: only show this link to public users
   13: #   - newmsg: only display if there are new messages 
   14: #   - nonewmsg: only display if there aren't any new messages
   15: #   - roles: show Roles instead of Courses
   16: #   - courses: show Courses instead of Roles
   17: # prim:link:icon:alt:text:condition
   18: prim:go('/adm/about.html'):/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public
   19: prim:go('/adm/communicate'):::Message:nonewmsg
   20: prim:go('/adm/communicate'):::Message (new):newmsg
   21: prim:go('/adm/roles'):::Roles:roles
   22: prim:go('/adm/roles'):::Courses:courses
   23: prim:go('/adm/roles'):::Log In:onlypublic
   24: prim::::Help:
   25: prim:go('/adm/logout'):::Logout:
   26: 
   27: # secondary menu links
   28: # Apache::lonmenu::secondary_menu() generates a menu from these elements
   29: # scnd: item belongs to secondary menu
   30: # link: references the url
   31: # icon: icon to show in case of a graphical item
   32: # alt:  alt-text only if icon is not empty
   33: # text: link text
   34: # condition: when to show link, secondary_menu will act upon this
   35: #   possible conditions:
   36: #   - empty: 
   37: #   - showreturn: link is displayed if return link is wanted
   38: #   - mdcCommunity: mdc from below and course is of type Community
   39: #   - mdcCourse: mdc from below and course is a regular course
   40: #   - showgroups: user is member of a group
   41: #   - always: show this link even if user hasn't selected a role
   42: #   - remotenav: remote navmap is activated
   43: #   - noremotenav: remote navmap is _not_ activated
   44: # prim:link:icon:alt:text:condition
   45: scnd:/adm/menu:::Main Menu:always
   46: scnd:/adm/flip?postdata=return%3a:::Return to Last Location:showreturn
   47: scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Course Contents:noremotenav
   48: scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Course Contents:remotenav
   49: scnd:/adm/coursedocs:::Edit Course:mdcCourse
   50: scnd:/adm/coursedocs:::Edit Community:mdcCommunity
   51: scnd:/adm/coursegroups:::Groups:showgroups
   52: scnd:/adm/roles:::Roles:
   53: 
   54: 
   55: # Categories
   56: # cat:column,row:title
   57: cat:0,0:none:No category, inline menu
   58: cat:1,2:com:Communication
   59: cat:1,3:set:My Space
   60: cat:2,1:umn:User Management
   61: cat:2,2:cmn:Course Management
   62: cat:2,3:dom:Domain Management
   63: cat:2,4:grd:Grading and Statistics
   64: cat:2,5:crc:Course Content
   65: cat:1,1:rol:My Roles
   66: cat:1,1:rcr:My Courses
   67: cat:1,4:cnt:Content Library
   68: cat:2,6:oth:Other
   69: 
   70: # 
   71: # row:col:pro:prt:img:top:bot:act:txt:cat
   72: # row-> row of remote to appear on
   73: # col-> col of remote to appear on
   74: # pro-> when to show the button
   75: # prt-> parameter to pro
   76: # img-> img for the button
   77: # top-> txt for the top row of the remote
   78: # bot-> txt for the bottom row of the remote
   79: # act-> javascrtip to excute when clicked
   80: # txt-> text to display in the extended remote or inline remote
   81: # cat-> category that this belongs into (or "none" if in top menus)
   82: #
   83: # pro = clear    clear the button
   84: # pro = any      any permission level is allowed this button
   85: # pro = smp      allowed if $ENV{'user.adv'} is undefined
   86: # pro = adv      allowed if $ENV{'user.adv'} is defined
   87: # pro = shc      allowed if should use 'course' rather than 'role'
   88: # pro = nsc      allowed if should not use 'course' rather than 'role'
   89: # pro = author   prt = rca and user is a co-author
   90: # pro = author   prt = any 
   91: # pro = p???     allowed if the user has the permissions given in ???
   92: # course         allowed if in course
   93: # course_p???    allowed if in course and have permissions
   94: # courseenv_????   allowed if in course and course environment key exists
   95: # author         allowed if an author
   96: # tools          allowed if user has access to particular user tool (= prt)
   97: # editpriv       allowed if user has edit privileges for the current resource 
   98: # retlink        there is a valid location to return to
   99: 
  100: # 0 is very top menu line
  101: 
  102: 0:1:any:any::::go('/adm/communicate');:Messages:none
  103: 0:2:shc:any::::go('/adm/roles');:Courses:none
  104: 0:2:shc:rst::::go('/adm/roles');:Courses:none
  105: 0:2:nsc:any::::go('/adm/roles');:Roles:none
  106: 0:2:nsc:rcm::::go('/adm/roles');:Roles:none
  107: 0:3:any:any::::helpMenu('display');:Help:none
  108: 0:4:any:any::::go('/adm/logout');:Logout:none
  109: 
  110: # 15 is primary inline menu
  111: 
  112: 15:1:any:any::::go('/adm/menu');:Main Menu:none
  113: 
  114: # 16 is secondary inline menu
  115: 
  116: 
  117: # 0<n<15 is remote and main menu
  118: 
  119: 1:1:shc:any:courses.gif:choose[_1]:course[_1]:go('/adm/roles');:Choose the course to work on:rcr
  120: 1:1:shc:rst:courses.gif:switch[_1]:course[_2]:go('/adm/roles');:Switch to another course:rcr
  121: 1:1:nsc:any:roles.gif:switch[_2]:role[_1]:go('/adm/roles');:Switch to another user role:rol
  122: 1:1:nsc:rcm:roles.gif:choose[_2]:role[_2]:go('/adm/roles');:Choose the user role:rol
  123: 1:2:clear
  124: 1:2:course:any:docs.gif:supplem-[_1]:entaldoc[_1]:go('/adm/coursedocs');:View supplemental course documents:crc
  125: 1:2:pmdc:$crs:docs.gif:edit [_1]:course[_2]:go('/adm/coursedocs');:Edit course contents:crc
  126: 2:1:clear
  127: 2:2:clear
  128: 2:2:course:any:nav.gif:course[_3]:contents[_1]:gonav('/adm/navmaps');:Table of course contents:crc
  129: 2:3:clear
  130: 3:1:clear
  131: 4:1:clear
  132: 4:1:course:any:grds.gif:my[_1]:grades[_1]:go('/adm/quickgrades');:View current problem status and grading information:grd
  133: 4:1:pvgr:$crs:sprs.gif:course[_4]:grades[_2]:go('/adm/classcalc');:View calculated grades (Spreadsheet):grd
  134: 4:2:clear
  135: 4:2:pvgr:$crs:chrt.gif:course[_5]:chart[_1]:gopost('/adm/statistics?reportSelected=student_assessment','Student Assessment');:View the course assessment progress chart:grd
  136: 4:3:clear
  137: 4:3:pvgr:$crs:stat.gif:course[_6]:stats[_1]:gopost('/adm/statistics','Problem Statistics');:View course assessment statistics:grd
  138: 5:1:clear
  139: 5:1:any:any:ccat.gif:course[_13]:catalog[_1]:go('/adm/coursecatalog');:Display catalog of courses and communities:oth
  140: 5:2:courseenv_student_classlist_view:any:clst.gif:course[_12]:roster[_1]:go('/adm/viewclasslist');:View course roster:umn
  141: 5:2:pvcl:$crs:clst.gif:course[_12]:roster[_1]:go('/adm/createuser?action=listusers');:View class lists:umn
  142: 5:2:pcst:$crs:cprv.gif:user[_1]:privs[_1]:go('/adm/createuser');:Manage course users:umn
  143: 5:2:pcca:$requested_domain:cprv.gif:user[_1]:privs[_1]:go('/adm/createuser');:Manage co-authors:umn
  144: 5:2:pcdc:/:cprv.gif:user[_1]:privs[_1]:go('/adm/createuser');:Create users or modify the roles and privileges of users:umn
  145: 5:2:pmau:$requested_domain:cprv.gif:user[_1]:privs[_1]:go('/adm/createuser');:Create users or modify the roles and privileges of users:umn
  146: 5:3:clear
  147: 5:3:pccc:$requested_domain:ccrs.gif:course[_8]:creation[_1]:go('/adm/createcourse');:Course Creation:cmn
  148: 5:3:popa:$crs:parm.gif:course[_9]:parms[_1]:go('/adm/parmset');:Modify parameter settings (due dates, etc) for resources and the course:cmn
  149: 6:1:clear
  150: 6:1:author:rau:cstr.gif:con-[_1]:struct[_1]:go('/priv/$uname/');:Enter my construction space:set
  151: 6:1:author:rca:cstr.gif:co con-[_1]:struct[_2]:go('/priv/$caname/');:Enter construction space as a co-author:set
  152: 6:1:author:raa:cstr.gif:co con-[_1]:struct[_2]:go('/priv/$caname/');:Enter construction space as an assistant co-author:set
  153: 6:1:pmau:$requested_domain:conf.gif:domain[_1]:config[_1]:go('/adm/domainprefs');:Set domain configuration:dom
  154: 6:1:course:any:pdfupload.gif:upload[_1]:pdf form[_1]:go('/pdfupload'):Upload a PDF Form with filled Form Fields:grd
  155: 6:2:clear
  156: 6:2:pbre:$requested_domain:res.gif:resource[_1]:space[_1]:go('/res/$udom/?launch=1');:Browse published resources:cnt
  157: 6:2:author:rau:res.gif:resource[_1]:space[_1]:go('/res/$udom/$uname/?launch=1');:Browse published resources:cnt
  158: 6:2:author:rca:res.gif:co res[_1]:space[_2]:go('/res/$udom/$uname/?launch=1');:Browse published resources:cnt
  159: 6:3:clear
  160: 6:3:pccc:$requested_domain:mcrs.gif:modify[_1]:course[_15]:go('/adm/modifycourse');:View or modify a course:cmn
  161: 7:1:clear
  162: 7:1:pmau:$requested_domain:srvr.gif:server[_1]:status[_1]:go('/adm/domainstatus');:Status of domain servers:dom
  163: 7:1:pwhn:$crs:new.gif:what is[_1]:new[_1]:go('/adm/whatsnew');:What's New?:cmn
  164: 7:2:clear
  165: 7:2:adv:rcm:egrd.gif:enter[_1]:grades[_3]:go('/adm/grades');:Enter grades from check-out assessment resources:oth
  166: 7:2:pusc:$requested_domain:sctr.gif:send bub[_1]:blesheet[_1]:gocmd('/adm/grades','scantronupload');:Send bubblesheet data to a course:oth
  167: 7:3:clear
  168: 7:3:pmky:$requested_domain:keys.gif:manage[_1]:acc keys[_1]:go('/adm/managekeys');:Manage Access Keys:dom
  169: 8:1:clear
  170: 8:1:tools:reqcrsshc:rcrs.gif:request[_1]:course[_16]:go('/adm/requestcourse');:Course requests:rcr
  171: 8:1:tools:reqcrsnsc:rcrs.gif:request[_1]:course[_16]:go('/adm/requestcourse');:Course requests:rol
  172: 9:2:any:any:vbkm.gif:view[_1]:bookmark[_1]:edit_bookmarks():Use or edit my bookmark collection:set
  173: 10:1:clear
  174: 10:1:any:any:anno.gif:calendar[_1]:announce[_1]:go('/adm/announcements');:Course announcements and my calendar:com
  175: 10:2:any:any:com.gif:commu-[_1]:nication[_1]:go('/adm/communicate');:Send and receive messages:com
  176: 10:3:clear
  177: 10:3:ppsa:$requested_domain:mail.gif:bulk[_1]:e-mail[_1]:go('/adm/notify');:Send and display broadcast e-mail:com
  178: 10:3:course_plc:any:bchat.gif:course[_10]:chatroom[_1]:chat_win();:Enter the chat room for the course:com
  179: 11:1:clear
  180: 11:1:course:any:grps.gif:course[_14]:groups[_1]:go('/adm/coursegroups');:Enter my groups in the course:set
  181: 11:1:course_vcg:any:grps.gif:course[_14]:groups[_1]:go('/adm/coursegroups');:Enter any group in the course:cmn
  182: 11:1:course_mdg:any:grps.gif:course[_14]:groups[_1]:go('/adm/coursegroups');:Edit any group in the course:cmn
  183: 11:2:tools:portfolio:port.gif:port-[_1]:folio[_1]:go('/adm/portfolio');:Enter my portfolio space:set
  184: 11:3:tools:blog:blog.gif:edit[_1]:blogs[_1]:go('/adm/$udom/$uname/_rss.html');:Edit blogs, RSS feeds, and podcasts:set
  185: 12:1:clear
  186: 12:1:any:any:src.gif:search[_3]:prtfolio[_1]:go('/adm/searchcat');:Search the database of accessible portfolio files:cnt
  187: 12:1:course:any:src.gif:search[_1]:course[_11]:go('/adm/searchcat');:Search the contents of this course or accessible portfolio files:cnt
  188: 12:1:pbre:$requested_domain:src.gif:search[_2]:library[_1]:go('/adm/searchcat');:Search the database of published resources and accessible portfolio files:cnt
  189: 12:2:any:any:pref.gif:prefer-[_1]:ences[_1]:go('/adm/preferences');:Set my user preferences:set
  190: 12:3:clear
  191: 12:3:course:any:rsrv.gif:reserv-[_1]:ations[_1]:gocmd('/adm/slotrequest','manageresv');:Manage reservations:cmn
  192: 12:3:pmgr:$crs:rsrv.gif:reserv-[_1]:ations[_1]:gocmd('/adm/slotrequest','showslots');:Manage slots:cmn
  193: 13:2:any:any:logout.gif:logout[_1]: [_1]:go('/adm/logout');:Logout:oth

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>