Diff for /loncom/homework/edit.pm between versions 1.28 and 1.29

version 1.28, 2002/01/21 16:40:57 version 1.29, 2002/03/06 20:15:35
Line 27 Line 27
 #  #
 # 3/20 Guy  # 3/20 Guy
 # 01/10/02 Matthew  # 01/10/02 Matthew
   # 03/06/02 Matthew
 package Apache::edit;   package Apache::edit; 
   
 use strict;  use strict;
Line 416  sub select_or_text_arg { Line 417  sub select_or_text_arg {
   }    }
   return $result;    return $result;
 }  }
   
   #----------------------------------------------------- browse
   sub browse {
       # insert a link to call up the filesystem browser (lonindexer)
       my $form    = 'lonhomework';
       my $element = &Apache::lonnet::escape("$Apache::lonxml::curdepth.bgimg");
       my $result = <<"ENDBUTTON";
   <a href=\"javascript:openbrowser('$form','$element')\"\>Browse</a>
   ENDBUTTON
       return $result;
   }
   
 1;  1;
 __END__  __END__
   
Line 515  from lonxml; return a scalar string Line 528  from lonxml; return a scalar string
 get_insert_list($token) : provide an insertion list based on possibilities  get_insert_list($token) : provide an insertion list based on possibilities
 from lonxml; return a scalar string  from lonxml; return a scalar string
   
   =item *
   browse($elementname) : provide a link which will open up the filesystem
   browser (lonindexer) and, once a file is selected, place the result in
   the form element $elementname.
   
 =back  =back
   
 incomplete...  incomplete...

Removed from v.1.28  
changed lines
  Added in v.1.29


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