--- loncom/interface/lonpreferences.pm 2005/06/06 22:39:59 1.63 +++ loncom/interface/lonpreferences.pm 2005/07/05 15:25:34 1.66 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.63 2005/06/06 22:39:59 raeburn Exp $ +# $Id: lonpreferences.pm,v 1.66 2005/07/05 15:25:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -110,8 +110,8 @@ sub wysiwygchanger {

- $switchoff
- $switchon +
+ ENDLSCREEN $r->print('
'); } @@ -190,7 +190,7 @@ sub texenginechanger { my $pref=&mt('Preferred method to display Math'); my %mathchoices=('' => 'No Preference', 'tth' => 'TeX to HTML', - 'ttm' => 'TeX to MathML', + #'ttm' => 'TeX to MathML', 'jsMath' => 'jsMath', 'mimetex' => 'Convert to Images' ); @@ -980,12 +980,11 @@ sub coursedisplaychanger { my $r = shift; my $user = $env{'user.name'}; my $domain = $env{'user.domain'}; - my %userenv = &Apache::lonnet::get - ('environment',['course_init_display']); + my %userenv = &Apache::lonnet::get('environment',['course_init_display']); my $firstselect='checked="checked"'; my $whatsnewselect=''; - if ($userenv{'course_init_display'} eq 'firstres') { + if ($userenv{'course_init_display'} ne 'firstres') { $firstselect=''; $whatsnewselect='checked="checked"'; } @@ -996,8 +995,8 @@ sub coursedisplaychanger { $r->print(< - $whatsnew_off
- $whatsnew_on +
+ ENDLSCREEN $r->print('
');