2
0
forked from Wavyzz/dolibarr

Qual: Mutualisation fonction img_tick.

This commit is contained in:
Laurent Destailleur
2005-03-06 15:39:32 +00:00
parent a5ac8053a0
commit 699a68ec7b
13 changed files with 373 additions and 251 deletions

View File

@@ -519,6 +519,17 @@ function img_up($alt = "default")
return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/1uparrow.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
}
/**
\brief Affiche logo tick
*/
function img_tick($alt = "default")
{
global $conf,$langs;
if ($alt=="default") $alt=$langs->trans("Active");
return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tick.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
}
/**
\brief fonction de login
\remarks il faut changer le code html dans la fonction pour changer le design