version 1.379, 2013/07/03 04:04:13
|
version 1.381, 2013/07/19 18:24:17
|
Line 988 ENDSCRIPT
|
Line 988 ENDSCRIPT
|
$r->print('</h3>'); |
$r->print('</h3>'); |
} |
} |
} |
} |
$r->print('<form name="usersrchform" method="post">'. |
$r->print('<form name="usersrchform" method="post" action="">'. |
&Apache::loncommon::start_data_table()."\n". |
&Apache::loncommon::start_data_table()."\n". |
&Apache::loncommon::start_data_table_header_row()."\n". |
&Apache::loncommon::start_data_table_header_row()."\n". |
' <th> </th>'."\n"); |
' <th> </th>'."\n"); |
Line 3799 sub enroll_single_student {
|
Line 3799 sub enroll_single_student {
|
$startdate,'manual',undef,$env{'request.course.id'},'',$context, |
$startdate,'manual',undef,$env{'request.course.id'},'',$context, |
$credits); |
$credits); |
if ($enroll_result =~ /^ok/) { |
if ($enroll_result =~ /^ok/) { |
$r->print(&mt('<b>[_1]</b> enrolled',$env{'form.ccuname'}.':'.$env{'form.ccdomain'})); |
$r->print(&mt('[_1] enrolled','<b>'.$env{'form.ccuname'}.':'.$env{'form.ccdomain'}.'</b>')); |
if ($env{'form.sections'} ne '') { |
if ($env{'form.sections'} ne '') { |
$r->print(' '.&mt('in section [_1]',$env{'form.sections'})); |
$r->print(' '.&mt('in section [_1]',$env{'form.sections'})); |
} |
} |
Line 4124 sub custom_role_editor {
|
Line 4124 sub custom_role_editor {
|
$r->print('<br clear="all" />'); |
$r->print('<br clear="all" />'); |
|
|
$r->print(<<ENDCCF); |
$r->print(<<ENDCCF); |
<form name="form1" method="post"> |
<form name="form1" method="post" action=""> |
<input type="hidden" name="phase" value="set_custom_roles" /> |
<input type="hidden" name="phase" value="set_custom_roles" /> |
<input type="hidden" name="rolename" value="$rolename" /> |
<input type="hidden" name="rolename" value="$rolename" /> |
ENDCCF |
ENDCCF |
Line 4320 sub set_custom_role {
|
Line 4320 sub set_custom_role {
|
$env{'user.name'}, |
$env{'user.name'}, |
$rolename,undef,undef,undef,$context)); |
$rolename,undef,undef,undef,$context)); |
} |
} |
$r->print('<p><a href="javascript:backPage(document.customresult,'."'pickrole'".')">'.&mt('Create or edit another custom role').'</a></p><form name="customresult" method="post">'); |
$r->print( |
$r->print(&Apache::lonhtmlcommon::echo_form_input([]).'</form>'); |
'<p><a href="javascript:backPage(document.customresult,'."'pickrole'".')">' |
|
.&mt('Create or edit another custom role') |
|
.'</a></p>' |
|
.'<form name="customresult" method="post" action="">' |
|
.&Apache::lonhtmlcommon::echo_form_input([]).'</form>' |
|
); |
} |
} |
|
|
# ================================================================ Main Handler |
# ================================================================ Main Handler |