diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php index c2e3c956e7e..1766f3e0ce4 100644 --- a/htdocs/categories/categorie.php +++ b/htdocs/categories/categorie.php @@ -24,7 +24,7 @@ * \file htdocs/categories/categorie.php * \ingroup category * \brief Page to show category tab - * \version $Id: categorie.php,v 1.68 2011/08/24 12:20:06 eldy Exp $ + * \version $Id: categorie.php,v 1.69 2011/08/24 12:31:12 eldy Exp $ */ require("../main.inc.php"); @@ -190,24 +190,19 @@ if ($socid) $langs->load("companies"); if ($conf->notification->enabled) $langs->load("mails"); - /* - * Creation de l'objet client/fournisseur correspondant au socid - */ $soc = new Societe($db); $result = $soc->fetch($socid); + llxHeader("","",$langs->trans("Category")); - - /* - * Affichage onglets - */ + // Show tabs $head = societe_prepare_head($soc); dol_fiche_head($head, 'category', $langs->trans("ThirdParty"),0,'company'); print '
| '.$langs->trans("Name").' | '; + print ' | ||
| '.$langs->trans("ThirdPartyName").' | '; print $html->showrefnav($soc,'socid','',($user->societe_id?0:1),'rowid','nom'); print ' | ||