Browse Source

fixed theme, test footer

Piotr Labudda 7 years ago
parent
commit
9ae5a11e8e
1 changed files with 5 additions and 4 deletions
  1. 5 4
      theme/bocian.php

+ 5 - 4
theme/bocian.php

@@ -2,7 +2,7 @@
 
 // TODO: file and class name must have the same name as project
 
-class Theme_base extends ThemeDefault {
+class Theme_bocian extends ThemeDefault {
 
 	// function head() { // TODO: echo 'html tag inside <head>'
 	// }
@@ -11,9 +11,10 @@ class Theme_base extends ThemeDefault {
 	// 	include dirname(__FILE__) . '/Bocian/top.php';
 	// }
 
-	// function footer() { // TODO: before </body>
-	// 	include dirname(__FILE__) . '/view/footer.php';
-	// }
+	function footer() { // TODO: before </body>
+		echo '<footer>bocian...</footer>';
+		// include dirname(__FILE__) . '/view/footer.php';
+	}
 
 	// function login($data) { // TODO: login view
 	// 	if (is_array($data) && !empty($data)) {