Nettoyage
This commit is contained in:
parent
87ac9fc15d
commit
ce407aa620
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -45,8 +45,6 @@ function llxHeader($head = "", $title = "", $addons='')
|
|||||||
|
|
||||||
if (is_array($addons))
|
if (is_array($addons))
|
||||||
{
|
{
|
||||||
//$menu->add($url, $libelle);
|
|
||||||
|
|
||||||
$menu->add($addons[0][0], $addons[0][1]);
|
$menu->add($addons[0][0], $addons[0][1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,8 +103,6 @@ function llxHeader($head = "", $title = "", $addons='')
|
|||||||
|
|
||||||
if (is_array($addons))
|
if (is_array($addons))
|
||||||
{
|
{
|
||||||
//$menu->add($url, $libelle);
|
|
||||||
|
|
||||||
$menu->add($addons[0][0], $addons[0][1]);
|
$menu->add($addons[0][0], $addons[0][1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,9 +147,9 @@ function llxHeader($head = "", $title = "", $addons='')
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$langs->load("orders");
|
|
||||||
if ($user->rights->fournisseur->commande->lire)
|
if ($user->rights->fournisseur->commande->lire)
|
||||||
{
|
{
|
||||||
|
$langs->load("orders");
|
||||||
$menu->add(DOL_URL_ROOT."/fourn/commande/",$langs->trans("Orders"));
|
$menu->add(DOL_URL_ROOT."/fourn/commande/",$langs->trans("Orders"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -164,8 +160,5 @@ function llxHeader($head = "", $title = "", $addons='')
|
|||||||
}
|
}
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user