]> git.mxchange.org Git - shipsimu.git/commitdiff
Footer now added
authorRoland Häder <roland@mxchange.org>
Mon, 5 May 2008 20:08:35 +0000 (20:08 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 5 May 2008 20:08:35 +0000 (20:08 +0000)
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");