From f20e4a879a6e4ad2a00e7cf5f8bb910e4886a520 Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 6 Nov 2023 06:38:35 +0000 Subject: [PATCH] Update about with contributing tab --- includes/about.php | 10 +++++++++- templates/about.php | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/includes/about.php b/includes/about.php index 1ddcb8c2..45008f2d 100755 --- a/includes/about.php +++ b/includes/about.php @@ -11,6 +11,14 @@ function DisplayAbout() $strContent = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/BACKERS.md'); $sponsorsHtml = $Parsedown->text($strContent); - echo renderTemplate("about", compact('sponsorsHtml')); + $strContent = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/CONTRIBUTING.md'); + $contributingHtml = $Parsedown->text($strContent); + + echo renderTemplate( + "about", compact( + 'sponsorsHtml', + 'contributingHtml' + ) + ); } diff --git a/templates/about.php b/templates/about.php index 80ac2dd1..6a5e6ed7 100755 --- a/templates/about.php +++ b/templates/about.php @@ -19,6 +19,7 @@ require_once 'app/lib/Parsedown.php'; @@ -26,6 +27,7 @@ require_once 'app/lib/Parsedown.php';
+