--- loncom/interface/lonhtmlcommon.pm 2012/01/02 05:07:06 1.298 +++ loncom/interface/lonhtmlcommon.pm 2012/02/22 10:18:26 1.301 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.298 2012/01/02 05:07:06 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.301 2012/02/22 10:18:26 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1170,6 +1170,9 @@ ENDEDITOR + + ENDJQUERY return $s; } @@ -1298,7 +1301,10 @@ sub htmlareaselectactive { $(this).before("
"); $("#LC_rt_"+id).click(editorHandler); }); - }); + $.fn.jPicker.defaults.images.clientPath="/adm/jpicker/images/"; + $(".colorchooser").jPicker(); + +c }); '; if ($dragmath_prefix ne '') { $output .= ' @@ -1462,11 +1468,11 @@ returns: nothing } my $links; if ((&show_return_link) && (!$CourseBreadcrumbs)) { - my $alttext = 'Go Back'; + my $alttext = &mt('Go Back'); $links=&htmltag( 'a',"'.&mt('No context provided.').'
'; } + if ($stuvcurrent ne '') { + $return .= '