diff --git a/theme/standard/config.php b/theme/standard/config.php index 27d3b7c7006..12f259e36cd 100644 --- a/theme/standard/config.php +++ b/theme/standard/config.php @@ -79,6 +79,11 @@ $THEME->layouts = array( 'layout' => 'layout-popup.php', 'regions' => array(), ), + // Embeded pages, like iframe embeded in moodleform + 'embeded' => array( + 'layout' => 'layout-embeded.php', + 'regions' => array(), + ) ); $THEME->resource_mp3player_colors = diff --git a/theme/standard/layout-embeded.php b/theme/standard/layout-embeded.php new file mode 100644 index 00000000000..e83dcec517b --- /dev/null +++ b/theme/standard/layout-embeded.php @@ -0,0 +1,40 @@ +doctype() ?> +htmlattributes() ?>> + + <?php echo $PAGE->title ?> + + standard_head_html() ?> + + +standard_top_of_body_html() ?> + +
+ +heading) { ?> + + + + + +heading) { // If no navigation, but a heading, then print a line ?> +
+ + + +
+ [MAIN CONTENT GOES HERE] +
+ + + +
+standard_end_of_body_html() ?> + +