version 1.295.2.34, 2010/05/22 13:30:43
|
version 1.295.2.35, 2010/08/20 04:19:38
|
Line 1613 sub display_existing_roles {
|
Line 1613 sub display_existing_roles {
|
$plaintext=&Apache::lonnet::plaintext($role_code,$class) |
$plaintext=&Apache::lonnet::plaintext($role_code,$class) |
} else { |
} else { |
$plaintext= |
$plaintext= |
"Customrole '$croletitle'<br />defined by $croleuname\@$croleudom"; |
&mt('Customrole [_1][_2]defined by [_3]', |
|
'"'.$croletitle.'"', |
|
'<br />', |
|
$croleuname.':'.$croleudom); |
} |
} |
$row.= '</td><td>'.$plaintext. |
$row.= '</td><td>'.$plaintext. |
'</td><td>'.$area. |
'</td><td>'.$area. |
Line 2297 sub update_user_data {
|
Line 2300 sub update_user_data {
|
|
|
$r->print('<h3>'.&mt('User [_1] in domain [_2]', |
$r->print('<h3>'.&mt('User [_1] in domain [_2]', |
$env{'form.ccuname'}, $env{'form.ccdomain'}).'</h3>'); |
$env{'form.ccuname'}, $env{'form.ccdomain'}).'</h3>'); |
|
$r->print('<p class="LC_info">'.&mt('Please be patient').'</p>'); |
my (%alerts,%rulematch,%inst_results,%curr_rules); |
my (%alerts,%rulematch,%inst_results,%curr_rules); |
my @userinfo = ('firstname','middlename','lastname','generation','permanentemail','id'); |
my @userinfo = ('firstname','middlename','lastname','generation','permanentemail','id'); |
my @usertools = ('aboutme','blog','portfolio'); |
my @usertools = ('aboutme','blog','portfolio'); |
Line 2438 sub update_user_data {
|
Line 2442 sub update_user_data {
|
$r->print($error.&mt('You do not have the authority to modify this users authentification information').'.'.$end); |
$r->print($error.&mt('You do not have the authority to modify this users authentification information').'.'.$end); |
} |
} |
} |
} |
|
|
|
$r->rflush(); # Finish display of header before time consuming actions start |
|
|
## |
## |
my (@userroles,%userupdate,$cnum,$cdom,%namechanged); |
my (@userroles,%userupdate,$cnum,$cdom,%namechanged); |
if ($context eq 'course') { |
if ($context eq 'course') { |