version 1.379, 2013/07/03 04:04:13
|
version 1.380, 2013/07/15 16:13:21
|
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 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 |