version 1.2, 2009/08/06 20:46:42
|
version 1.3, 2009/08/19 19:57:53
|
Line 189 $opener_elems.'
|
Line 189 $opener_elems.'
|
</form></div>'); |
</form></div>'); |
} else { |
} else { |
my $helplink = 'javascript:helpMenu('."'display'".')'; |
my $helplink = 'javascript:helpMenu('."'display'".')'; |
my %usertypetext = ( |
my %usertypetext = |
official => 'institutional', |
&Apache::lonlocal::texthash( |
unofficial => 'non-institutional', |
official => 'You are not authorized to create new institutional users in this domain.', |
|
unofficial => 'You are not authorized to create new non-institutional users in this domain.', |
); |
); |
$r->print('<div class="LC_warning">'. |
$r->print('<div class="LC_warning">'. |
&mt("You are not authorized to create new $usertypetext{$usertype} users in this domain.").' '. |
$usertypetext{$usertype}.' '. |
&mt('Please contact the [_1]helpdesk[_2] for assistance.','<a href="'.$helplink.'">','</a>').'</div>'); |
&mt('Please contact the [_1]helpdesk[_2] for assistance.','<a href="'.$helplink.'">','</a>').'</div>'); |
|
|
} |
} |