From 7627fd0f38fd94c1e14504c52000b541c52ff521 Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Thu, 28 Jan 2016 11:34:12 +0100 Subject: [PATCH] Add div around module code --- controllers/modules.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/controllers/modules.php b/controllers/modules.php index 249f218d..a8ec85ab 100644 --- a/controllers/modules.php +++ b/controllers/modules.php @@ -1,6 +1,10 @@ ' ); + //Load files to include $include_files = include($module."/include.php"); //Add Javascript files @@ -32,5 +36,8 @@ print_r(''."\xA"); //Get and add HTML Elements print_r(str_replace("[module]",$module ,file_get_contents($module.'/elements.html'))); + + //Close module container + print_r(""); } ?> \ No newline at end of file