This commit is contained in:
Squidly271 2021-05-23 08:21:20 -04:00
parent 945ee228b5
commit 97c722caa1
4 changed files with 5 additions and 5 deletions

View File

@ -11,12 +11,12 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
344103f5f410c4354f6e3688dd4195df ./include/exec.php
30e1d9b5d1891fa0052961e7b3743972 ./include/exec.php
9ee9c5f6f0f3148dd0f97e459ca49e74 ./include/helpers.php
8f1129e0cdb994c6d1900192252433d8 ./include/paths.php
9ba7ea3ef8bad60cb8335da9c0daea4f ./javascript/libraries.js
e605780f0c220d94298c20a6914af598 ./skins/Narrow/css.php
483f8f65bc760215ed59e719bf1e4cb3 ./skins/Narrow/skin.html
78ebc06bc2695262f668b359271eccee ./skins/Narrow/skin.html
bf55e915707fea27c5f80b5588d285a1 ./skins/Narrow/skin.php
38d1f40cbc64eed32cdb3292e1ec1f6e ./scripts/PluginAPI.php
bbd9dec6c5df486d75c46388c14f09ce ./scripts/installMulti.php

View File

@ -818,7 +818,7 @@ function force_update() {
if (!file_exists($caPaths['community-templates-info'])) {
$updatedSyncFlag = true;
if (! DownloadApplicationFeed() ) {
$o['script'] = "$('.startupButton,.caMenu,.menuHeader').hide();$('.caRelated').show();";
$o['script'] = "$('.onlyShowWithFeed').hide();";
$o['data'] = "<div class='ca_center'><font size='4'><span class='ca_bold'>".tr("Download of appfeed failed.")."</span></font><font size='3'><br><br>Community Applications requires your server to have internet access. The most common cause of this failure is a failure to resolve DNS addresses. You can try and reset your modem and router to fix this issue, or set static DNS addresses (Settings - Network Settings) of 208.67.222.222 and 208.67.220.220 and try again.<br><br>Alternatively, there is also a chance that the server handling the application feed is temporarily down.";
$tempFile = @file_get_contents($caPaths['appFeedDownloadError']);
$downloaded = @file_get_contents($tempFile);
@ -1498,7 +1498,7 @@ function get_categories() {
$categories = readJsonFile($caPaths['categoryList']);
if ( ! is_array($categories) || empty($categories) ) {
$cat = "<span class='ca_fa-warning'></span> Category list N/A<br><br>";
postReturn(['categories'=>$cat,'script'=>"$('.onlyShowWithFeed').hide();"]);
postReturn(['categories'=>$cat]);
return;
} else {
if ($translationsAllowed) {

View File

@ -2,7 +2,7 @@
<div class='menuItems'>
<ul class='caMenu '>
<li class='caMenuItem sectionMenu onlyShowWithFeed' data-category='installed_apps'><?tr("Installed Apps");?></li>
<ul class='subCategoryonlyShowWithFeed'>
<ul class='subCategory onlyShowWithFeed'>
<li class='caMenuItem sectionMenu onlyShowWithFeed' data-category='inst_docker'><?tr("Docker");?></li>
<li class='caMenuItem sectionMenu onlyShowWithFeed' data-category='inst_plugins'><?tr("Plugins");?></li>
</ul>