--- loncom/interface/lonhtmlcommon.pm 2010/01/05 00:42:49 1.258
+++ loncom/interface/lonhtmlcommon.pm 2010/01/24 03:56:09 1.262
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.258 2010/01/05 00:42:49 faziophi Exp $
+# $Id: lonhtmlcommon.pm,v 1.262 2010/01/24 03:56:09 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -66,7 +66,7 @@ use LONCAPA;
sub coursepreflink {
my ($text,$category)=@_;
if (&Apache::lonnet::allowed('opa',$env{'request.course.id'})) {
- return ''.$text.'';
+ return '&"').'">'.$text.'';
} else {
return '';
}
@@ -81,8 +81,6 @@ sub raw_href_to_link {
##############################################
##############################################
-=pod
-
=item confirm_success
Successful completion of an operation message
@@ -139,7 +137,6 @@ ENDDRAGMATH
Javascript used to open pop-up window containing dragmath applet which
can be used to paste LaTeX into a textarea.
-
=cut
sub dragmath_js {
@@ -1241,7 +1238,7 @@ ENDLINK
sub htmlareaheaders {
my $s="";
- if (!&htmlareablocked() && &htmlareabrowser()) {
+ if (&htmlareabrowser()) {
$s.=(<
@@ -1250,6 +1247,7 @@ ENDEDITOR
$s.=(<
+
ENDJQUERY
return $s;
}
@@ -1286,8 +1284,8 @@ sub htmlarea_lang {
sub htmlareaselectactive {
my @fields=@_;
unless (&htmlareabrowser()) { return ''; }
- if (&htmlareablocked()) { return '
'.&enablelink(@fields); }
- my $output='