Footer now added
[shipsimu.git] / inc / classes / main / commands / local / class_LocalHomeCommand.php
index 78d679943bb61ccecb39a32e56cb4d0312dbeadb..4f96e30cfd0751635b2fc686defadf14a2b6cc92 100644 (file)
@@ -85,6 +85,13 @@ class LocalHomeCommand extends BaseCommand implements Commandable {
                $templateInstance->compileTemplate();
                $templateInstance->assignTemplateWithVariable("header", "header");
 
+               // Load footer template
+               $templateInstance->loadCodeTemplate("footer");
+
+               // Compile and assign it with a variable
+               $templateInstance->compileTemplate();
+               $templateInstance->assignTemplateWithVariable("footer", "footer");
+
                // Load the home template
                $templateInstance->loadWebTemplate("home");