Doc: Doxygen
This commit is contained in:
parent
dc9f61f7eb
commit
dddb06f1ab
@ -1127,7 +1127,7 @@ function dol_trunc($string,$size=40,$trunc='right',$stringencoding='UTF-8')
|
||||
* @param object Objet pour lequel il faut afficher le logo (example: user, group, action, bill, contract, propal, product, ...)
|
||||
* Pour les modules externe utiliser nomimage@mymodule pour rechercher dans le repertoire "img" du module
|
||||
* @param cssclass Define a specific css class
|
||||
* \return string Retourne tag img
|
||||
* @return string Return img tag
|
||||
*/
|
||||
function img_object($alt, $object, $cssclass='')
|
||||
{
|
||||
@ -1141,6 +1141,7 @@ function img_object($alt, $object, $cssclass='')
|
||||
{
|
||||
$object = $regs[1];
|
||||
$path = $regs[2];
|
||||
// If img file not into standard path, we use alternate path
|
||||
if (! file_exists(DOL_DOCUMENT_ROOT.'/'.$path.'/img/object_'.$object.'.png')) $url = DOL_URL_EXTMODULE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user