version 1.476, 2009/11/02 08:30:04
|
version 1.477, 2009/11/05 18:10:37
|
Line 3648 ENDMAINFORMHEAD
|
Line 3648 ENDMAINFORMHEAD
|
my $vgr = &Apache::lonnet::allowed('vgr',$env{'request.course.id'}); |
my $vgr = &Apache::lonnet::allowed('vgr',$env{'request.course.id'}); |
my $mgr = &Apache::lonnet::allowed('mgr',$env{'request.course.id'}); |
my $mgr = &Apache::lonnet::allowed('mgr',$env{'request.course.id'}); |
|
|
|
my $crstype = &Apache::loncommon::course_type(); |
|
my $lc_crstype = lc($crstype); |
|
|
my @menu = |
my @menu = |
( { categorytitle=>'Settings for this Course', |
( { categorytitle=>"Settings for this $crstype", |
items => [ |
items => [ |
{ linktext => 'Course Configuration', |
{ linktext => "$crstype Configuration", |
url => '/adm/courseprefs?origin=params', |
url => '/adm/courseprefs?origin=params', |
permission => $parm_permission, |
permission => $parm_permission, |
linktitle =>'Edit course configuration.' , |
linktitle => "Edit $lc_crstype configuration." , |
icon => 'preferences-desktop-remote-desktop.png' , |
icon => 'preferences-desktop-remote-desktop.png' , |
#help => 'Course_Environment', |
#help => 'Course_Environment', |
}, |
}, |
{ linktext => 'Portfolio Metadata', |
{ linktext => 'Portfolio Metadata', |
url => '/adm/parmset?action=setrestrictmeta', |
url => '/adm/parmset?action=setrestrictmeta', |
permission => $parm_permission, |
permission => $parm_permission, |
linktitle => 'Restrict metadata for this course.' , |
linktitle => "Restrict metadata for this $lc_crstype." , |
icon =>'contact-new.png' , |
icon =>'contact-new.png' , |
}, |
}, |
{ linktext => 'Manage Course Slots', |
{ linktext => "Manage $crstype Slots", |
url => '/adm/slotrequest?command=showslots', |
url => '/adm/slotrequest?command=showslots', |
permission => $vgr, |
permission => $vgr, |
linktitle =>'Manage slots for this course.' , |
linktitle => "Manage slots for this $lc_crstype." , |
icon => 'format-justify-fill.png' , |
icon => 'format-justify-fill.png' , |
}, |
}, |
{ linktext => 'Reset Student Access Times', |
{ linktext => 'Reset Student Access Times', |
url => '/adm/helper/resettimes.helper', |
url => '/adm/helper/resettimes.helper', |
permission => $mgr, |
permission => $mgr, |
linktitle =>'Reset access times for folders/maps, resources or the course.' , |
linktitle => "Reset access times for folders/maps, resources or the $lc_crstype." , |
icon => 'start-here.png' , |
icon => 'start-here.png' , |
}, |
}, |
|
|
Line 3719 ENDMAINFORMHEAD
|
Line 3721 ENDMAINFORMHEAD
|
{ linktext => 'Change Log', |
{ linktext => 'Change Log', |
url => '/adm/parmset?action=parameterchangelog', |
url => '/adm/parmset?action=parameterchangelog', |
permission => $parm_permission, |
permission => $parm_permission, |
linktitle =>'View parameter and course blog posting/user notification change log.' , |
linktitle =>"View parameter and $lc_crstype blog posting/user notification change log." , |
icon => 'emblem-system.png' , |
icon => 'emblem-system.png' , |
}]} |
}]} |
); |
); |