version 1.261, 2008/08/27 21:55:32
|
version 1.262, 2008/11/17 14:31:33
|
Line 833 ENDNOPORTPRIV
|
Line 833 ENDNOPORTPRIV
|
$addrolesdisplay = $add_domainroles; |
$addrolesdisplay = $add_domainroles; |
} |
} |
$r->print(&course_level_dc($env{'request.role.domain'},'Course')); |
$r->print(&course_level_dc($env{'request.role.domain'},'Course')); |
$r->print('<br /><input type="button" value="'.&mt('Modify User').'" onClick="setCourse()" />'."\n"); |
$r->print('<br /><input type="button" value="'.&mt('Save').'" onClick="setCourse()" />'."\n"); |
} elsif ($context eq 'author') { |
} elsif ($context eq 'author') { |
if ($addrolesdisplay) { |
if ($addrolesdisplay) { |
$r->print('<br /><input type="button" value="'.&mt('Modify User').'"'); |
$r->print('<br /><input type="button" value="'.&mt('Save').'"'); |
if ($newuser) { |
if ($newuser) { |
$r->print(' onClick="auth_check()" \>'."\n"); |
$r->print(' onClick="auth_check()" \>'."\n"); |
} else { |
} else { |
Line 848 ENDNOPORTPRIV
|
Line 848 ENDNOPORTPRIV
|
} |
} |
} else { |
} else { |
$r->print(&course_level_table(%inccourses)); |
$r->print(&course_level_table(%inccourses)); |
$r->print('<br /><input type="button" value="'.&mt('Modify User').'" onClick="setSections(this.form)" />'."\n"); |
$r->print('<br /><input type="button" value="'.&mt('Save').'" onClick="setSections(this.form)" />'."\n"); |
} |
} |
} |
} |
$r->print(&Apache::lonhtmlcommon::echo_form_input(['phase','userrole','ccdomain','prevphase','currstate','ccuname','ccdomain'])); |
$r->print(&Apache::lonhtmlcommon::echo_form_input(['phase','userrole','ccdomain','prevphase','currstate','ccuname','ccdomain'])); |