--- loncom/interface/domainprefs.pm 2015/03/03 22:06:50 1.256
+++ loncom/interface/domainprefs.pm 2015/03/07 23:17:15 1.257
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.256 2015/03/03 22:06:50 raeburn Exp $
+# $Id: domainprefs.pm,v 1.257 2015/03/07 23:17:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2844,7 +2844,7 @@ sub print_helpsettings {
sub radiobutton_prefs {
my ($settings,$toggles,$defaultchecked,$choices,$itemcount,$onclick,
- $additional) = @_;
+ $additional,$align) = @_;
return unless ((ref($toggles) eq 'ARRAY') && (ref($defaultchecked) eq 'HASH') &&
(ref($choices) eq 'HASH'));
@@ -2878,8 +2878,14 @@ sub radiobutton_prefs {
$datatable .=
'
'.
''.$choices->{$item}.
- ' | '.
- ''.
+ ' | ';
+ if ($align eq 'left') {
+ $datatable .= '';
+ } else {
+ $datatable .= ' | ';
+ }
+ $datatable .=
+ ''.
' |