diff --git a/archive/community.applications-2021.02.27-x86_64-1.txz b/archive/community.applications-2021.02.27-x86_64-1.txz index 48515462..d45133db 100644 Binary files a/archive/community.applications-2021.02.27-x86_64-1.txz and b/archive/community.applications-2021.02.27-x86_64-1.txz differ diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/CommunityApps.page b/source/community.applications/usr/local/emhttp/plugins/community.applications/CommunityApps.page index 51c9175f..e017317f 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/CommunityApps.page +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/CommunityApps.page @@ -398,7 +398,6 @@ $(function(){ }); $('.mainArea').on("click",".languageInstall",function() { - if ( popupVisible(this) ) return; installLanguage($(this).data("language_xml"),$(this).data("language")); }); @@ -1723,7 +1722,10 @@ function CAswitchLanguage(language) { window.location.reload(); }); } -function installLanguage(languageURL,language) { +function installLanguage(languageURL,language,popup=false) { + if ( ! popup && popupVisible() ) return; + $(".tooltipstered").tooltipster("hide"); + disableSearch(); openBox('/plugins/community.applications/scripts/languageInstall.sh&arg1=install&arg2='+languageURL,"",600,900,true,"refreshDisplay"); } diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/skins/Narrow/skin.php b/source/community.applications/usr/local/emhttp/plugins/community.applications/skins/Narrow/skin.php index 3df80cee..4df18e98 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/skins/Narrow/skin.php +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/skins/Narrow/skin.php @@ -638,11 +638,11 @@ function getPopupDescriptionSkin($appNumber) { $installLine .= "
{$template['SwitchLanguage']}
"; } } else { - $installLine .= "
{$template['InstallLanguage']}
"; + $installLine .= "
{$template['InstallLanguage']}
"; } if ( file_exists("/var/log/plugins/lang-$countryCode.xml") ) { if ( languageCheck($template) ) { - $installLine .= "
{$template['UpdateLanguage']}
"; + $installLine .= "
{$template['UpdateLanguage']}
"; } } if ( $countryCode !== "en_US" ) { @@ -1012,7 +1012,7 @@ function displayCard($template) {
- {$template['display_multi_install']}{$template['display_languageUpdate']}{$template['display_languageInstallIcon']}{$template['display_language_switch']}{$template['display_pluginInstallIcon']}{$template['display_dockerInstallIcon']} $dockerReinstall {$template['display_dockerReinstallIcon']} {$template['display_dockerEditIcon']} {$template['display_pluginSettingsIcon']}{$template['display_infoIcon']} {$template['dockerWebIcon']}{$template['display_profile']}{$template['display_webpage']}{$template['display_faSupport']}{$template['display_twitter']}{$template['display_reddit']}{$template['display_discord']}{$template['display_facebook']}{$template['display_faFavourite']} {$template['display_faProject']} {$template['display_pinButton']}{$template['display_favouriteButton']}{$template['display_repoSearch']} + {$template['display_multi_install']}{$template['display_languageUpdate']}{$template['display_languageInstallIcon']}{$template['display_language_switch']}{$template['display_pluginInstallIcon']}{$template['display_dockerInstallIcon']} $dockerReinstall {$template['display_dockerReinstallIcon']} {$template['display_dockerEditIcon']} {$template['display_pluginSettingsIcon']}{$template['display_infoIcon']} {$template['dockerWebIcon']}{$template['display_profile']}{$template['display_webpage']}{$template['display_faSupport']}{$template['display_twitter']}{$template['display_reddit']}{$template['display_discord']}{$template['display_facebook']} {$template['display_faProject']} {$template['display_pinButton']}{$template['display_repoSearch']}{$template['display_faFavourite']}{$template['display_favouriteButton']} {$template['display_removable']} {$template['display_Uninstall']}