--- loncom/interface/domainprefs.pm 2017/08/15 21:03:58 1.309 +++ loncom/interface/domainprefs.pm 2017/08/25 00:07:45 1.312 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.309 2017/08/15 21:03:58 raeburn Exp $ +# $Id: domainprefs.pm,v 1.312 2017/08/25 00:07:45 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6402,7 +6402,7 @@ sub user_formats_row { } $output .= ''. ''; } @@ -9812,7 +9812,7 @@ sub process_textbook_image { } elsif ($author_ok eq 'ok') { my ($result,$imageurl) = &publishlogo($r,'upload',$caller,$dom,$confname, - "$type/$dom/$cnum/cover",$width,$height); + "$type/$cdom/$cnum/cover",$width,$height); if ($result eq 'ok') { $url = $imageurl; } else { @@ -12273,8 +12273,8 @@ sub modify_selfcreation { } } $chgtext .= ''; + my $typename; if (@types) { - my $typename; if ($type eq 'default') { $typename = $othertitle; } else { @@ -12290,10 +12290,9 @@ sub modify_selfcreation { ''; } else { $resulttext .= '
  • '. - &mt('There are now no restrictions on e-mail addresses which may be used for verification when a user requests an account.', - $usertypes{$type}). + &mt('There are now no restrictions on e-mail addresses which may be used for verification when a user requests an account.'). '
  • '. - &mt('(Affiliation: [_1])',$type); + &mt('(Affiliation: [_1])',$typename); } } }