Diff for /loncom/interface/spreadsheet/studentcalc.pm between versions 1.13 and 1.14

version 1.13, 2003/06/23 20:47:00 version 1.14, 2003/07/16 15:57:32
Line 144  sub parent_link { Line 144  sub parent_link {
     return $link;      return $link;
 }  }
   
   sub convenience_links {
       my $self = shift;
       my ($resource) = @_;
       my $symb = &Apache::lonnet::escape($resource->{'symb'});
       my $result = <<"END";
   <a href="/adm/grades?symb=$symb&command=submission" target="LONcatInfo">
       <img src="/adm/lonMisc/subm_button.gif" border=0 />
       </a>
   <a href="/adm/grades?symb=$symb&command=gradingmenu" target="LONcatInfo">
       <img src="/adm/lonMisc/pgrd_button.gif" border=0 />
       </a>
   <a href="/adm/parmset?symb=$symb" target="LONcatInfo">
       <img src="/adm/lonMisc/pprm_button.gif" border=0 />
       </a>
   END
       return $result;
   }
   
 sub outsheet_html {  sub outsheet_html {
     my $self = shift;      my $self = shift;
     my ($r) = @_;      my ($r) = @_;
Line 208  END Line 226  END
         $tableheader =<<"END";          $tableheader =<<"END";
 </p><p>  </p><p>
 <table border="2">  <table border="2">
 <tr><th>Row</th><th>Assessment</th>  <tr><th>Row</th><th>&nbsp;</th><th>Assessment</th>
 END  END
     } else {      } else {
         $tableheader =<<"END";          $tableheader =<<"END";
Line 242  END Line 260  END
             my $row_output = '<tr>';              my $row_output = '<tr>';
             if ($editing_is_allowed) {              if ($editing_is_allowed) {
                 $row_output .= '<td>'.$rownum.'</td>';                  $row_output .= '<td>'.$rownum.'</td>';
                   $row_output .= '<td>'.$self->convenience_links($resource).'</td>';
                 $row_output .= '<td>'.                  $row_output .= '<td>'.
                     '<a href="/adm/assesscalc?sname='.$self->{'name'}.                      '<a href="/adm/assesscalc?sname='.$self->{'name'}.
                     '&sdomain='.$self->{'domain'}.                      '&sdomain='.$self->{'domain'}.

Removed from v.1.13  
changed lines
  Added in v.1.14


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>