If CYA not accepted, don't allow dockerHub installs
This commit is contained in:
parent
c34dc29d99
commit
181126339d
BIN
archive/community.applications-2023.01.07-x86_64-1.txz
Normal file
BIN
archive/community.applications-2023.01.07-x86_64-1.txz
Normal file
Binary file not shown.
BIN
archive/community.applications-2023.01.17-x86_64-1.txz
Normal file
BIN
archive/community.applications-2023.01.17-x86_64-1.txz
Normal file
Binary file not shown.
|
@ -22,4 +22,4 @@ c337da65783addaee1e6bf6c50e6f35b ./scripts/showStatistics.php
|
|||
5c088a7cf82229cb64edfd4c415a84a0 ./scripts/updatePluginSupport.php
|
||||
230290ceb59b21a3fae7fa7674d5d89d ./skins/Narrow/css.php
|
||||
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
|
||||
2c9f365863313088f562ca99ff342042 ./skins/Narrow/skin.php
|
||||
149a797dc2ce26ff532135fbda2ed545 ./skins/Narrow/skin.php
|
||||
|
|
|
@ -1002,6 +1002,7 @@ function displaySearchResults($pageNumber) {
|
|||
$file = $tempFile['results'];
|
||||
$templates = &$GLOBALS['templates'];
|
||||
$count = 0;
|
||||
$caSettings['NoInstalls'] = is_file($caPaths['warningAccepted']) ? false : true;
|
||||
|
||||
$ct = "<div>".tr("NOTE You must visit the dockerHub page to gather the information required to install correctly")."<span class='templateSearch' style='float:right'>Show CA templates</span></div><br><br>";
|
||||
$ct .= "<div class='ca_templatesDisplay'>";
|
||||
|
@ -1013,7 +1014,8 @@ function displaySearchResults($pageNumber) {
|
|||
$result['Category'] = "Docker Hub Search";
|
||||
$result['Description'] = $result['Description'] ?: tr("No description present");
|
||||
$result['Compatible'] = true;
|
||||
$result['actionsContext'] = [["icon"=>"ca_fa-install","text"=>tr("Install"),"action"=>"dockerConvert({$result['ID']});"]];
|
||||
if ( ! $caSettings['NoInstalls'] )
|
||||
$result['actionsContext'] = [["icon"=>"ca_fa-install","text"=>tr("Install"),"action"=>"dockerConvert({$result['ID']});"]];
|
||||
|
||||
$templateSearch = searchArray($templates,"Repository",$result['Repository']);
|
||||
if ( $templateSearch === false )
|
||||
|
|
Loading…
Reference in New Issue
Block a user