Better explanation
This commit is contained in:
parent
cc33eac316
commit
ccec9286e2
2 changed files with 8 additions and 4 deletions
|
|
@ -134,9 +134,11 @@ $documentation->showSidebar(); ?>
|
|||
</div><!-- /.info-box-content -->
|
||||
</div>';
|
||||
} else {
|
||||
$tooltip = $iconName.'<br>img_picto(\''.$labelAlt.'\', \''.$iconName.'\')';
|
||||
$iconCode = img_picto($tooltip, $iconName, '', 0, 0, 0, '', 'classfortooltip');
|
||||
print '<span class="doc-icon-list-item">'.$iconCode.'<span class="doc-icon-hidden-name-for-search">'.$iconName.'</span></span>';
|
||||
$tooltip = '<u>'.$langs->trans("DocCodeForMenuOrModuleBuilder").':</u><br>'.$iconName;
|
||||
$tooltip .= '<br><u>'.$langs->trans("DocExampleForPHPCode").':</u><br>img_picto(\''.$labelAlt.'\', \''.$iconName.'\')';
|
||||
$iconCode = img_picto($tooltip, $iconName, '', 0, 0, 0, '', 'classfortooltip');
|
||||
print '<span class="doc-icon-list-item">'.$iconCode;
|
||||
print '<span class="doc-icon-hidden-name-for-search">'.$iconName.'</span></span>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
@ -220,7 +222,7 @@ $documentation->showSidebar(); ?>
|
|||
</div><!-- /.info-box-content -->
|
||||
</div>';
|
||||
} else {
|
||||
$tooltip = $class;
|
||||
$tooltip = '<u>'.$langs->trans("DocCodeForMenuOrModuleBuilder").':</u><br>'.$class;
|
||||
print '<span class="doc-icon-list-item classfortooltip" title="'.dol_escape_htmltag($tooltip).'">'.$iconCode.'<span class="doc-icon-hidden-name-for-search">'.$class.'</span></span>';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ DocHowContribute=How to contribute ?
|
|||
DocHowContributeDescription=This documentation is currently being written. Learn how to contribute and enrich this documentation
|
||||
DocListLinks=List of links - %s
|
||||
DocGroupIndexDescription= This page brings together all the links from the "%s" section.
|
||||
DocCodeForMenuOrModuleBuilder=Image code to use for menu setup or fields in modulebuilder
|
||||
DocExampleForPHPCode=Example of code to use in PHP
|
||||
|
||||
# Components
|
||||
DocComponentsTitle=Components
|
||||
|
|
|
|||
Loading…
Reference in a new issue