version 1.54, 2003/06/09 22:42:49
|
version 1.56, 2003/06/16 15:09:23
|
Line 75 sub tag_end {
|
Line 75 sub tag_end {
|
my ($target,$token,$description) = @_; |
my ($target,$token,$description) = @_; |
my $result=''; |
my $result=''; |
if ($target eq 'edit') { |
if ($target eq 'edit') { |
my $tag=$token->[1]; |
$result.="</td></tr>".&end_table()."\n"; |
if (!defined($description)) { |
|
$result.="</td></tr><tr><td></$tag></td><td colspan=\"2\"> </td>"; |
|
} else { |
|
if ($description ne '') { $result.="</td></tr><tr><td>$description</td><td colspan=\"2\"> </td>"; } |
|
} |
|
$result.="</tr>".&end_table()."\n"; |
|
} |
} |
return $result; |
return $result; |
} |
} |
Line 657 sub browse {
|
Line 651 sub browse {
|
$Apache::lonxml::curdepth); |
$Apache::lonxml::curdepth); |
} |
} |
my $result = <<"ENDBUTTON"; |
my $result = <<"ENDBUTTON"; |
<a href=\"javascript:openbrowser('$form','$element')\"\>Browse</a> |
<a href=\"javascript:openbrowser('$form','$element')\"\>Select</a> |
ENDBUTTON |
ENDBUTTON |
return $result; |
return $result; |
} |
} |