Fix link in some tooltips
This commit is contained in:
parent
1fec53e7f2
commit
20d0b0c564
@ -2218,7 +2218,8 @@ if ($module == 'initmodule') {
|
|||||||
|
|
||||||
if ($action != 'editfile' || empty($file)) {
|
if ($action != 'editfile' || empty($file)) {
|
||||||
print '<span class="opacitymedium">';
|
print '<span class="opacitymedium">';
|
||||||
$htmlhelp = $langs->trans("DictionariesDefDescTooltip", '<a href="'.DOL_URL_ROOT.'/admin/dict.php">'.$langs->trans('Setup').' - '.$langs->trans('Dictionaries').'</a>');
|
$htmlhelp = $langs->trans("DictionariesDefDescTooltip", '{s1}');
|
||||||
|
$htmlhelp = str_replace('{s1}', '<a target="adminbis" class="nofocusvisible" href="'.DOL_URL_ROOT.'/admin/dict.php">'.$langs->trans('Setup').' - '.$langs->trans('Dictionaries').'</a>', $htmlhelp);
|
||||||
print $form->textwithpicto($langs->trans("DictionariesDefDesc"), $htmlhelp, 1, 'help', '', 0, 2, 'helpondesc').'<br>';
|
print $form->textwithpicto($langs->trans("DictionariesDefDesc"), $htmlhelp, 1, 'help', '', 0, 2, 'helpondesc').'<br>';
|
||||||
print '</span>';
|
print '</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
@ -3002,7 +3003,8 @@ if ($module == 'initmodule') {
|
|||||||
|
|
||||||
if ($action != 'editfile' || empty($file)) {
|
if ($action != 'editfile' || empty($file)) {
|
||||||
print '<span class="opacitymedium">';
|
print '<span class="opacitymedium">';
|
||||||
$htmlhelp = $langs->trans("MenusDefDescTooltip", '<a href="'.DOL_URL_ROOT.'/admin/menus/index.php">'.$langs->trans('Setup').' - '.$langs->trans('Menus').'</a>');
|
$htmlhelp = $langs->trans("MenusDefDescTooltip", '{s1}');
|
||||||
|
$htmlhelp = str_replace('{s1}', '<a target="adminbis" class="nofocusvisible" href="'.DOL_URL_ROOT.'/admin/menus/index.php">'.$langs->trans('Setup').' - '.$langs->trans('Menus').'</a>', $htmlhelp);
|
||||||
print $form->textwithpicto($langs->trans("MenusDefDesc"), $htmlhelp, 1, 'help', '', 0, 2, 'helpondesc').'<br>';
|
print $form->textwithpicto($langs->trans("MenusDefDesc"), $htmlhelp, 1, 'help', '', 0, 2, 'helpondesc').'<br>';
|
||||||
print '</span>';
|
print '</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
@ -3134,7 +3136,8 @@ if ($module == 'initmodule') {
|
|||||||
|
|
||||||
if ($action != 'editfile' || empty($file)) {
|
if ($action != 'editfile' || empty($file)) {
|
||||||
print '<span class="opacitymedium">';
|
print '<span class="opacitymedium">';
|
||||||
$htmlhelp = $langs->trans("PermissionsDefDescTooltip", '<a href="'.DOL_URL_ROOT.'/admin/perms.php">'.$langs->trans('DefaultPermissions').'</a>');
|
$htmlhelp = $langs->trans("PermissionsDefDescTooltip", '{s1}');
|
||||||
|
$htmlhelp = str_replace('{s1}', '<a target="adminbis" class="nofocusvisible" href="'.DOL_URL_ROOT.'/admin/perms.php">'.$langs->trans('DefaultRights').'</a>', $htmlhelp);
|
||||||
print $form->textwithpicto($langs->trans("PermissionsDefDesc"), $htmlhelp, 1, 'help', '', 0, 2, 'helpondesc').'<br>';
|
print $form->textwithpicto($langs->trans("PermissionsDefDesc"), $htmlhelp, 1, 'help', '', 0, 2, 'helpondesc').'<br>';
|
||||||
print '</span>';
|
print '</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
@ -3601,7 +3604,7 @@ if ($module == 'initmodule') {
|
|||||||
$cronjobs = $moduleobj->cronjobs;
|
$cronjobs = $moduleobj->cronjobs;
|
||||||
|
|
||||||
if ($action != 'editfile' || empty($file)) {
|
if ($action != 'editfile' || empty($file)) {
|
||||||
print '<span class="opacitymedium">'.str_replace('{s1}', '<a href="'.DOL_URL_ROOT.'/cron/list.php">'.$langs->transnoentities('CronList').'</a>', $langs->trans("CronJobDefDesc", '{s1}')).'</span><br>';
|
print '<span class="opacitymedium">'.str_replace('{s1}', '<a target="adminbis" class="nofocusvisible" href="'.DOL_URL_ROOT.'/cron/list.php">'.$langs->transnoentities('CronList').'</a>', $langs->trans("CronJobDefDesc", '{s1}')).'</span><br>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
print '<span class="fa fa-file-o"></span> '.$langs->trans("DescriptorFile").' : <strong>'.$pathtofile.'</strong>';
|
print '<span class="fa fa-file-o"></span> '.$langs->trans("DescriptorFile").' : <strong>'.$pathtofile.'</strong>';
|
||||||
|
|||||||
@ -295,6 +295,10 @@ input.buttonpayment, button.buttonpayment, div.buttonpayment {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
}
|
}
|
||||||
|
.nofocusvisible:focus-visible {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
div.buttonpayment input:focus {
|
div.buttonpayment input:focus {
|
||||||
color: #008;
|
color: #008;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -473,6 +473,10 @@ input.buttonpayment, button.buttonpayment, div.buttonpayment {
|
|||||||
white-space: normal;
|
white-space: normal;
|
||||||
color: #888 !important;
|
color: #888 !important;
|
||||||
}
|
}
|
||||||
|
.nofocusvisible:focus-visible {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
div.buttonpayment input {
|
div.buttonpayment input {
|
||||||
background-color: unset;
|
background-color: unset;
|
||||||
border-bottom: unset;
|
border-bottom: unset;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user