Diff for /loncom/homework/bridgetask.pm between versions 1.122 and 1.123

version 1.122, 2006/03/28 19:55:43 version 1.123, 2006/03/28 20:45:58
Line 213  sub add_grading_button { Line 213  sub add_grading_button {
    'gradinguser',     'gradinguser',
    'gradingdomain');     'gradingdomain');
  $result.=&Apache::loncommon::studentbrowser_javascript();   $result.=&Apache::loncommon::studentbrowser_javascript();
    $result.= '</p>';
   }    }
     return $result;      return $result;
 }  }
Line 429  sub start_Task { Line 430  sub start_Task {
  &Apache::structuretags::page_start($target,$token,$tagstack,$parstack,$parser,$safeeval);   &Apache::structuretags::page_start($target,$token,$tagstack,$parstack,$parser,$safeeval);
           
     $body_tag_start .= '<div class="LC_task">'."\n";      $body_tag_start .= '<div class="LC_task">'."\n";
   
       if ($target eq 'web' || $target eq 'webgrade') {
    $head_tag_start.='<title>'.
       &Apache::structuretags::get_resource_name($parstack,$safeeval).
       '</title>';
       }
   
     if ($target eq 'web' && $env{'request.state'} ne 'construct') {      if ($target eq 'web' && $env{'request.state'} ne 'construct') {
  if ($Apache::lonhomework::modifygrades) {   if ($Apache::lonhomework::modifygrades) {
     $body_tag_start.='<form name="gradesubmission" method="post" action="';      $body_tag_start.='<form name="gradesubmission" method="post" action="';
Line 538  DONESCREEN Line 546  DONESCREEN
  }   }
     }      }
  } elsif ($target eq 'web') {   } elsif ($target eq 'web') {
     my $name= &Apache::structuretags::get_resource_name($parstack,$safeeval);      $result.="$head_tag_start</head>
     $result.="$head_tag_start<title>$name</title></head>  
               $body_tag_start \n".&style();                $body_tag_start \n".&style();
           
     $result.=&preserve_grade_info();      $result.=&preserve_grade_info();

Removed from v.1.122  
changed lines
  Added in v.1.123


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