This commit is contained in:
Squidly271 2022-12-03 15:36:43 -05:00
parent e6366b2c36
commit 6d061a1c11
4 changed files with 8 additions and 6 deletions

View File

@ -2,8 +2,8 @@
4e55f7483b661af21a25b677179baffe ./CA_notices.page
4c5d4598e1bafa46bd90c27cbe302122 ./ca_settings.page
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
b61b213bec74a476ff616f6103b1ed7a ./include/exec.php
af535f24610fc25f38b5f24cdf9efad2 ./include/helpers.php
9a5b45bd22ee24f7a7eed98e377a8501 ./include/exec.php
ec64fc40aa10ccf2b98907e3081053f5 ./include/helpers.php
116042a918060278e77379b0dd73482c ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
71f911a818d88d3d567f8a2898094ee2 ./README.md
@ -22,4 +22,4 @@ da3b4f9b73c5c3bf65be6c42d68b51f9 ./scripts/showStatistics.php
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
25bdaed6f62ac73f9ef7c3ce0c125ef7 ./skins/Narrow/css.php
7eb021a105e2f7a15675ec8a14e6f05e ./skins/Narrow/skin.html
7968ccd3920e90fc4a47090f420fa194 ./skins/Narrow/skin.php
c0061be734e2f9896c4f981958da0354 ./skins/Narrow/skin.php

View File

@ -790,9 +790,10 @@ function get_content() {
"sortdir"=>"Down"
]
];
$o['display'] = "";
foreach ($startupTypes as $type) {
$display = [];
$o['display'] = "";
$caSettings['startup'] = $type['type'];
$appsOfDay = appOfDay($file);

View File

@ -811,7 +811,8 @@ function addMissingVars($o) {
'RecommendedReason',
'stars',
'LanguageURL',
'LastUpdate'
'LastUpdate',
'RecommendedWho'
];

View File

@ -721,7 +721,7 @@ function getPopupDescriptionSkin($appNumber) {
}
if ( $template['Language'] ) {
$dynamixSettings = parse_ini_file($caPaths['dynamixSettings'],true);
$currentLanguage = $dynamixSettings['display']['locale'] ?: "en_US";
$currentLanguage = $dynamixSettings['display']['locale'] ?? "en_US";
$installedLanguages = array_diff(scandir("/usr/local/emhttp/languages"),array(".",".."));
$installedLanguages = array_filter($installedLanguages,function($v) {
return is_dir("/usr/local/emhttp/languages/$v");