Add: logo VCard

Add: ajout lien vcard sur la liste des contacts
This commit is contained in:
Regis Houssin
2007-07-14 14:38:23 +00:00
parent 453e72f76a
commit ea692062f0
9 changed files with 26 additions and 3 deletions

View File

@@ -797,6 +797,18 @@ function img_pdf($alt = "default",$size=3)
return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/pdf'.$size.'.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
}
/**
\brief Affiche logo vcard
\param alt Texte sur le alt de l'image
\return string Retourne tag img
*/
function img_vcard($alt = "default")
{
global $conf,$langs;
if ($alt=="default") $alt=$langs->trans("VCard");
return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/vcard.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
}
/**
\brief Affiche logo +
\param alt Texte sur le alt de l'image