fix AC
This commit is contained in:
parent
0f3f99d547
commit
196bb70529
BIN
archive/community.applications-2022.05.15-x86_64-1.txz
Normal file
BIN
archive/community.applications-2022.05.15-x86_64-1.txz
Normal file
Binary file not shown.
|
@ -2,8 +2,8 @@
|
|||
<!DOCTYPE PLUGIN [
|
||||
<!ENTITY name "community.applications">
|
||||
<!ENTITY author "Andrew Zawadzki">
|
||||
<!ENTITY version "2022.05.08">
|
||||
<!ENTITY md5 "61ed2e70c65f9984ba8d3d358f6816b2">
|
||||
<!ENTITY version "2022.05.15">
|
||||
<!ENTITY md5 "1fb30723307e3170dc8cd1ce5a925961">
|
||||
<!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://lime-technology.com/forums/topic/38582-plug-in-community-applications/" icon="users">
|
||||
|
||||
<CHANGES>
|
||||
###2022.08.15
|
||||
- Fixed: Action centre would appear even if nothing was present if templates outside of CA's control were installed
|
||||
|
||||
###2022.05.08
|
||||
- Added: Action Centre
|
||||
- Fixed: Blacklisted Apps wouldn't appear within Installed Apps
|
||||
|
|
|
@ -2,7 +2,7 @@ c553881600c51459abaa336c920cd923 ./Apps.page
|
|||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||
4f8579964345b5eacc82d932364b9a62 ./include/exec.php
|
||||
30b69ec0b0fc6219d61f8114b3b70ad2 ./include/exec.php
|
||||
1acc7a5c3489b25a895b5decac043dee ./include/helpers.php
|
||||
fc87642746ba4f324537bc381b78e982 ./include/paths.php
|
||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||
|
|
|
@ -2278,6 +2278,17 @@ function enableActionCentre() {
|
|||
$searchResult = searchArray($file,'Repository',explode(":",$o['Repository'])[0]);
|
||||
}
|
||||
if ( $searchResult === false ) {
|
||||
$runningFlag = true;
|
||||
if ( $extraBlacklist[$o['Repository']] ) {
|
||||
$o['Blacklist'] = true;
|
||||
$o['ModeratorComment'] = $extraBlacklist[$o['Repository']];
|
||||
}
|
||||
if ( $extraDeprecated[$o['Repository']] ) {
|
||||
$o['Deprecated'] = true;
|
||||
$o['ModeratorComment'] = $extraDeprecated[$o['Deprecated']];
|
||||
}
|
||||
}
|
||||
/* if ( $searchResult === false ) {
|
||||
$tempPath = $o['InstallPath'];
|
||||
$containerID = $file[$searchResult]['ID'];
|
||||
$tmpOvr = $o['Overview'];
|
||||
|
@ -2291,7 +2302,7 @@ function enableActionCentre() {
|
|||
$o['NoPin'] = true; # This is renamed and effectively outside of CA's control
|
||||
} else {
|
||||
$runningFlag = true;
|
||||
}
|
||||
} */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2358,7 +2369,6 @@ function enableActionCentre() {
|
|||
}
|
||||
}
|
||||
|
||||
// file_put_contents("/tmp/blah",print_r($displayed,true));
|
||||
if ( isset($displayed) ) {
|
||||
debug("action center enabled");
|
||||
postReturn(['status'=>"action"]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user