Diff for /loncom/interface/lonhtmlcommon.pm between versions 1.152 and 1.154

version 1.152, 2006/08/08 19:10:54 version 1.154, 2006/11/09 20:43:07
Line 699  sub StatusOptions { Line 699  sub StatusOptions {
     }      }
     $Str .= ' size="'.$size.'" ';      $Str .= ' size="'.$size.'" ';
     $Str .= '>'."\n";      $Str .= '>'."\n";
     foreach my $type (['Active',  &mt('Currently Enrolled')],      foreach my $type (['Active',  &mt('Currently Has Access')],
       ['Future',  &mt('Future Enrollment')],        ['Future',  &mt('Will Have Future Access')],
       ['Expired', &mt('Previously Enrolled')],        ['Expired', &mt('Previously Had Access')],
       ['Any',     &mt('Any Enrollment Status')]) {        ['Any',     &mt('Any Access Status')]) {
  my ($name,$label) = @$type;   my ($name,$label) = @$type;
  $Str .= '<option value="'.$name.'" ';   $Str .= '<option value="'.$name.'" ';
  if ($status eq $name) {   if ($status eq $name) {
Line 1046  var checkwin; Line 1046  var checkwin;
 function spellcheckerwindow(string) {  function spellcheckerwindow(string) {
     var esc_string = string.replace(/\"/g,'&quot;');      var esc_string = string.replace(/\"/g,'&quot;');
     checkwin=window.open($nothing,'spellcheckwin','height=320,width=280,resizable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no');      checkwin=window.open($nothing,'spellcheckwin','height=320,width=280,resizable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no');
     checkwin.document.writeln('$start_page<form name="spellcheckform" action="/adm/spellcheck" method="post"><input type="hidden" name="text" value="'+esc_string+'" /><\/form>$end_page');      checkwin.document.writeln('$start_page<form name="spellcheckform" action="/adm/spellcheck" method="post"><input type="hidden" name="text" value="'+esc_string+'" /><\\/form>$end_page');
     checkwin.document.close();      checkwin.document.close();
 }  }
 // END LON-CAPA Internal -->  // END LON-CAPA Internal -->

Removed from v.1.152  
changed lines
  Added in v.1.154


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