version 1.85, 2023/11/18 21:50:06
|
version 1.86, 2023/12/31 21:45:03
|
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/... |