2
0
forked from Wavyzz/dolibarr

Modif pour mieux grer l'activation ou dsactivation de code javascript.

This commit is contained in:
Laurent Destailleur
2005-12-03 20:43:33 +00:00
parent c1bef265d6
commit 6f4dd8bf60
5 changed files with 180 additions and 44 deletions

View File

@@ -696,6 +696,16 @@ function img_disable($alt = "default")
}
/**
\brief Affiche logo help avec curseur "?"
\return string Retourne tag img
*/
function img_help()
{
global $conf,$langs;
return '<img style="cursor: help;" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/help.png" border="0" alt="" title="">';
}
/**
\brief Affiche logo info
\param alt Texte sur le alt de l'image
@@ -705,7 +715,7 @@ function img_info($alt = "default")
{
global $conf,$langs;
if ($alt=="default") $alt=$langs->trans("Informations");
return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/info.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
return '<img style="cursor: help;" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/info.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
}
/**