Remove support for BaseOS on docker templates

It's been over 2 years since dockerHub allowed this to be discerned, and the coding is already commented out long ago in the appfeed
pull/11/head
Squidly271 2021-05-11 15:36:11 -04:00
parent 84762ef1ca
commit 0b2fa9ada0
3 changed files with 1 additions and 7 deletions

View File

@ -17,7 +17,7 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
9ba7ea3ef8bad60cb8335da9c0daea4f ./javascript/libraries.js
e605780f0c220d94298c20a6914af598 ./skins/Narrow/css.php
58a140a38ceb6836a5b7c5b9bca85b6c ./skins/Narrow/skin.html
7bebedcb67df7ed7c3933a79a3757d9b ./skins/Narrow/skin.php
c02aa42d951e5212e48fe6c6af0f5af0 ./skins/Narrow/skin.php
38d1f40cbc64eed32cdb3292e1ec1f6e ./scripts/PluginAPI.php
bbd9dec6c5df486d75c46388c14f09ce ./scripts/installMulti.php
ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh

View File

@ -705,13 +705,7 @@ function getPopupDescriptionSkin($appNumber) {
}
if ( filter_var($template['multiLanguage'],FILTER_VALIDATE_BOOLEAN) )
$templateDescription .= "<tr><td>".tr("Multi Language Support")."</td><td>".tr("Yes")."</td></tr>";
if ( ! $template['Plugin'] ) {
if ( strtolower($template['Base']) == "unknown" || ! $template['Base'])
$template['Base'] = $template['BaseImage'];
if ( $template['Base'] )
$templateDescription .= "<tr><td nowrap>".tr("Base OS:")."</td><td>".$template['Base']."</td></tr>";
}
$templateDescription .= $template['stars'] ? "<tr><td nowrap>".tr("DockerHub Stars:")."</td><td><span class='dockerHubStar'></span> ".$template['stars']."</td></tr>" : "";
if ( $template['FirstSeen'] > 1 && $template['Name'] != "Community Applications" && $countryCode != "en_US")