diff --git a/mod/resource/type/ims/preview.php b/mod/resource/type/ims/preview.php index 5611c4c63ac..3ed5f3dbbbb 100644 --- a/mod/resource/type/ims/preview.php +++ b/mod/resource/type/ims/preview.php @@ -1,13 +1,14 @@ -'.$errortext.'
'; print_footer(); exit; - } + } /// Load serialized IMS CP index to memory only once. if (empty($items)) { @@ -35,7 +36,7 @@ /// fast forward to first non-index page while (empty($items[$page]->href)) $page++; - + /// Select direction if (get_string('thisdirection') == 'rtl') { $direction = ' dir="rtl"'; @@ -57,18 +58,17 @@ print_header(); /// content - this produces everything else -/// adds side navigation bar if needed. must also adjust width of iframe to accomodate - echo "