--- loncom/xml/lonxml.pm 2009/11/30 23:22:47 1.503
+++ loncom/xml/lonxml.pm 2009/12/02 18:33:43 1.504
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.503 2009/11/30 23:22:47 raeburn Exp $
+# $Id: lonxml.pm,v 1.504 2009/12/02 18:33:43 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1549,22 +1549,27 @@ sub renderingoptions {
}
my $output;
unless ($env{'form.forceedit'}) {
- $output .= '
- '.
+ $output .=
+ ''.
&mt('Language:').' '.
- &Apache::loncommon::select_form($env{'form.languages'},'languages',
- %langchoices).'
- ';
+ &Apache::loncommon::select_form(
+ $env{'form.languages'},
+ 'languages',
+ &Apache::lonlocal::texthash(%langchoices)).
+ '';
}
- $output .= '
- '.
+ $output .=
+ ' '.
&mt('Math Rendering:').' '.
- &Apache::loncommon::select_form($env{'form.texengine'},'texengine',
- ('' => '',
- 'tth' => 'tth (TeX to HTML)',
- 'jsMath' => 'jsMath',
- 'mimetex' => 'mimetex (Convert to Images)')).'
- ';
+ &Apache::loncommon::select_form(
+ $env{'form.texengine'},
+ 'texengine',
+ &Apache::lonlocal::texthash
+ ('' => '',
+ 'tth' => 'tth (TeX to HTML)',
+ 'jsMath' => 'jsMath',
+ 'mimetex' => 'mimetex (Convert to Images)')).
+ '';
return $output;
}