version 1.413.4.4, 2010/01/25 22:11:57
|
version 1.413.4.6, 2010/02/15 01:20:08
|
Line 3189 ENDMAINFORMHEAD
|
Line 3189 ENDMAINFORMHEAD
|
my @menu = |
my @menu = |
( { divider=>"Settings for Your $crstype", |
( { divider=>"Settings for Your $crstype", |
}, |
}, |
{ text => "Edit $lc_crstype configuration", |
|
url => '/adm/courseprefs?origin=params', |
|
permission => $parm_permission, |
|
help => 'Course_Environment', |
|
}, |
|
{ text => 'Set Portfolio Metadata', |
{ text => 'Set Portfolio Metadata', |
action => 'setrestrictmeta', |
action => 'setrestrictmeta', |
permission => $parm_permission, |
permission => $parm_permission, |
Line 4153 sub handler {
|
Line 4148 sub handler {
|
&Apache::lonhtmlcommon::add_breadcrumb({href=>'/adm/parmset?action=dateshift1&timebase='.$env{'form.timebase'}, |
&Apache::lonhtmlcommon::add_breadcrumb({href=>'/adm/parmset?action=dateshift1&timebase='.$env{'form.timebase'}, |
text=>"Shifting Dates"}); |
text=>"Shifting Dates"}); |
&date_shift_two($r); |
&date_shift_two($r); |
} elsif ($env{'form.action'} eq 'categorizecourse' && $parm_permission) { |
|
&assign_course_categories($r); |
|
} |
} |
} else { |
} else { |
# ----------------------------- Not in a course, or not allowed to modify parms |
# ----------------------------- Not in a course, or not allowed to modify parms |