mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Merge pull request #1446 from RaspAP/feat/contributing
Update about page with contributing tab
This commit is contained in:
@@ -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'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user