Better link for syntax help
This commit is contained in:
parent
a346b052e7
commit
ffece8dd34
@ -523,7 +523,7 @@ class Form
|
|||||||
* @param string $extracss Add a CSS style to td, div or span tag
|
* @param string $extracss Add a CSS style to td, div or span tag
|
||||||
* @param int $noencodehtmltext Do not encode into html entity the htmltext
|
* @param int $noencodehtmltext Do not encode into html entity the htmltext
|
||||||
* @param int $notabs 0=Include table and tr tags, 1=Do not include table and tr tags, 2=use div, 3=use span
|
* @param int $notabs 0=Include table and tr tags, 1=Do not include table and tr tags, 2=use div, 3=use span
|
||||||
* @param string $tooltiptrigger ''=Tooltip on hover, 'abc'=Tooltip on click (abc is a unique key)
|
* @param string $tooltiptrigger ''=Tooltip on hover, 'abc'=Tooltip on click (abc is a unique key, clickable link is on image or on link if param $type='none')
|
||||||
* @param int $forcenowrap Force no wrap between text and picto (works with notabs=2 only)
|
* @param int $forcenowrap Force no wrap between text and picto (works with notabs=2 only)
|
||||||
* @return string HTML code of text, picto, tooltip
|
* @return string HTML code of text, picto, tooltip
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -2393,7 +2393,8 @@ if (! GETPOST('hide_websitemenu'))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $form->textwithpicto($langs->trans("SyntaxHelp"), $htmltext, 1, 'help', 'inline-block', 1, 2, 'tooltipsubstitution');
|
//img_help(($tooltiptrigger != '' ? 2 : 1), $alt)
|
||||||
|
print $form->textwithpicto($langs->trans("SyntaxHelp").' '.img_help(2, $langs->trans("SyntaxHelp")), $htmltext, 1, 'none', 'inline-block', 1, 2, 'tooltipsubstitution');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '</div>'; // end websitehelp
|
print '</div>'; // end websitehelp
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user