2
0
forked from Wavyzz/dolibarr

Ajout menu telephonie

This commit is contained in:
Rodolphe Quiedeville
2005-08-10 08:43:34 +00:00
parent a7b73e7d36
commit ccb44e30c0

View File

@@ -204,6 +204,27 @@ class MenuTop {
print '<a '.$class.' href="'.DOL_URL_ROOT.'/fourn/index.php?mainmenu=suppliers"'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Suppliers").'</a>';
}
// Entr<74>e telephonie
if ($conf->telephonie->enabled)
{
$class="";
if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "suppliers")
{
$class='class="tmenu" id="sel"';
}
elseif (ereg("^".DOL_URL_ROOT."\/telephonie\/",$_SERVER["PHP_SELF"]))
{
$class='class="tmenu" id="sel"';
}
else
{
$class = 'class="tmenu"';
}
print '<a '.$class.' href="'.DOL_URL_ROOT.'/telephonie/"'.($this->atarget?" target=$this->atarget":"").'>Telephonie</a>';
}
// Entr<74>e webcal
if ($conf->webcal->enabled)