From b32f7396e4b148f0074ea53c7ff364a6f1e885dc Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 5 Jan 2009 22:57:26 -0800 Subject: [PATCH] Define and use the footer template * admin/global.php: Store the footer template in the globalVars * admin/templates/footer.html: New file * admin/templates/main.html: Add the footer --- admin/global.php | 3 ++- admin/templates/footer.html | 4 ++++ admin/templates/main.html | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 admin/templates/footer.html diff --git a/admin/global.php b/admin/global.php index 83b1ecd..05a95e6 100755 --- a/admin/global.php +++ b/admin/global.php @@ -35,7 +35,8 @@ BSTemplate::$globalVars = array( 'doctype' => BSTemplate::fetch('doctype')->evaluate()->getTemplate(), 'nav' => BSTemplate::fetch('nav')->evaluate()->getTemplate(), 'headinclude' => BSTemplate::fetch('headinclude')->evaluate()->getTemplate(), - 'title' => T('Bugdar Administration') + 'title' => T('Bugdar Administration'), + 'footer' => BSTemplate::fetch('footer')->evaluate()->getTemplate() ) ); diff --git a/admin/templates/footer.html b/admin/templates/footer.html new file mode 100644 index 0000000..4d0e56b --- /dev/null +++ b/admin/templates/footer.html @@ -0,0 +1,4 @@ + + + +<%- BSTemplate::get_debug_block() %> diff --git a/admin/templates/main.html b/admin/templates/main.html index ce0416e..cd654a6 100644 --- a/admin/templates/main.html +++ b/admin/templates/main.html @@ -79,6 +79,8 @@ +<%- $templates['footer'] %> + -- 2.22.5