diff --git a/theme/bootstrapbase/config.php b/theme/bootstrapbase/config.php index bcf4697fdf2..35cfb4745e2 100644 --- a/theme/bootstrapbase/config.php +++ b/theme/bootstrapbase/config.php @@ -110,7 +110,7 @@ $THEME->layouts = array( // Pages that appear in pop-up windows - no navigation, no blocks, no header. 'popup' => array( - 'file' => 'columns1.php', + 'file' => 'popup.php', 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), diff --git a/theme/bootstrapbase/layout/popup.php b/theme/bootstrapbase/layout/popup.php new file mode 100644 index 00000000000..fd7b19aff16 --- /dev/null +++ b/theme/bootstrapbase/layout/popup.php @@ -0,0 +1,97 @@ +. + +echo $OUTPUT->doctype() ?> +htmlattributes(); ?>> + + <?php echo $OUTPUT->page_title(); ?> + + standard_head_html() ?> + + + +body_attributes(); ?>> + +standard_top_of_body_html() ?> + + + + + +
+ + + +
+
+ course_content_header(); + echo $OUTPUT->main_content(); + echo $OUTPUT->course_content_footer(); + ?> +
+
+ + + + standard_end_of_body_html() ?> + +
+ +