--- loncom/interface/lonhtmlcommon.pm 2012/09/04 10:46:05 1.320 +++ loncom/interface/lonhtmlcommon.pm 2012/11/16 23:37:16 1.331 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.320 2012/09/04 10:46:05 foxr Exp $ +# $Id: lonhtmlcommon.pm,v 1.331 2012/11/16 23:37:16 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -61,7 +61,7 @@ use Time::HiRes; use Apache::lonlocal; use Apache::lonnet; use HTML::Entities(); -use LONCAPA; +use LONCAPA qw(:DEFAULT :match); sub java_not_enabled { return "\n".''. @@ -1101,6 +1101,7 @@ sub Close_PrgWin { undef(%$prog_state); } + # ------------------------------------------------------- Puts directory header sub crumbs { @@ -1212,7 +1213,7 @@ ENDEDITOR - + ENDJQUERY @@ -1230,6 +1231,17 @@ sub htmlarea_lang { return $lang; } +# return javacsript to activate elements of .colorchooser with jpicker: +# Caller is responsible for enclosing this in