--- loncom/interface/lonpreferences.pm 2008/05/28 23:50:53 1.123 +++ loncom/interface/lonpreferences.pm 2008/06/10 14:49:07 1.124 @@ -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.124 2008/06/10 14:49:07 www 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(< +$warning