--- loncom/interface/lonhtmlcommon.pm 2009/08/13 15:43:45 1.182.4.2 +++ loncom/interface/lonhtmlcommon.pm 2009/04/25 16:53:13 1.208 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.182.4.2 2009/08/13 15:43:45 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.208 2009/04/25 16:53:13 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -74,18 +74,10 @@ Successful completion of an operation me =cut sub confirm_success { - my ($message,$failure)=@_; - if ($failure) { - return ''."\n" - .''.&mt('Error').' '."\n" - .$message."\n" - .''."\n"; - } else { - return ''."\n" - .''.&mt('OK').' '."\n" - .$message."\n" - .''."\n"; - } + my ($message)=@_; + return ''. + $message. + ' '; } ############################################## @@ -130,13 +122,11 @@ sub dragmath_js { my ($popup) = @_; return < - // ENDDRAGMATHJS @@ -432,7 +422,6 @@ sub date_setter { my $result = "\n\n"; $result .= < -// ENDJS - $result .= ' '; + $result .= ' '; my $monthselector = qq{\n|; +