Diff for /loncom/interface/groupsort.pm between versions 1.27 and 1.30

version 1.27, 2004/05/10 08:34:50 version 1.30, 2005/02/17 08:29:42
Line 105  ENDADV Line 105  ENDADV
     }      }
   
 # output start of web page  # output start of web page
       my $html=&Apache::lonxml::xmlbegin();
     $r->print(<<END);      $r->print(<<END);
 <html>  $html
 <head>  <head>
 <title>The LearningOnline Network With CAPA Group Sorter</title>  <title>The LearningOnline Network With CAPA Group Sorter</title>
 <script language='javascript'>  <script language='javascript'>
Line 236  END Line 236  END
  $key =~ s/^store_//;   $key =~ s/^store_//;
  $shash{$key} = $hash{'storectr_'.$key};   $shash{$key} = $hash{'storectr_'.$key};
  if (&Apache::lonnet::gettitle($key) eq '') {   if (&Apache::lonnet::gettitle($key) eq '') {
  $thash{$key} = $hash{'store_'.$key}; }      $thash{$key} = $hash{'store_'.$key};
  else {   } else {
  $thash{$key} = &Apache::lonnet::gettitle($key); }      $thash{$key} = &Apache::lonnet::gettitle($key);
    }
     }      }
  }   }
  if ($ENV{'form.oldval'}) {   if ($ENV{'form.oldval'}) {
Line 318  END Line 319  END
   
         # --- Expand here if "GO BACK" button desired          # --- Expand here if "GO BACK" button desired
         if ($ENV{'form.catalogmode'} eq 'groupimport') {          if ($ENV{'form.catalogmode'} eq 'groupimport') {
               my $resurl = &Apache::loncommon::lastresurl();
     $r->print(<<END);      $r->print(<<END);
 <input type="button" name="alter" value="$lt{'gb'}"  <input type="button" name="alter" value="$lt{'gb'}"
  onClick="window.location='/res/?catalogmode=groupimport'" />&nbsp;   onClick="window.location='$resurl?catalogmode=groupimport'" />&nbsp;
 END  END
         }          }
  if ($ENV{'form.catalogmode'} eq 'groupsearch') {   if ($ENV{'form.catalogmode'} eq 'groupsearch') {

Removed from v.1.27  
changed lines
  Added in v.1.30


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