version 1.11, 2016/11/22 00:43:12
|
version 1.13, 2016/11/29 16:03:03
|
Line 528 $title
|
Line 528 $title
|
<input type="hidden" name="importdetail" value="" /> |
<input type="hidden" name="importdetail" value="" /> |
$pathitem |
$pathitem |
$hiddenelem |
$hiddenelem |
<input type="button" value="$save" onclick="javascript:setExternal(this.form,'$residx','$type','$orig_url','$supplementalflag');"'.$disabled.' /> |
<input type="button" value="$save" onclick="javascript:setExternal(this.form,'$residx','$type','$orig_url','$supplementalflag');" $disabled /> |
</span> |
</span> |
</div> |
</div> |
</fieldset> |
</fieldset> |
Line 543 ENDFORM
|
Line 543 ENDFORM
|
|
|
sub display_editor { |
sub display_editor { |
my ($url,$folderpath,$symb,$idx,$type,$cdom,$cnum) = @_; |
my ($url,$folderpath,$symb,$idx,$type,$cdom,$cnum) = @_; |
my ($residx,$supplementalflag,$title,$pathitem,$output,$js); |
my ($residx,$supplementalflag,$title,$pathitem,$output,$js,$navmap); |
if ($folderpath =~ /^supplemental/) { |
if ($folderpath =~ /^supplemental/) { |
$supplementalflag = 1; |
$supplementalflag = 1; |
$residx = $idx; |
$residx = $idx; |
Line 553 sub display_editor {
|
Line 553 sub display_editor {
|
(my $map,$residx,my $res) = |
(my $map,$residx,my $res) = |
&Apache::lonnet::decode_symb($symb); |
&Apache::lonnet::decode_symb($symb); |
$title = &Apache::lonnet::gettitle($symb); |
$title = &Apache::lonnet::gettitle($symb); |
my $path = &Apache::loncommon::symb_to_docspath($symb); |
my $path = &Apache::loncommon::symb_to_docspath($symb,\$navmap); |
$pathitem = '<input type="hidden" name="folderpath" value="'.&HTML::Entities::encode($path,'<>&"').'" />'; |
$pathitem = '<input type="hidden" name="folderpath" value="'.&HTML::Entities::encode($path,'<>&"').'" />'; |
} |
} |
my %ltitools; |
my %ltitools; |