--- loncom/interface/lonpreferences.pm 2008/05/28 23:50:53 1.123 +++ loncom/interface/lonpreferences.pm 2008/07/18 12:36:11 1.125 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.123 2008/05/28 23:50:53 bisitz Exp $ +# $Id: lonpreferences.pm,v 1.125 2008/07/18 12:36:11 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -108,9 +108,14 @@ sub wysiwygchanger { } my $switchoff=&mt('Disable WYSIWYG editor'); my $switchon=&mt('Enable WYSIWYG editor'); + my $warning=''; + if ($env{'user.adv'}) { + $warning.="
".&mt("The WYSIWYG editor only supports simple HTML and is in many cases unsuited for advanced authoring. In a number of cases, it may destroy advanced authoring involving LaTeX and script function calls.")."
"; + } $r->print(<