From 82f3bc98beff61357acfac95934655c7cfff0e5c Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Sat, 27 Jan 2018 11:48:11 -0500 Subject: [PATCH] Revert "Revert "Support the most common CA xml entries in dockerMan"" This reverts commit 2cb9c1c947efc06176a2ebc36aedd21479246b79. --- .../include/CreateDocker.php | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/plugins/dynamix.docker.manager/include/CreateDocker.php b/plugins/dynamix.docker.manager/include/CreateDocker.php index c39512ee3..174b847fb 100644 --- a/plugins/dynamix.docker.manager/include/CreateDocker.php +++ b/plugins/dynamix.docker.manager/include/CreateDocker.php @@ -207,6 +207,10 @@ function postToXML($post, $setOwnership = false) { $xml->ExtraParams = xml_encode($post['contExtraParams']); $xml->PostArgs = xml_encode($post['contPostArgs']); $xml->DateInstalled = xml_encode(time()); + $xml->DonateText = xml_encode($post['contDonateText']); + $xml->DonateLink = xml_encode($post['contDonateLink']); + $xml->DonateImg = xml_encode($post['contDonateImg']); + $xml->MinVer = xml_encode($post['contMinVer']); # V1 compatibility $xml->Description = xml_encode($post['contOverview']); @@ -271,6 +275,10 @@ function xmlToVar($xml) { $out['Icon'] = xml_decode($xml->Icon); $out['ExtraParams'] = xml_decode($xml->ExtraParams); $out['PostArgs'] = xml_decode($xml->PostArgs); + $out['DonateText'] = xml_decode($xml->DonateText); + $out['DonateLink'] = xml_decode($xml->DonateLink); + $out['DonateImg'] = (xml_decode($xml->DonateImage)) ? xml_decode($xml->DonateImage) : xml_decode($xml->DonateImg); # Various authors use different tags. DonateImg is the official spec + $out['MinVer'] = xml_decode($xml->MinVer); $out['Config'] = []; if (isset($xml->Config)) { @@ -1333,6 +1341,50 @@ optgroup.title{background-color:#625D5D;color:#FFFFFF;text-align:center;margin-t + + Minimum unRAID version: + + + + +
+

Minimum unRAID version required to run this container. Enforced by the Apps Tab on Installation. If there is no minimum version of unRaid required to run the container, leave blank. Note that any container using 32 bit binaries should have a minimum version set to 6.4.0

+
+ + + + Donation Text: + + + + +
+

Text to appear on Donation Links Within The Apps Tab

+
+ + + + Donation Image: + + + + +
+

Link to the image used for Donation Links Within The Apps Tab

+
+ + + + Donation Link: + + + + +
+

Link to the donation page. If using donation's, both the image and link must be set

+
+ + Docker Hub URL: