diff --git a/core.php b/core.php index 568926b..cb219ed 100644 --- a/core.php +++ b/core.php @@ -225,11 +225,11 @@ class page_renderer } public static function render_main($title, $content) { - return render($title, $content, self::$main_content_template); + return self::render($title, $content, self::$main_content_template); } public static function render_minimal($title, $content) { - return render($title, $content, self::$minimal_content_template); + return self::render($title, $content, self::$minimal_content_template); } diff --git a/index.php b/index.php index e5a302f..1b9cd3f 100644 --- a/index.php +++ b/index.php @@ -353,11 +353,11 @@ class page_renderer } public static function render_main($title, $content) { - return render($title, $content, self::$main_content_template); + return self::render($title, $content, self::$main_content_template); } public static function render_minimal($title, $content) { - return render($title, $content, self::$minimal_content_template); + return self::render($title, $content, self::$minimal_content_template); }