Skip to content

Commit

Permalink
Update main.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mimfa committed Mar 8, 2024
1 parent 1a7de22 commit d89a5c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions view/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
// Create an instance of the regular and basic template
$template = new \MiMFa\Template\General();
$template->Initial = function() use($template) {
$templ->DrawInitial();
$template->DrawInitial();
// Draw Head Tags
};
$template->Header = function() use($template) {
$templ->DrawHeader();
$template->DrawHeader();
// Draw Page Header
};
$template->Content = function() use($template) {
$templ->DrawContent();
$template->DrawContent();
// Draw Page Content
};
$template->Footer = function() use($template) {
$templ->DrawFooter();
$template->DrawFooter();
// Draw Page Footer
};
$template->Final = function() use($template) {
$templ->DrawFinal();
$template->DrawFinal();
// Draw Final Tags
};
$template->Draw();
Expand Down

0 comments on commit d89a5c8

Please sign in to comment.