forked from Wavyzz/dolibarr
Complete tooltip of modules
This commit is contained in:
@@ -366,10 +366,16 @@ if ($mode == 'desc') {
|
|||||||
$textexternal .= ($objMod->editor_name != 'dolibarr' ? ' - ' : '').img_picto('', 'globe').' <a href="'.$editor_url.'" target="_blank" rel="noopener noreferrer external">'.$objMod->editor_url.'</a>';
|
$textexternal .= ($objMod->editor_name != 'dolibarr' ? ' - ' : '').img_picto('', 'globe').' <a href="'.$editor_url.'" target="_blank" rel="noopener noreferrer external">'.$objMod->editor_url.'</a>';
|
||||||
}
|
}
|
||||||
$text .= $textexternal;
|
$text .= $textexternal;
|
||||||
$text .= '<br>';
|
|
||||||
} else {
|
} else {
|
||||||
$text .= '<br><span class="opacitymedium">'.$langs->trans("Origin").':</span> '.$langs->trans("Core").'<br>';
|
$text .= '<br><span class="opacitymedium">'.$langs->trans("Origin").':</span> '.$langs->trans("Core");
|
||||||
|
if (empty($objMod->numero)) {
|
||||||
|
$text .= ' <span class="italic opacitymedium">('.$langs->trans("AlwaysEnabled").')</span>';
|
||||||
|
} elseif (!empty($objMod->enabled_bydefault)) {
|
||||||
|
$text .= ' <span class="italic opacitymedium">('.$langs->trans("EnabledByDefaultAtInstall").')</span>';
|
||||||
|
}
|
||||||
|
$text .= '<br>';
|
||||||
}
|
}
|
||||||
|
$text .= '<br>';
|
||||||
|
|
||||||
$moduledesclong = $objMod->getDescLong();
|
$moduledesclong = $objMod->getDescLong();
|
||||||
if ($moduledesclong) {
|
if ($moduledesclong) {
|
||||||
|
|||||||
@@ -2486,3 +2486,4 @@ TestWebhookTarget=Test triggerable event
|
|||||||
DataToSendTrigger=Data sent to Url
|
DataToSendTrigger=Data sent to Url
|
||||||
SendToUrl=Send to Url
|
SendToUrl=Send to Url
|
||||||
WebsiteTemplateWasCopied=The website template(s) "%s" provided by this module has been saved into the directory of website templates (/doctemplates/websites) and is ready to be imported as a new web site.
|
WebsiteTemplateWasCopied=The website template(s) "%s" provided by this module has been saved into the directory of website templates (/doctemplates/websites) and is ready to be imported as a new web site.
|
||||||
|
EnabledByDefaultAtInstall=Enabled by default at install
|
||||||
|
|||||||
Reference in New Issue
Block a user