mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Ajout menu telephonie
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user