--- loncom/xml/lonxml.pm 2001/08/18 15:49:28 1.118 +++ loncom/xml/lonxml.pm 2001/08/20 14:53:12 1.119 @@ -13,7 +13,7 @@ # 6/12,6/13 H. K. Ng # 6/16 Gerd Kortemeyer # 7/27 H. K. Ng -# 8/7,8/9,8/10,8/11,8/15,8/16,8/17,8/18 Gerd Kortemeyer +# 8/7,8/9,8/10,8/11,8/15,8/16,8/17,8/18,8/20 Gerd Kortemeyer package Apache::lonxml; use vars @@ -152,6 +152,34 @@ sub xmlend { return $discussion.''; } +sub tokeninputfield { + my $defhost=$Apache::lonnet::perlvar{'lonhostID'}; + return (< + + + + +
DocID Checkin
+ + + + + + + +
Scan in Barcode
or Type in DocID + + + + + +
+
+ +ENDINPUTFIELD +} + sub maketoken { my ($symb,$tuname,$tudom,$tcrsid)=@_; unless ($symb) {