This commit is contained in:
ldestailleur 2025-03-03 20:46:12 +01:00
parent a3fd9b78d0
commit 14bc9d3ab0
2 changed files with 4 additions and 4 deletions

View file

@ -1283,7 +1283,7 @@ if ($mode == 'marketplace') {
print '<td class="hideonsmartphone center"><a href="'.$url.'" target="_blank" rel="noopener noreferrer external"><img border="0" class="imgautosize imgmaxwidth180" src="'.DOL_URL_ROOT.'/theme/dolistore_logo.svg"></a></td>';
print '<td><span class="opacitymedium">'.$langs->trans("DoliStoreDesc").'</span></td>';
print '<td>'.img_picto('', 'url', 'class="pictofixedwidth"').'<a href="'.$url.'" target="_blank" rel="noopener noreferrer external">'.$url.'</a></td>';
print '<td>';
print '<td class="center">';
if (!getDolGlobalString('MAIN_DISABLE_DOLISTORE_SEARCH') && getDolGlobalInt('MAIN_ENABLE_DOLISTORE')) {
$messagetoadd = '';
if ($remotestore->dolistoreApiStatus <= 0) {
@ -1307,7 +1307,7 @@ if ($mode == 'marketplace') {
print '<td class="hideonsmartphone center"><a href="'.$url.'" target="_blank" rel="noopener noreferrer external"><img border="0" class="imgautosize imgmaxwidth180" src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.svg"></a></td>';
print '<td><span class="opacitymedium">'.$langs->trans("CommunityModulesDesc").'</span></td>';
print '<td>'.img_picto('', 'url', 'class="pictofixedwidth"').'<a href="'.$url.'" target="_blank" rel="noopener noreferrer external">'.$url.'</a></td>';
print '<td>';
print '<td class="center">';
if (!getDolGlobalString('MAIN_DISABLE_DOLISTORE_SEARCH') && getDolGlobalInt('MAIN_ENABLE_COMMUNITY_REPO')) {
print $remotestore->libStatus($remotestore->githubFileStatus, 2, '<br><small>Content of repository file '.$remotestore->file_source_url.' is in the cache file '.$remotestore->cache_file.'</small>');
}

View file

@ -937,9 +937,9 @@ class ExternalModules
$labelStatus = [];
$labelStatusShort = [];
$labelStatus[0] = $langs->transnoentitiesnoconv("offline");
$labelStatus[0] = $langs->transnoentitiesnoconv("NotConnected");
$labelStatus[1] = $langs->transnoentitiesnoconv("online");
$labelStatusShort[0] = $langs->transnoentitiesnoconv("offline");
$labelStatusShort[0] = $langs->transnoentitiesnoconv("NotConnected");
$labelStatusShort[1] = $langs->transnoentitiesnoconv("online");
return dolGetStatus($labelStatus[$status], $labelStatusShort[$status], '', $statusType, $mode, '', array('badgeParams' => array('attr' => array('class' => 'classfortooltip', 'title' => $labelStatusShort[$status].$moretext))));