From 6724f2b75a536eb51b29b71002a1727cbb3224dc Mon Sep 17 00:00:00 2001 From: jgen Date: Fri, 25 Apr 2014 14:17:44 -0400 Subject: [PATCH] Make these functions public to prevent scrutinizer from complaining. --- themes/lite/layout.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/lite/layout.class.php b/themes/lite/layout.class.php index 69f4a6a7..29c0bb3d 100644 --- a/themes/lite/layout.class.php +++ b/themes/lite/layout.class.php @@ -212,7 +212,7 @@ EOD; /** * A handy function which does exactly what it says in the method name */ - private function block_to_html($block, $hidable=false, $salt="") { + public function block_to_html($block, $hidable=false, $salt="") { $h = $block->header; $b = $block->body; $i = str_replace(' ', '_', $h) . $salt; @@ -238,7 +238,7 @@ EOD; return $html; } - private function navlinks($link, $desc, $pages_matched) { + public function navlinks($link, $desc, $pages_matched) { /** * Woo! We can actually SEE THE CURRENT PAGE!! (well... see it highlighted in the menu.) */