From: Roland Häder Date: Mon, 5 May 2008 20:08:35 +0000 (+0000) Subject: Footer now added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7ad583040a0d5818adcb51d319dfa8b7bfe04041;p=shipsimu.git Footer now added --- diff --git a/inc/classes/main/commands/local/class_LocalHomeCommand.php b/inc/classes/main/commands/local/class_LocalHomeCommand.php index 78d6799..4f96e30 100644 --- a/inc/classes/main/commands/local/class_LocalHomeCommand.php +++ b/inc/classes/main/commands/local/class_LocalHomeCommand.php @@ -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");