--- loncom/interface/lonpreferences.pm 2006/04/10 18:59:30 1.80 +++ loncom/interface/lonpreferences.pm 2006/06/14 18:56:58 1.88 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.80 2006/04/10 18:59:30 albertel Exp $ +# $Id: lonpreferences.pm,v 1.88 2006/06/14 18:56:58 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -33,6 +33,7 @@ package Apache::lonpreferences; use strict; +use LONCAPA; use Apache::Constants qw(:common); use Apache::File; use Crypt::DES; @@ -107,7 +108,7 @@ sub wysiwygchanger { my $switchoff=&mt('Disable WYSIWYG editor'); my $switchon=&mt('Enable WYSIWYG editor'); $r->print(< +


@@ -147,7 +148,7 @@ sub languagechanger { my $selectionbox=&Apache::loncommon::select_form($language,'language', %langchoices); $r->print(< +
$pref: $selectionbox ENDLSCREEN @@ -201,7 +202,7 @@ sub texenginechanger { $r->print(< - +

$pref: $selectionbox

@@ -304,10 +305,10 @@ visited and places a table of these at t People with very few roles should leave this feature disabled.

- + -
Enable Recent Roles Hotlist: - +

Number of roles in Hotlist:
New screenname (shown if you post anonymously): @@ -430,7 +431,7 @@ sub msgforwardchanger { $r->print(< - + New Forwarding Address(es) (user:domain,user:domain,...):
@@ -514,19 +515,23 @@ sub colorschanger { 'link' => 'Un-Visited Link', 'vlink' => 'Visited Link', 'alink' => 'Active Link'); + my $start_data_table = &Apache::loncommon::start_data_table(); my $chtable=''; foreach my $item (sort(keys(%colortypes))) { my $curcol=&Apache::loncommon::designparm($function.'.'.$item,$domain); - $chtable.=''.$colortypes{$item}.'      Select'; + .$item."','parmform.pres','psub'".');">Select'. + &Apache::loncommon::end_data_table_row()."\n"; } + my $end_data_table = &Apache::loncommon::end_data_table(); my $pjump_def = &Apache::lonhtmlcommon::pjump_javascript_definition(); $r->print(< +