continue
parent
bb182cce03
commit
575f677e76
Binary file not shown.
|
@ -2,8 +2,8 @@
|
|||
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
|
||||
eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page
|
||||
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
|
||||
ee1b1255bbbf1da98ccf792e0d1b3113 ./include/exec.php
|
||||
1182f793790a06f0d8ac38674904ec76 ./include/helpers.php
|
||||
c2bfb8bd4a8b9620510697813b7ba2c8 ./include/exec.php
|
||||
1b595018a6f02d2667192432f8f2ae7f ./include/helpers.php
|
||||
7cc3e1ffd81120a1cf407857225db275 ./include/paths.php
|
||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||
71f911a818d88d3d567f8a2898094ee2 ./README.md
|
||||
|
@ -22,4 +22,4 @@ f2a86fd875cb73bb095388e69ca035fd ./scripts/showStatistics.php
|
|||
5c088a7cf82229cb64edfd4c415a84a0 ./scripts/updatePluginSupport.php
|
||||
604d77247526cb12b7bda12244527879 ./skins/Narrow/css.php
|
||||
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
|
||||
18a072513e1aa2d30cae2ab3b914676d ./skins/Narrow/skin.php
|
||||
27c7ca56ce69782db91d14fe767925b6 ./skins/Narrow/skin.php
|
||||
|
|
|
@ -1718,7 +1718,7 @@ function populateAutoComplete() {
|
|||
foreach ($templates as $template) {
|
||||
if ( $template['RepoTemplate'] )
|
||||
continue;
|
||||
if ( ! $template['Blacklist'] && ! ($template['Deprecated'] && $caSettings['hideDeprecated'] == "true") && ($template['Compatible'] || $caSettings['hideIncompatible'] != "true") || $template['Featured'] ) {
|
||||
if ( ! $template['Blacklist'] && ! ($template['Deprecated'] && $caSettings['hideDeprecated'] == "true") && ($template['Compatible'] || $caSettings['hideIncompatible'] != "true") || ($template['Featured']??false) ) {
|
||||
if ( $template['Language'] && $template['LanguageLocal'] ) {
|
||||
$autoComplete[strtolower($template['Language'])] = $template['Language'];
|
||||
$autoComplete[strtolower($template['LanguageLocal'])] = $template['LanguageLocal'];
|
||||
|
|
|
@ -380,6 +380,9 @@ function moderateTemplates() {
|
|||
if ( ! $templates ) return;
|
||||
foreach ($templates as $template) {
|
||||
$template['Compatible'] = versionCheck($template);
|
||||
if ( $template['MaxVer'] && version_compare($template['MaxVer'],$caSettings['unRaidVersion']) < 0 )
|
||||
$template['Featured'] = false;
|
||||
|
||||
if ( $template["DeprecatedMaxVer"] && version_compare($caSettings['unRaidVersion'],$template["DeprecatedMaxVer"],">") )
|
||||
$template['Deprecated'] = true;
|
||||
|
||||
|
|
|
@ -1360,7 +1360,7 @@ function displayCard($template) {
|
|||
<div class='officialPopupText ca_center' title='".tr('This is an official container')."'>".tr("OFFICIAL")."</div>
|
||||
</div>
|
||||
";
|
||||
} elseif ( $LTOfficial ) {
|
||||
} elseif ( $LTOfficial ?? false ) {
|
||||
$card .= "
|
||||
<div class='LTOfficialCardBackground'>
|
||||
<div class='ltofficialPopupText ca_center' title='".tr("This is an offical plugin")."'>".tr("OFFICIAL")."</div>
|
||||
|
|
Loading…
Reference in New Issue