public function test_get_includefile_slideshow() { $thefile = \theme_shoehorn\toolbox::get_tile_file('slideshow'); global $CFG; $withoutdirroot = str_replace($CFG->dirroot, '', $thefile); $this->assertEquals('/theme/essential/layout/includes/slideshow.php', $withoutdirroot); }
echo $OUTPUT->main_content(); echo $OUTPUT->course_content_footer(); ?> </section> <div id="region-main-shoehorn-shadow"></div> </div> <?php if ($hassidepre && $regions['layout'] == 2) { echo $OUTPUT->blocks('side-pre', $regions['pre']); } if ($hassidepost) { echo $OUTPUT->blocks('side-post', $regions['post']); } ?> <?php require_once \theme_shoehorn\toolbox::get_tile_file('pagebottom'); ?> </div> </div> <?php require_once \theme_shoehorn\toolbox::get_tile_file('footer'); ?> </div> </body> </html>