--- rat/lonpage.pm 2009/10/26 09:59:12 1.91.2.2 +++ rat/lonpage.pm 2010/03/16 19:56:02 1.93 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.91.2.2 2009/10/26 09:59:12 foxr Exp $ +# $Id: lonpage.pm,v 1.93 2010/03/16 19:56:02 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -538,10 +538,6 @@ sub handler { sub get_buttons { my ($hash,$rid) = @_; - # which icons do we use? - my $extension='png'; - if ($env{'environment.icons'} eq 'classic') { $extension='gif'; } - my $metainfo = ''; my $esrc=&Apache::lonnet::declutter($hash->{'src_'.$rid}); my ($mapid,$resid)=split(/\./,$rid); @@ -558,13 +554,13 @@ sub get_buttons { || !$hash->{'encrypted_'.$rid})) { $metainfo .=''. ''. - ''. + ''. ''; } $metainfo .= ''. - ''. + ''. ''; if (($hash->{'src_'.$rid}=~/\.(problem|exam|quiz|assess|survey|form)$/) && ($hash->{'src_'.$rid} !~ m-^/uploaded/-)) { @@ -574,12 +570,12 @@ sub get_buttons { ''. '&command=submission">'. - ''. + ''. ''. ''. '&command=gradingmenu">'. - ''. + ''. ''; } if (&Apache::lonnet::allowed('opa',$env{'request.course.id'})) { @@ -587,7 +583,7 @@ sub get_buttons { ''. '" >'. - ''. + ''. ''; } }