--- loncom/interface/loncommon.pm 2009/04/28 21:54:57 1.798 +++ loncom/interface/loncommon.pm 2009/05/01 01:07:55 1.800 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.798 2009/04/28 21:54:57 tempelho Exp $ +# $Id: loncommon.pm,v 1.800 2009/05/01 01:07:55 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -517,6 +517,10 @@ sub coursebrowser_javascript { else { if (formname == 'portform') { url += '&setroles='+extra_element; + } else { + if (formname == 'rules') { + url += '&fixeddom='+extra_element; + } } } } @@ -7469,12 +7473,17 @@ sub user_picker { if ($cancreate) { $new_user_create = '
&"').'" onclick="javascript:setSearch(\'1\','.$caller.');" />
'; } else { - my $helplink = ' href="javascript:helpMenu('."'display'".')"'; + my $helplink = 'javascript:helpMenu('."'display'".')'; my %usertypetext = ( official => 'institutional', unofficial => 'non-institutional', ); - $new_user_create = '' + .&mt("You are not authorized to create new $usertypetext{$usertype} users in this domain.") + .' ' + .&mt('Please contact the [_1]helpdesk[_2] for assistance.' + ,'','') + .'