official templates weren't displaying errors
This commit is contained in:
parent
82a4fb7ad7
commit
02b47a0d6c
BIN
archive/community.applications-2021.11.13a-x86_64-1.txz
Normal file
BIN
archive/community.applications-2021.11.13a-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 "2021.11.13">
|
||||
<!ENTITY md5 "52355131bd68892a2c783c4d884cd721">
|
||||
<!ENTITY version "2021.11.13a">
|
||||
<!ENTITY md5 "290619e1e3d19a3b909486be94f3d312">
|
||||
<!ENTITY launch "Apps">
|
||||
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
|
||||
<!ENTITY github "Squidly271/community.applications">
|
||||
|
|
|
@ -22,4 +22,4 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
|
|||
2bd671daecaf01549f8cc0202cb184b3 ./scripts/updatePluginSupport.php
|
||||
29aec30281e6b795644d4570c10c21f1 ./skins/Narrow/css.php
|
||||
cfa1511913f794c8c5980460dfcdf049 ./skins/Narrow/skin.html
|
||||
7ec1bea9c8cf30ed0e7ad21df8c5f22c ./skins/Narrow/skin.php
|
||||
65cfeaf8fb648d2651d5403e7e83dfb0 ./skins/Narrow/skin.php
|
||||
|
|
|
@ -1294,9 +1294,9 @@ function displayPopup($template) {
|
|||
";
|
||||
}
|
||||
$moderation = readJsonFile($caPaths['statistics']);
|
||||
if ( $moderation['fixedTemplates'][$Repo][$Repository] ) {
|
||||
if ( $moderation['fixedTemplates'][$Repo][str_replace("library/","",$Repository)] ) {
|
||||
$card .= "<div class='templateErrors'>".tr("Template Errors")."</div>";
|
||||
foreach ($moderation['fixedTemplates'][$Repo][$Repository] as $error) {
|
||||
foreach ($moderation['fixedTemplates'][$Repo][str_replace("library/","",$Repository)] as $error) {
|
||||
$card .= "<li class='templateErrorsList'>$error</li>";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user