Skip to content

Commit

Permalink
Merge pull request #343 from Squidly271/master
Browse files Browse the repository at this point in the history
Remove unused tags from docker templates
  • Loading branch information
eschultz committed May 24, 2018
2 parents 03a973f + 789470f commit 902fcd4
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions plugins/dynamix.docker.manager/include/CreateDocker.php
Expand Up @@ -181,8 +181,6 @@ function postToXML($post, $setOwnership=false) {
$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']);
Expand Down Expand Up @@ -256,8 +254,6 @@ function xmlToVar($xml) {
$out['PostArgs'] = xml_decode($xml->PostArgs);
$out['DonateText'] = xml_decode($xml->DonateText);
$out['DonateLink'] = xml_decode($xml->DonateLink);
$out['DonateImg'] = xml_decode($xml->DonateImg ?? $xml->DonateImage); // Various authors use different tags. DonateImg is the official spec
$out['MinVer'] = xml_decode($xml->MinVer);
$out['Config'] = [];
if (isset($xml->Config)) {
foreach ($xml->Config as $config) {
Expand Down Expand Up @@ -1305,17 +1301,6 @@ function prepareCategory() {
</blockquote>
</td>
</tr>
<tr class="<?=$authoring;?>">
<td>Minimum unRAID version:</td>
<td><input type="text" name="contMinVer"></td>
</tr>
<tr class="<?=$authoring;?>">
<td colspan="2">
<blockquote class="inline_help">
<p>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</p>
</blockquote>
</td>
</tr>
<tr class="<?=$authoring;?>">
<td>Donation Text:</td>
<td><input type="text" name="contDonateText"></td>
Expand All @@ -1327,17 +1312,6 @@ function prepareCategory() {
</blockquote>
</td>
</tr>
<tr class="<?=$authoring;?>">
<td>Donation Image:</td>
<td><input type="text" name="contDonateImg"></td>
</tr>
<tr class="<?=$authoring;?>">
<td colspan="2">
<blockquote class="inline_help">
<p>Link to the image used for Donation Links Within The Apps Tab</p>
</blockquote>
</td>
</tr>
<tr class="<?=$authoring;?>">
<td>Donation Link:</td>
<td><input type="text" name="contDonateLink"></td>
Expand Down

0 comments on commit 902fcd4

Please sign in to comment.