This commit is contained in:
Squidly271 2023-02-25 13:24:58 -05:00
parent 998b02068f
commit c40086a77f
5 changed files with 9 additions and 13 deletions

Binary file not shown.

View File

@ -2,8 +2,8 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "community.applications">
<!ENTITY author "Andrew Zawadzki">
<!ENTITY version "2023.02.17">
<!ENTITY md5 "1073cfd6e7170e8dad9883ef3810a7af">
<!ENTITY version "2023.02.25">
<!ENTITY md5 "3b70570c4c6e7b19c05e2e15d5a6c1f9f">
<!ENTITY launch "Apps">
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
<!ENTITY github "Squidly271/community.applications">
@ -13,6 +13,9 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.9.0" support="https://unraid.net/forums/topic/38582-plug-in-community-applications" icon="users">
<CHANGES>
###2023.02.25
- PHP8 Upgrades
###2023.02.17
- Dismissable AC banner warning

View File

@ -1730,7 +1730,6 @@ function getSelectedApps() {
var plugin = new Array();
var language = new Array();
}
$(".ca_multiselect").each(function() {
var name = $(this).attr("data-name");
var lingo = $(this).attr("data-language");
@ -1748,12 +1747,6 @@ function getSelectedApps() {
language.push(lingo);
break;
}
/* if ( $(this).attr("data-type") == "plugin" ) {
plugin.push(name);
} else {
docker.push(name);
} */
} else {
var index= deletePaths.indexOf(deletechecked);
if ( index > -1 ) {

View File

@ -1,4 +1,4 @@
a99376272564dbc06b7c90bd5248923e ./Apps.page
7b855f6ee50b7abfd6c9c35f1de647df ./Apps.page
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
@ -15,7 +15,7 @@ fbd7122dbf5312c30d164312aa6c13e4 ./scripts/installMultiPlugin.php
524afab04ca930f59117a846f819fb2f ./scripts/installPluginUpdate.sh
53879be89ce610c57922c1f25ba2b1d2 ./scripts/installUpdate.php
5846421e95b475e1156c3f68164ccc4f ./scripts/languageInstall.sh
73ea7f95eb7dd44beccabc0eef5b30e9 ./scripts/notices.php
053585561f8764e01787459f4bcf3a2a ./scripts/notices.php
ed42a35b3524b55e2024cdd56a795733 ./scripts/pluginInstall.php
3888e6583182d12a6e993488f0bbbae0 ./scripts/showStatistics.php
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh

View File

@ -127,7 +127,7 @@ switch ($action) {
if ( $found ) {
debug1(" Found Looking for conditions\n");
$conditionsMet = true;
if ( $notice['Conditions']['unraid'] ) {
if ( $notice['Conditions']['unraid'] ?? false ) {
$unraid = parse_ini_file("/etc/unraid-version");
$unraidVersion = $unraid['version'];
foreach ($notice['Conditions']['unraid'] as $condition) {
@ -210,7 +210,7 @@ switch ($action) {
}
}
if ( $notice['Conditions']['code'] && $conditionsMet) {
if ( ($notice['Conditions']['code'] ?? false) && $conditionsMet) {
debug1("Executing {$notice['Conditions']['code']}");
conditionsMet(eval($notice['Conditions']['code']));
}