--- loncom/interface/loncommon.pm 2013/08/20 02:32:59 1.1149 +++ loncom/interface/loncommon.pm 2013/09/05 12:07:25 1.1152 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1149 2013/08/20 02:32:59 raeburn Exp $ +# $Id: loncommon.pm,v 1.1152 2013/09/05 12:07:25 goltermann Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6496,6 +6496,14 @@ div.LC_edit_problem_saves { white-space: nowrap; } +.LC_edit_problem_latexhelper{ + text-align: right; +} + +#LC_edit_problem_colorful div{ + margin-left: 40px; +} + img.stift { border-width: 0; vertical-align: middle; @@ -8044,10 +8052,16 @@ function expand_div(caller) { } sub simple_error_page { - my ($r,$title,$msg) = @_; + my ($r,$title,$msg,$args) = @_; + if (ref($args) eq 'HASH') { + if (!$args->{'no_auto_mt_msg'}) { $msg = &mt($msg); } + } else { + $msg = &mt($msg); + } + my $page = &Apache::loncommon::start_page($title). - '

'.&mt($msg).'

'. + '

'.$msg.'

'. &Apache::loncommon::end_page(); if (ref($r)) { $r->print($page);