mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Add tooltip help in CSS edition
This commit is contained in:
parent
f753799810
commit
2b805cc63d
|
|
@ -106,4 +106,5 @@ DeleteAlsoJs=Delete also all javascript files specific to this website?
|
|||
DeleteAlsoMedias=Delete also all medias files specific to this website?
|
||||
MyWebsitePages=My website pages
|
||||
SearchReplaceInto=Search | Replace into
|
||||
ReplaceString=New string
|
||||
ReplaceString=New string
|
||||
CSSContentTooltipHelp=Enter here CSS content. To avoid any conflict with the CSS of the application, be sure to prepend all declaration with the .bodywebsite class. For example:<br><br>#mycssselector, input.myclass:hover { ... }<br>must be<br>.bodywebsite #mycssselector, .bodywebsite input.myclass:hover { ... }<br><br>Note: If you have a large file without this prefix, you can use 'lessc' to convert it to append the .bodywebsite prefix everywhere.
|
||||
|
|
@ -2557,7 +2557,8 @@ if ($action == 'editcss')
|
|||
|
||||
// CSS file
|
||||
print '<tr><td class="tdtop">';
|
||||
print $langs->trans('WEBSITE_CSS_INLINE');
|
||||
$htmlhelp=$langs->trans("CSSContentTooltipHelp");
|
||||
print $form->textwithpicto($langs->trans('WEBSITE_CSS_INLINE'), $htmlhelp, 1, 'help', '', 0, 2, 'csstooltip');
|
||||
print '</td><td>';
|
||||
|
||||
$doleditor=new DolEditor('WEBSITE_CSS_INLINE', $csscontent, '', '220', 'ace', 'In', true, false, 'ace', 0, '100%', '');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user