version 1.49.2.11.2.7, 2024/02/28 19:01:41
|
version 1.86, 2023/12/31 21:45:03
|
Line 453 sub handler {
|
Line 453 sub handler {
|
$cdom = $env{'course.'.$env{'request.course.id'}.'.domain'}; |
$cdom = $env{'course.'.$env{'request.course.id'}.'.domain'}; |
&Apache::loncommon::validate_folderpath(1,'',$cnum,$cdom); |
&Apache::loncommon::validate_folderpath(1,'',$cnum,$cdom); |
} |
} |
unless ($env{'form.only_body'}) { |
unless ($env{'form.only_body'}) { |
$brcrum = |
$brcrum = |
&Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); |
&Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); |
} |
} |
Line 537 described at http://www.lon-capa.org.
|
Line 537 described at http://www.lon-capa.org.
|
|
|
=over |
=over |
|
|
=item wrapper($r,$url,$brcrum,$absolute,$is_ext,$is_pdf,$exttool,$linktext,$explanation,$title,$width,$height,$reuse,$is_supp) |
=item wrapper() |
|
|
|
Args: $r,$url,$brcrum,$absolute,$is_ext,$is_pdf,$exttool,$linktext,$explanation,$title,$width,$height,$reuse,$is_supp |
|
|
=over |
=over |
|
|
Line 642 of all external resource instances in a
|
Line 644 of all external resource instances in a
|
|
|
Returns markup for the entire page. |
Returns markup for the entire page. |
|
|
|
=item create_link() |
|
|
|
Args: $url,$anchor,$title,$linktext |
|
|
|
=over |
|
|
|
=item $url |
|
|
|
URL to link to |
|
|
|
=item $anchor |
|
|
|
optional. Will be the anchor to append to the URL, if there is one. |
|
|
|
=item $title |
|
|
|
optional. If provided will be the title displayed above the link. If |
|
one is not provided, then $env{'form.title'} will be used, unless empty. |
|
|
|
=item $linktext |
|
|
|
The text to inlcude between the <a href="$url"> and </a> tags. |
|
|
|
=back |
|
|
|
Returns HTML needed to show a link which can be followed to display the |
|
part of the original URL following the initial /adm/wrapper part |
|
in the original request, in the case where an iframe is not going to be |
|
used to embed the content available at the URL in the existing page. |
|
|
=item handler() |
=item handler() |
|
|
Content handler for requests for: /adm/wrapper/... |
Content handler for requests for: /adm/wrapper/... |